Konqueror slow with bigger images

Allan Sandfeld Jensen kde at carewolf.com
Fri May 19 11:06:38 BST 2006


On Thursday 18 May 2006 11:56, Hasso Tepper wrote:
>
> But what's strange that problem doesn't appear for all users. Some users
> say that they don't see any slowdown. There are users who say that
> problem appreared for them after SuSE 10.0 -> 10.1 upgrade, while for
> others there is no problem etc.
>
I think I've figured it out. 

There are many places in the repaint flow where we don't clip to the exposed 
area. 

In theory there are three different places you can clip:
1. clip before calling paint*, only paint the normal region & exposed area
2. clip in QPainter by having set a clip-region. For some reason we don't do 
this generally for repaints.
3. The X-server can choose to skip repaints that change nothing.

If the X-server is fully optimized we get full performance, otherwise it will 
suck whenever a general or local clip hasn't been specified. 

I just fixed repaint logic for background-images, because we were starting to 
get many bug-reports on it, but it seems normal images are not clipped to 
repaint-region either.

`Allan




More information about the kfm-devel mailing list