Summary: | Creating Folders in 'Message Filters" not possible under "Local Folders" | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | Gerard Seibert <gerard.seibert> |
Component: | filtering | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jjm, mstu, nebzero, nicolas.ternisien, seajey.serg |
Priority: | NOR | ||
Version: | 1.9.1 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | FreeBSD | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Gerard Seibert
2006-06-07 23:03:35 UTC
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 |