Version: unspecified (using Devel) OS: Linux It is possible to delete the trash folder and other default Local Folders subfolders such as sent-mail, templates and outbox whereas this is impossible in Kmail Desktop version. Reproducible: Always Steps to Reproduce: - Launch Kmail-mobile - Click on 'Local Folders' - Click on 'trash' - Open the 'Actions' tab - Click on 'Edit' - Click on 'Delete Folder' - A pop up 'Delete folder?' dialogue appears saying: 'Do you really want to delete this folder and all its sub-folders?' Actual Results: I did not dare to click on 'Delete' because I do not know how to get the trash folder back if I delete it but it should work and delete the trash folder. This will be problematic for the user who might delete it by mistake. Expected Results: The 'Delete Folder' functionality should not be available from the 'Actions' tab for the following Local Folders subfolders: * inbox * drafts * outbox * sent-mail * templates * trash In Kmail Desktop version it is impossible to delete those subfolders and I think it should be the same in Kmail-mobile to avoid the user deleting them by mistake and loosing important stored emails (ex: templates). N900, 4:4.6~.20110106.1209.gitfde48d5-1maemo1.121147
SVN commit 1213472 by tokoe: Disable 'Delete Collections' action for system folders Do not allow to delete system folders (e.g. inbox, sent-mail, outbox) by disabling the actions. BUG: 262484 M +14 -0 standardmailactionmanager.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1213472
Hi Tobias! It is corrected now. It is now impossible to delete those folders: inbox, drafts, outbox, sent-mail, templates and trash. The 'Delete Folders' option is not available (= greyed) from the 'Actions' tab - Edit so I am closing this bug. N900, 4:4.6~.20110118.1600.git254268b-1maemo1.121498
Git commit 32a6105ed88c22c0078e94d740fc616b4a87bc76 by Tobias Koenig. Committed on 10/01/2011 at 14:43. Pushed by tokoe into branch '4.6'. Disable 'Delete Collections' action for system folders Do not allow to delete system folders (e.g. inbox, sent-mail, outbox) by disabling the actions. BUG: 262484 svn path=/trunk/KDE/kdepimlibs/; revision=1213472 (cherry picked from commit 2fbc331bd161aec9147dbd4861c72eb972ebc413) M +14 -0 akonadi/kmime/standardmailactionmanager.cpp http://commits.kde.org/kdepimlibs/32a6105ed88c22c0078e94d740fc616b4a87bc76