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

Koos Vriezen koos.vriezen at xs4all.nl
Fri Aug 23 20:55:53 BST 2002


On Fri, 23 Aug 2002, David Faure wrote:

> On Friday 23 August 2002 20:09, Koos Vriezen wrote:
> >
> > 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...

Yes, a remote konqueror can be quite noisy (CPU fan) on a Win98 laptop
with Cygwin XFree :(
But khtml repainting looks a bit smarter:
   d->timerId = startTimer( parsing ? 1000 : 0 );
Also using a paintBuffer helps a lot.
Personally (= I have no intention to change that), I even think khtml
does it too fast. But the KFM can repaint four times in a second (taken
the above ftp site). Can't hardly call that progressive rendering.
Also, feedback is given by the progressbar.

Koos





More information about the kfm-devel mailing list