Bug 314457 - folder filter shall not disable other folders
Summary: folder filter shall not disable other folders
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: UI (show other bugs)
Version: 4.9.98 RC3
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-05 13:52 UTC by Martin Koller
Modified: 2013-03-06 20:57 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 4.10.1


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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