[PATCH] Less scrollbar flicker when switching pages
Wilco Greven
greven at kde.org
Fri Aug 1 21:14:37 BST 2003
Hello,
The attached patch tries to reduce the scrollbar flicker when switching
between pages. It changes the following things:
- Don't call resizeContents(0,0) in KHTMLPart::begin(). This was unnecessary,
because the contents are resized before calling begin, in restoreState, and
after begin, in the RenderRoot class. Instead call setContentsPos(0,0) the
first time slotData is called.
- The previous makes restoring the previous VScrollBar mode in KHTMLView
unnecessary.
Please review the patch and let me know if it has any unforeseen sideeffects.
Greetings,
Wilco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: khtml.diff
Type: text/x-diff
Size: 1654 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20030801/96513186/attachment.diff>
More information about the kfm-devel
mailing list