[PATCH] Speed up iconView's setIcons 2x...

David Faure david at mandrakesoft.com
Fri Aug 23 19:42:29 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 23 August 2002 20:09, Koos Vriezen wrote:
> On Fri, 23 Aug 2002, David Faure wrote:
> 
> > On Friday 23 August 2002 19:29, Koos Vriezen wrote:
> > >
> > > Ok, shouldn't the iconview sort it first before painting?
> >
> > Since the items are all inserted in a single loop, I thought it would, yes...
> > Needs investigating.
> 
> And if it isn't? What use are icons jumping in the view all the time?
> Unless item come very slow (eg. a repaint/2 sec then), I don't mind
> waiting for the items.
> Just tested a ftp dir on ftp://sunsite.cnlab-switch.ch with 234 items.
> Although the items come fast (I have adsl), I see four (or more)
> repaintings. It's ugly on my local X, but also quite expensive on a remote
> X desktop (I use Cygnus XFree, when I'm at work).

Well, it's just like progressive rendering in khtml. It gives feedback earlier 
to the user (and doesn't look like the app isn't working at all for a long time).
That, too, is more expensive on a remote desktop...

- -- 
David FAURE, david at mandrakesoft.com, faure at kde.org
http://people.mandrakesoft.com/~david/
Contributing to: http://www.konqueror.org/, http://www.koffice.org/
KOffice-1.2-rc1 is out. ftp://ftp.kde.org/pub/kde/unstable/koffice-1.2-rc1/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9ZoIW72KcVAmwbhARAnrIAKCB1/MCv8eSCuDO6AkyBU+seyyAwACfXGyN
WbFBTH6WLq7e9RUvYGyoptk=
=EIN4
-----END PGP SIGNATURE-----





More information about the kfm-devel mailing list