Changelog performance boost and lister extender column fix

Michael D. Stemle, Jr. manchicken at notsosoft.net
Thu Mar 1 02:56:10 GMT 2007


Okay, so there are two things I've fixed in this patch:
 
1) The list item extender (when you click the package the thing that expands) 
now aligns the columns properly.

2) The changelog functionality was creating a single ItemChangelog object per 
list entry row.  This poses a very serious performance problem since adept 
has quite a few records in there.  By using a global object (like I did with 
the tooltip) this performance issue can be avoided.

There are still two issues that really need to be solved:

1) adept_updater still crashes (segv) when you click the details button.  
What's stumping me is that this works fine in adept_manager, but not in 
adept_updater.  The segfault is happening in the section() method call inside 
of the ItemChangelog::changelogUrl() method.

2) The little angled expander icon needs to be put back, too.

Anyway, here's the patch.  This is on the 
http://bazaar.launchpad.net/%7Emanchicken/adept/updater-changelog-viewer/ 
branch.

-- 
~ Michael D. Stemle, Jr. <><
(A)bort, (R)etry, (I)nfluence with large hammer
The number of the beast - vi vi vi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colfix_chglog_perf_boost.diff
Type: text/x-diff
Size: 4115 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20070228/fad6c635/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/kubuntu-devel/attachments/20070228/fad6c635/attachment-0001.pgp 


More information about the kubuntu-devel mailing list