Bug 324838

Summary: Search messages in 2 or more folders
Product: [Applications] kmail2 Reporter: Ferry <ferry.toth>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Severity: wishlist CC: montel, null
Priority: NOR    
Version: 4.11.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In: 4.12

Description Ferry 2013-09-12 14:36:06 UTC
The search folder dialog allows only 1 folder or all folders to be seached.

I request to be able to have 2 or more folder to be searched.

The usecase is: with multiple inboxes or an additional archive box the search result or virtual folder would show a merged list of e-mails. Then a second search could be performed on the merged list as normal, f.i. to show all corresponance from a single contact.

BTW this is one of the features in Evolution that works well and which I miss since moving to Kontact

Reproducible: Always
Comment 1 Laurent Montel 2013-09-13 08:04:25 UTC
I confirm.
I started to investigate it this morning.
Comment 2 Laurent Montel 2013-09-19 06:22:26 UTC
*** Bug 5694 has been marked as a duplicate of this bug. ***
Comment 3 Laurent Montel 2013-09-26 06:28:25 UTC
Git commit 9af5faa0792d0a55aa2c93df52160ebaea084aa5 by Montel Laurent.
Committed on 26/09/2013 at 06:27.
Pushed by mlaurent into branch 'master'.

Implement widget to select several collection

M  +1    -0    kmail/CMakeLists.txt
A  +105  -0    kmail/searchdialog/selectmulticollectionwidget.cpp     [License: GPL (v2)]
A  +51   -0    kmail/searchdialog/selectmulticollectionwidget.h     [License: GPL (v2)]

Comment 4 Laurent Montel 2013-09-26 11:08:01 UTC
Git commit 1d661da745d563fd07d6c5422ee040c62972db4a by Montel Laurent.
Committed on 26/09/2013 at 11:07.
Pushed by mlaurent into branch 'master'.

Fix Bug 324838 - Search messages in 2 or more folders

FIXED-IN: 4.12

M  +12   -0    kmail/searchdialog/searchdescriptionattribute.cpp
M  +4    -0    kmail/searchdialog/searchdescriptionattribute.h
M  +41   -11   kmail/searchdialog/searchwindow.cpp
M  +1    -0    kmail/searchdialog/searchwindow.h
M  +1    -1    kmail/searchdialog/selectmulticollectiondialog.cpp
M  +2    -2    kmail/searchdialog/selectmulticollectiondialog.h
M  +6    -6    kmail/searchdialog/selectmulticollectionwidget.cpp
M  +2    -2    kmail/searchdialog/selectmulticollectionwidget.h
M  +13   -0    kmail/ui/searchwindow.ui