Version: Git (master) (using KDE 4.7.3)
The title says it all. If you use the filter box above the folder list the message list will only reflect the contents of the last selected folder. This can cause data loss if acting on emails after this bug was triggered.
Steps to Reproduce:
1. Select any folder in the folder list.
2. Use the filter box to search for a different folder.
3. Click on the folder you were searching for.
The message list will show only the messages from the folder selected in 1. and not the messages in the active folder.
Whe an folder is selected, the message list should reflect the content of that folder.
OS: Linux (i686) release 3.0.0-14-generic
Bug still present in master.
This bug is still present in KDE 4.9.
? I don't understand
you click on specific folder and it's updated no ?
Ah it doesn't clean selection.
I'm a bit confused by the original bug report. Here is what happens on my system:
If I enter something in the *folder* filter (the one that is by default not turned out, but you can turn it on in the preferences), the *message* list gets "corrupted". I.e., after selecting a new folder from the ones that are still visible when the filter is on, the messages that are shown in the message list do not correspond to the selected folder. Sometimes, the message list seems to show a mix of messages from the selected folder and some other folder (the one that was active before I entered something in the filter field). This behavior does not change even once I clear the filter. The only way to get back to a normal behavior is by restarting kmail2.
*** Bug 297136 has been marked as a duplicate of this bug. ***
I can confirm the behavior exactly as Philipp describes it in #5 on Kubuntu 12.04 with original kde sc and also still same behavior with the kde sc 4.9 backports
I can reproduce this bug and already investigate it.
it's on my todo list.
Not success yet to fix it
Confirmed as per Comment #8
*** Bug 313369 has been marked as a duplicate of this bug. ***
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 314457
M +0 -6 mailcommon/foldertreewidgetproxymodel.cpp
Nice ! This was a very annoying bug, I'm eager to try the next Kmail version.
Thank you again :)