[Bug 244503] selecting a folder is slow

Till Adam adam at kde.org
Wed Jul 14 21:28:23 BST 2010


https://bugs.kde.org/show_bug.cgi?id=244503





--- Comment #3 from Till Adam <adam kde org>  2010-07-14 22:28:22 ---
SVN commit 1150006 by tilladam:

Avoid initializing the tags list from nepomuk for sizehint calculation.

Since the font for each message can be overridden by a tag, and since
the font size needs to be known at row height calculation time, the
tags list ended up being populated for each item, during message list
creation, which, since it's a nepomuk roundtrip or two, was very slow.
This change makes the font only take the tag into account when the tags
list is already populated. Not perfect, as for non visible items the
height might be off, if they have font override tags, but I guess we
can live with the consequences. It's rather a fringe feature anyhow.

CCBUG: 244503

 M  +12 -0     messageitem.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1150006

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list