Version: svn snapshot from 3.5 branch (using KDE Devel)
Installed from: Compiled sources
Compiler: gcc 4.1.0
I have a mailbox with 10000+ mails, when I use the search line to search for some
keywords, kmail become very slow, either scrolling the result or rightclick on a
mail. Even switching to another window and then switch back will make it hang for
about 2s on my athlon-xp 2500+.
confirm this one at Mandriva Cooker, KDE 3.5.5, KMail 1.9.5
Not only is the search a bit slow, even worse - it seems, that the search is performed at every UI refresh, i.e.:
0) launch top
1) perform a quick search on a folder with 40k+ messages and wait for CPU to get back to 0
2) minimize and maximize KMail (or move the scrollbar or whatever)
3) watch it eating your CPU again
the only solution is to use the full search
I spent some time to debug the problem, and I found that the bad guy is the alternative background of KListView, after comment out the code in klistview.cpp, the slowness went away.
*** Bug 126683 has been marked as a duplicate of this bug. ***
could something be done about this ?
related KListView bug
Marking as a dupe of bug 138912, most probably it describes the general cause for this problem.
*** This bug has been marked as a duplicate of 138912 ***