Fwd: khtml window corruption

Waldo Bastian bastian at kde.org
Fri Feb 24 21:31:32 CET 2006


----------  Forwarded Message  ----------

Subject: khtml window corruption
Date: Wednesday 22 February 2006 02:23
From: Christian Volk <cv at 73c.net>
To: Waldo Bastian <bastian at kde.org>

KDE 3.4.3 (Kubuntu Breezy)
KDE 3.5.1 (either Kubuntu Breezy or Dapper prerelease Flight-4)

Hi Waldo!

I seem to attract exotic problems :-)

On large screens with roughly more that 1500 pixels in height, konqueror
corrupts the window content when vertically scrolling. As it only happens in
HTML documents, I suspect khtml as the culprit.

When scrolling vertically, part of the page that is about to scroll off the
top of the window, reappears on the bottom of the window.

I've attached a small python script that, when redirected to a file, creates
 a simple test page.

I could recreate the problem by using a virtual screen in xorg. By adding
"Virtual 1920 1600" to the SubSection "Display" in Section "ServerLayout" of
xorg.conf. (Not that I think you don't know how to configure your system,
just to describe the steps I used :-)

Start konqueror as "konqueror --geomerty 1280x1600", move the virtual screen
to display the lower part of the konqueror window and start scrolling
downwards, either using the down key, the down icon or the slider.

Depending on the font you use as fixed font, here I use the Kubuntu standard
DejaVu Sans Mono, when line #33 touches the top of the window, a copy of the
block of the upper left hand side of the window (033-00 to 038-10) appears on
the lower right hand side roughly covering 105-11 to 110-21.

Scrolling back up until the corrupted part disappears and down again shows
 the correct contents.

Scrolling further down the page the problem repeats itself at line #105. This
time it affects the full width of the page: 105-00 to 110-21 covers 177-00 to
183-21.

The problem seems to depend on the height of the konqueror window. Varying
 the width does not have an effect here. The corruption get less at 1520
 pixels (only one line) and disappears at 1500 pixels.

Maybe a buffer a little bit too small or something similar.

If you have the time please take a look or pass my message on to the current
principal maintainer of khtml.

Thanks a lot!

- Christian

-------------------------------------------------------

-- 
Linux Client Architect - Channel Platform Solutions Group - Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mktest
Type: application/x-python
Size: 256 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20060228/30e2bf6a/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/khtml-devel/attachments/20060228/30e2bf6a/attachment.pgp 


More information about the Khtml-devel mailing list