Bug 278964

Summary: [regression] folder quick filter empties current folder
Product: [Applications] kmail2 Reporter: Philipp Woelfel <philipp.woelfel>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: finex, kde, montel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.9

Description Philipp Woelfel 2011-07-31 19:49:48 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

When entering something into the (folder) quick filter field, the currently selected folder switches to "empty", even before a new folder is selected. Thus, the message list is cleared. In kmail 1, the currently selected folder remained the same. 

This regression makes the quick filter ineffective for sorting e-mails into folders: In kmail1 you could select a message that you wanted to move into a folder, find the folder using the quick filter field, and then immediately move the message to the target folder. This is not possible anymore.

Reproducible: Always

Steps to Reproduce:
Select an arbitrary folder. Enter an arbitrary string in the (folder) quick filter field.

Actual Results:  
The currently selected folder changed to "empty"

Expected Results:  
The currently selected folder is not changed
Comment 1 Laurent Montel 2011-08-26 12:02:22 UTC
I can confirm it.
Not good it's right
Will try to fix it
Comment 2 FiNeX 2011-09-08 08:35:37 UTC
I also confirm this bug on KDE 4.7.1 :-(
Comment 3 Laurent Montel 2011-09-08 09:48:23 UTC
it's right still valid in 4.7.1 and 4.8
Comment 4 Ronny Multrus 2011-10-10 08:01:44 UTC
Still exists in 4.7.2. Please fix this as this is a major step back to the times when there was no folder quick filter...
Comment 5 Ronny Multrus 2012-03-12 20:50:55 UTC
Seeing this bug still being open makes me think that nobody ever uses this quick filter/search to sort mails. But infact there is no easy way now to sort mails from a folder with hundreds of mails into one of dozens of other folders...

As opposed to what the original author wrote, entering something into the folder filter box correctly filters folders, but clears any mail search now for me. Normally I filter mails by subject, sender or something and then decide where to put it. Now I have to do it the other way round (filter folders, then filter mails).

And there's another bug in the folder filter: Clicking one of the filtered folders displays the mails of that folder and those of the previously selected one.
Comment 6 Laurent Montel 2012-08-22 08:01:04 UTC
Works fine in 4.9.x