[Kde-pim] Investigating a bug in KMail Search

Tom Warnke tom.warnke at kolabnow.com
Mon Jan 18 08:03:14 GMT 2016


Hi all,

I've be investigating a bug in the search of KMail that has been the subject 
of the following bug reports:
https://bugs.kde.org/show_bug.cgi?id=352472
https://bugs.kde.org/show_bug.cgi?id=353671
https://bugs.kde.org/show_bug.cgi?id=353318
https://bugs.kde.org/show_bug.cgi?id=354406
https://bugs.kde.org/show_bug.cgi?id=353675

The symptoms are:
1) Sometimes, when search folders are deleted, the tree view in the left pane 
of KMail gets messed up. Empty lines, account order is wrong etc. This can be 
fixed by restarting KMail.
2) Existing search folders cannot be modified. They will always show the 
results that they showed when they were created, no matter how the query is 
changed.
3) New searches and search folders return no results most of the time. If they 
return results, they are sometimes wrong.

einar77 (don't know if he's on this list) told me on IRC that issue 1) is 
related to the Entity Tree Model that is somehow disconnected from the view in 
KMail.

To look into the issues, I cloned the source of KMail 5.1.1, set up a build 
environment and stepped through searchwindow.cpp with QT Creator. However, I 
could not find something wrong. I would like to continue looking in Akonadi. My 
question is: What is the best way to debug Akonadi with all its subprojects 
and processes?

Sorry for the long mail. I've been a user of the KDE PIM suite for years, but 
have just started looking at the inside. I'm just trying to make sure I did 
not make an obvious mistake :-)

Best,
Tom
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list