[PATCH] Fix KHTML redrawing problems
kedgedev at centrum.cz
Sun Feb 3 13:49:06 GMT 2008
KHTML has some really annoying redrawing bugs when the view widget is resized before paint event.
This is because KHTMLView assumes for static widgets that render widget is always at position 0,0,
but for instance when the scroll bars are about to be shown then QScrollArea updates render widget
and changes its position if it's needed. (in QScrollAreaPrivate::updateScrollBars(), the move is called
in QScrollAreaPrivate::updateWidgetPosition() )
When this happens KHTMLView sets it back to 0,0 but KHtmlView isn't changing it back on each occasion
and then the paint position is wrong. This patch fix it by moving the render widget back to 0,0.
This bug affects Kopete.
Can I commit this?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1060 bytes
Desc: not available
More information about the kde-core-devel