http://bugzilla.novell.com/show_bug.cgi?id=398734
User rpmcruz@alunos.dcc.fc.up.pt added comment
http://bugzilla.novell.com/show_bug.cgi?id=398734#c9
--- Comment #9 from Ricardo Cruz 2009-10-13 08:17:15 MDT ---
Roman, I suspect the problem is that the Qt Text widget takes a long time to
process a few Kb of text stream. At least, in the GTK UI that is the issue.
libzypp itself takes only a few seconds to generate the filelist and if you
look at YQPkgFileListView.cc it doesn't do much more than feeding the text to
the widget as html (the fact it is passed as html could further be a strain in
the Text widget btw).
Anyway, have you guys tested yast2-qt-pkg 2.18.3 or later (available in
Factory, the 11.2 development builds and in any supermarket)?
Because this change should fix this speed matter:
Wed Feb 4 14:13:15 CET 2009 - tgoettlicher@suse.de
- Added application icons to description view
- Limited file list to 500 entries
- V 2.18.3
Duncan, what if you guys tried to feed the file-list as plain text to
QTextBrowser to see if the speed gain is significant? (Truncating the filelist
is a temporary fix, right?)
qt-pkg/src/YQPkgFileListView.cc:
- setHtml( html );
+ setPlainText ( html );
Of course, if the time order has been reduced to an acceptable level, you'll
now want to get rid of the html tagging.
Sorry for not trying it myself, but it would be a hassle to upgrade all the
toolchain of this machine for the purpose. You guys need to keep qt-pkg with
libzypp for a few versions.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.