Summary: | Search does not work, neither do search folders | ||
---|---|---|---|
Product: | [Applications] kmail2 | Reporter: | piedro <piedro.kulman> |
Component: | search | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | major | CC: | frank-fischer, kdenis, mathieu, piedro.kulman, tom |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
piedro
2015-10-08 06:34:38 UTC
Is this still an issue in KMail 5.1.1? I had a similar problem, but it seems to be fixed now. Also, possible duplicate of https://bugs.kde.org/show_bug.cgi?id=352472. On the latest KDE 16.08 on Arch search still cannot be refined after creating a search folder. The virtual folders' context menu shows the entry "edit search" but this does not seem to work. If I add additional search criteria or remove some (which doesn't work at first because the "remove" buttons are greyed out - you have to add one criteria first then it's possible to delete...) - the results do not change at all. this doesn't work since kmail2 has been published - please remove the option from the context menu if it will not be fixed. Otherwise it just leads to a frustrating user experience. thx for reading, p. Git commit d54d1f241f1a421330efbf2f71efe4d1acd18f04 by Daniel Vrátil. Committed on 08/01/2017 at 15:41. Pushed by dvratil into branch 'Applications/16.12'. Search: match all results against DB first to exclude invalid results In some cases the search backend can return results that actually no longer exist in Akonadi DB (for example because the indexer is busy indexing something else while an Item was removed, which triggered search update), or because it went out-of-sync with the DB due to a bug or manual cleanup. This lead to a lots of (albeit harmless) foreign key constraint errors as we tried to insert items into CollectionPimItemRelation table which did not exist in PimItemTable. To prevent this we first match the results against PimItemTable to get only the existing Items (we need them anyway for change ntf) and then insert only those into the CollectionPimItemRelation table. This does not fix problems with search updates unfortunately. M +32 -13 src/server/search/searchmanager.cpp https://commits.kde.org/akonadi/d54d1f241f1a421330efbf2f71efe4d1acd18f04 *** This bug has been confirmed by popular vote. *** Sorry for being late. Ideally, a bug should of course be marked as duplicate before it is confirmed by popular vote. *** This bug has been marked as a duplicate of bug 277007 *** |