Archive for March, 2008

Akonadi meeting next weekend

Next Friday there is the start of a long weekend hacking on Akonadi. As it is the easter weekend, we can all begin a day early and stay a day longer without having to take to much days off from work.

It will be a small group of developers: Kevin Krammer, Thomas McGuire, Till Adam, Tobias Koenig, Volker Krause, Frode Doeving, Cornelius Schumacher and me. It will be the first time Frode (the co-author of Mailody) and me will meet, and I’m happy that he’s able to fly to Berlin (thanks to the KDE e.V. and his girlfriend).

The meeting is at the KDAB office in Berlin, I’m looking forward to the weekend and Berlin. I’ve been there in 2002, it was freezing, but beautiful. I hope we’ll have some time to see Berlin at least a bit.

We will focus on getting the last things done on Akonadi, so it will be mostly ready for the KDE 4.1 release. Last weeks I’ve been working hard on the IMAP resource for Akonadi and beating Mailody in shape as well. I’m pretty confident Mailody can release around the time of 4.1.0 to show the possibilities of Akonadi (so it has to be good when we release something), and have a mail client based on Qt4/KDE4 would be nice as well.

When we are there, I want to discuss things about Mailody with Frode. Also we are still trying to share as much as possible with KMail and KNode, for example a KCM for identities, composer and a shared outbox, based on Akonadi, Mailtransport and KMime. Those things need drawings on blackboards. Still something difficult to arrange on IRC.

Random week of a Mailody developer

In case you wonder what I’ve done this week, I will show you some screenshots of the progress of Mailody this week.

One important thing preventing me to switch Mailody4 was the fact that I could not use attachments yet. In KDE3 times we used KFileIconView to display the attached attachments in the composer. After a rename to K3FileIconView, in the end it needed to be removed from the KDE repository, so I had to comment out the functionality in Mailody. To refresh your mind, this is how it looked in Mailody3:

[img_assist|nid=195|title=|desc=|link=none|align=center|width=514|height=93]

I requested on IRC what I could use to let it look the same and some advised me to use a QListView with a Flow LeftToRight. I tried that, and after an evening fiddling with settings and adding the needed context menu (open / delete) and hooking it into the composer, it resulted in:

[img_assist|nid=196|title=|desc=|link=none|align=center|width=529|height=70]

It’s almost the same, so the average user will not see the difference, but still it was a couple of hours work. But as it is a proper Model/View, there is now the option to make it all different without much work in the future. I like the column based layout from the old one more then the fuzzy positioning of the new one, but for now this will do. At this stage I’m not prepared to spent hours on it, if I’m even capable of doing that ;-)

The next point was that the pulldown menu’s for the identity and mailtransport selection was taking up too much screen estate in the composer. So I made those comboboxes optional. But then you don’t have any indication about which identity is being used and you can not change it easily. And then I saw an empty StatusBar ;-). So I added it to the statusbar and made it clickable to be able to switch to another identity or mailtransport. And best of all, it’s close to the ’send’ button of the composer, so it’s natural as well. Here is how it looks:

[img_assist|nid=197|title=|desc=|link=none|align=center|width=179|height=153]

I know clicking on statusbar items is not really intuitive, but we also have it when viewing messages in the mainwindow, so Mailody users might be familiar. Also that doesn’t hide functionality, as the combo boxes are still available. I also know it does not look as slick as the usual Plasma widget, but then again I’m not born for that, so if anyone wants to pimp Mailody, I’m happy to talk to you. Final remark is that the statusbar does not look like a statusbar anymore, no line above it, slightly smaller font, etc. I’ll just blame the used style. ;-)

The last feature I implemented this week was a long standing feature request from myself and a co-worker. Simply save all incoming attachments in a certain folder. It’s a great feature (first implemented by Eudora afaik), because you don’t have to save the attachments from a mail to a certain folder when you need it, it is simply there in a folder (which you can open with your favorite shortcut). Also you might remember after a few months something about a pdf you have received a couple months back. It’s simply still there in that folder, while you might not find that e-mail back. I know that folder can grow rapidly in size, but harddisks are cheap and it is deactivated by default.

[img_assist|nid=198|desc=|link=none|align=center|width=407|height=84]

The checkbox is really a QGroupBox which is checkable. Anyhow, that was what I did this week. I’m almost ready to start Mailody4 now, it is going to be the best Mailody release ever for me.

Discussions by writing poems: the example.

When you are in an heated debate with a user or a developer, it can end badly. Sometimes you don’t get what you want from the developer, or sometimes you do not agree with the thoughts of a user or another developer.

Today we had a little discussion about the location of Akonadi and the ‘project’ surrounding it. After hours of silence, there was an…. Akonadi Poem. I think it’s a great way to have a discussion, use poems. So I want to see no more fights in blogs or bugs, only poems are allowed!

Find the Akonadi Poem here