SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. try to search for messages containing "regards" 2. search or open search folder 3. restart kmail OBSERVED RESULT No matter what I do - I cannot search in kmail anymore! EXPECTED RESULT Mails showing up in a search fitting certain criteria SOFTWARE/OS VERSIONS Linux/KDE Plasma: Arch fully updated (5.19.3) (available in About System) KDE Plasma Version: 5.25.4-1 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.5 Kmail: 5.21.0 (22.08.0) ADDITIONAL INFORMATION This really has to work - otherwise the whole setup for an email client for multiple mail accounts, filters and so forth is utterly useless if there's no search function to find stuff... seems to be a regression because it kind of worked before. Though also every time I open any search effort there is the complaint that folders have to be reindexed... even if I reindexed two seconds ago...
I can confirm the issue here. This is a recent regression. It worked in 5.20.3/20.04.3.
To clarify things, the quick filter on top of the message list (Alt+Q) works, but the search dialog (Tools -> Find Messages...) does not. Operating System: Gentoo Linux 2.8 KDE Plasma Version: 5.25.4 KDE Frameworks Version: 5.97.0 Qt Version: 5.15.5 Kernel Version: 5.15.59-gentoo (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz Memory: 23.4 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 970/PCIe/SSE2 Manufacturer: Gigabyte Technology Co., Ltd. Product Name: Z97X-UD5H
Also for clarification: Checking with Akonadi Console there was no "Akondi indexing agent" activated - I am not sure it is needed but I added it now. Sadly this had no effect - still can't search in kmail - filtering works but doesn't help for any searches spanning more than one folder obviously. Please can someone look into this? thx a lot, p.
Git commit 2acf92c81c4317950760e22c4fc1c5e216de6012 by Laurent Montel. Committed on 31/08/2022 at 11:38. Pushed by mlaurent into branch 'release/22.08'. Fix Bug 458202: Search for messages in kmail does not work anymore... no results at all FIXED-IN: 5.21.1 Related: bug 458245 M +4 -3 src/server/search/searchmanager.cpp https://invent.kde.org/pim/akonadi/commit/2acf92c81c4317950760e22c4fc1c5e216de6012
I can confirm the patch is fixing the problem. Thx for the fast help.