Bug 299937 - Deleting saved search folder breaks searching
Summary: Deleting saved search folder breaks searching
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.2
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-13 13:30 UTC by Graeme Hewson
Modified: 2013-10-20 08:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graeme Hewson 2012-05-13 13:30:30 UTC
I delete a virtual folder (saved search) within the Search folder. (I want to do this mainly to clear the unread count, also the subject of bugs 295971 and 274936.) I do this by secondary-clicking in the virtual folder and clicking on "Delete Folder" (though sometimes the entry is labelled "Delete Search", which is clearly what's intended to appear always). A popup message says "Are you sure you want to delete the search Last Search? Any messages it shows will still be available in their original folder." I might have named the search something other than the default "Last Search", but the result is the same.

When I delete the virtual folder, the enclosing folder called Search (with the binoculars icon) is also deleted. I've only repeated this with a single folder within Search; maybe it's different if there are multiple saved searched.

After this has happened, if I do another search with "Body of Message contains" I get a popup message saying "Cannot get search result. Unknown error. (Unable to create persistent search)". Searching with "Subject contains" doesn't give the error.

If I stop and start Kontact again, the Search folder is recreated, and search generally works again.
Comment 1 Graeme Hewson 2013-10-20 08:37:06 UTC
Problem doesn't occur in 4.11.2; closing bug.