[Kde-pim] kmail2 doesn't allow top folder creation

Antonis Tsiapaliokas kok3rs at gmail.com
Sat Jul 9 16:48:43 BST 2011


Hello

In kmail2 the bug 251704 is still valid and i think that we should fix
it as soon as possible, because in my opinion it destroys the user
experience of the kmail2. I have find out that the bug is caused by
two things:

1) kdepim-runtime/resources/imap/etrievecollectionstask.cpp:50
("root.setRights( Akonadi::Collection::ReadOnly );" )
2)kdepim/kmail/kmmainwidget.cpp:3742 ("const bool folderWithContent =
mCurrentFolder && !mCurrentFolder->isStructural();")

As regards the 1st, it is easy to be fix but the 2nd  is not. Because
the isStructural() is checking if the folder is virtual or a real one,
and since the imap folder is a virtual one, all the below actions are
set to disable. Also the whole "action system" is based on
folderWithContent and i don't know how to fix it, without breaking
everything. Can someone help me?


Regards
Antonis Tsiapaliokas
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list