Version: 1.9.1 (using KDE 3.5.2, compiled sources) Compiler: gcc version 3.4.4 [FreeBSD] 20050518 OS: FreeBSD (i386) release 6.1-STABLE I have discovered what I believe is a bug, or at the very least, a problem in KMail. When trying to create a new message filter, it is not possible to create a new folder under the "Local Folders" heading. Navigate to: <Filter Rules> <Filter Action> Select: Move to Folder and then click the icon to browse for a folder to use. It is possible to create a new folder under any of the existing folders, but not a new folder under 'Local Folders".
Confirmed (r548000). Probably the result of not being allowed to select Local Folders at all.
*** Bug 141391 has been marked as a duplicate of this bug. ***
*** Bug 153696 has been marked as a duplicate of this bug. ***
Copied from 158482: Confirmed in KMail 1.9.9 (KDE 3.5.9) and trunk. The problem is that the "New Subfolder" button is disabled in KMFolderSelDlg::slotUpdateBtnStatus() by: enableButton( User1, folder() && ( !folder()->noContent() && !folder()->noChildren() ) ); For the root of the folder tree, folder() is NULL and so the button is disabled. There isn't a simple fix of just enabling the button and accepting NULL as meaning "root", because the required parent folder is passed down to KMFolderTree::addChildFolder(). There, a folder of NULL means "current selected item", which would create the new folder under the selected folder in the *main folder tree* (not the tree displayed in the dialogue). May need to add an additional parameter to addChildFolder() to specify "ignore what is selected in the GUI".
*** Bug 158482 has been marked as a duplicate of this bug. ***
The same problem found in KDE 4.2, KMail version 1.11.0. It's quite annoying. Bug is 2.5 years old already.
Patch to fix submitted for review. See http://reviewboard.kde.org/r/105
SVN commit 927934 by marten: Allow a new top-level local folder to be created in the folder selection dialogue (used, e.g, when configuring a filter rule with the "Move into Folder" action). Also make it obvious where the selected folder is not valid, by disabling the "OK" button. BUG:128796 M +5 -5 folderselectiondialog.cpp M +1 -1 folderselectiondialog.h M +45 -22 folderselectiontreewidget.cpp M +27 -8 folderselectiontreewidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=927934
SVN commit 928215 by tmcguire: Backport r927934 by marten from trunk to the 4.2 branch: Allow a new top-level local folder to be created in the folder selection dialogue (used, e.g, when configuring a filter rule with the "Move into Folder" action). Also make it obvious where the selected folder is not valid, by disabling the "OK" button. CCBUG:128796 M +5 -5 folderselectiondialog.cpp M +1 -1 folderselectiondialog.h M +45 -22 folderselectiontreewidget.cpp M +27 -8 folderselectiontreewidget.h WebSVN link: http://websvn.kde.org/?view=rev&revision=928215