Bug 314457

Summary: folder filter shall not disable other folders
Product: [Applications] kmail2 Reporter: Martin Koller <kollix>
Component: UIAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 4.9.98 RC3   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.10.1

Description Martin Koller 2013-02-05 13:52:15 UTC
When using the quicksearch/filter field for the folder tree currently all non-matching folders along the path to the matching folder are disabled.
This is bad (and a regression to kmail1) as one can no longer right-click a parent folder of a matching one to create a new subfolder to that.

I implemented the folder-quicksearch field in kmail1 as a quick navigation aid, and in kmail2 I'm now hindered to quickly use the shown folders when some of them are disabled.

Please bring the functionality back as in kmail1 and do not disable the folders along the path.

Reproducible: Always
Comment 1 Martin Koller 2013-02-26 11:18:44 UTC
Git commit c87b460d62dbb9c59070e63bfc05deb87a59a14f by Martin Koller.
Committed on 26/02/2013 at 12:10.
Pushed by mkoller into branch 'KDE/4.10'.

make sure the messagelist only shows selected folders

When the folder tree is filtered and the currently shown folder is
now no longer in the folder tree, the automatic deselection did not work
because the hidden folders were set to not-selectable and not-enabled,
but QItemSelection can only deselect selectable and enabled items.
This led to the problem that we saw the old selected folder and any
newly selected folder intermixed in the messagelist.
Related: bug 287685

M  +0    -6    mailcommon/foldertreewidgetproxymodel.cpp

http://commits.kde.org/kdepim/c87b460d62dbb9c59070e63bfc05deb87a59a14f