Bug 69613 - Continuous repaint/flashing scroll bars with bugzilla page (testcase)
Summary: Continuous repaint/flashing scroll bars with bugzilla page (testcase)
Status: RESOLVED DUPLICATE of bug 64924
Alias: None
Product: konqueror
Classification: Applications
Component: khtml renderer (show other bugs)
Version: 4.0
Platform: unspecified Linux
: NOR major
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
: 70297 72456 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-12-04 03:28 UTC by Tom Collins
Modified: 2004-11-09 14:37 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Test case that shows the bug (488 bytes, text/html)
2003-12-04 03:29 UTC, Tom Collins
Details
test case (240 bytes, text/html)
2003-12-04 11:50 UTC, Paul Sprakes
Details
testcase_scrollbars.html (442 bytes, text/html)
2003-12-05 14:43 UTC, Oliver Bausinger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Collins 2003-12-04 03:28:33 UTC
Version:           4.0 (using KDE 3.1.94 (3.2 Beta 2), Gentoo)
Compiler:          gcc version 3.2.3 20030422 (Gentoo Linux 1.4 3.2.3-r2, propolice)
OS:          Linux (i686) release 2.6.0-test11

I noticed that Konqueror (CVS of 12/2/2003) had some
big problems with a bugzilla page at 
bugzilla.redhat.com, so I've pared it down to a 
simple test case.

To reproduce: load the page.  Konqueror will
continually repaint the screen, and both scrollbars
will flash on and off.  In addition, it never really
renders the (empty) page.

Not sure if this is a regression, as I don't have
a KDE 3.1.x setup to test against.
Comment 1 Tom Collins 2003-12-04 03:29:17 UTC
Created attachment 3549 [details]
Test case that shows the bug
Comment 2 Stephan Kulow 2003-12-04 09:47:34 UTC
Hmm, works fine here.
Comment 3 Paul Sprakes 2003-12-04 10:46:32 UTC
Hi coolo,

I saw this myself yesterday doing some web development work. For me it only happens on a popup window (using window.open()) which opens in a tab. Konqueror seems to get confused deciding if it should display scrollbars or not (in my case the scrollbars are not needed). If you minimize/maximise the window a couple of times then the page will render fine.

I'll try to create a reproducible test.
Comment 4 Paul Sprakes 2003-12-04 10:49:00 UTC
I forgot to add that Tom's Test renders fine for me too.
Comment 5 Paul Sprakes 2003-12-04 11:50:52 UTC
Created attachment 3551 [details]
test case

Right, I have found a minimal test that reproduces the behaviour for me. The
important parts seem to be the border style rule in the css and the table
height. As it is it flickers the scrollbars continually, however if I either
comment out the border-style or reduce the table height by 2 percent or more
(i.e. less then 98%) it will render fine.

Also, this my comments about having to be a popup window were wrong.
Comment 6 Tom Collins 2003-12-04 14:37:16 UTC
More information... the bug only shows up on a (range of) specific
sized Konqueror windows.  Turn on kwin's "show size when resizing
windows" doohickie, and then resize konqueror to 815x705 pixels
to make my bug show up.  Also, this is with multiple tabs open,
menubar at top, then icons (Crystal), location bar, and bookmarks
bar.  YMMV, but I CVS updated last night, and the bug is there 
with the above specific size.

It's funny, but I've had bugs like this in my code, where I 
calculated whether something needed a scroll bar, and the act of
adding the scroll bar changed whether or not it needed a scroll
bar.  In case that thought helps...
Comment 7 Paul Sprakes 2003-12-04 14:52:58 UTC
I can confirm Tom's test does do the flashing thing when resized to around 815x705 pixels.
Comment 8 Oliver Bausinger 2003-12-05 14:43:19 UTC
Subject: a smaller testcase

I have a smaller testcase with which I can reproduce such a problem quite easy 
when playing a bit with window resizing. Testcase attached. 
(This is with HEAD)


Created an attachment (id=3566)
testcase_scrollbars.html
Comment 9 Jesse 2003-12-07 07:19:17 UTC
This is exactly like 62148 (behavior at least).  Test cases are different though :-/
Comment 10 Thiago Macieira 2003-12-13 16:56:34 UTC
*** Bug 70297 has been marked as a duplicate of this bug. ***
Comment 11 Stephan Kulow 2004-01-12 17:39:55 UTC

*** This bug has been marked as a duplicate of 64924 ***
Comment 12 Dirk Mueller 2004-01-13 01:51:10 UTC
*** Bug 72456 has been marked as a duplicate of this bug. ***
Comment 13 Jens 2004-11-09 08:54:13 UTC
Hello,

I think I have to reopen this bug. I just experienced the exact thing when opening http://www.musicians-gear.net/calc.htm and resizing it to around 194x395 pixels. The vertical scrollbar flickers like wild and the CPU useage is at 100%.

Using KDE 3.3.1 as built by SuSE for their 9.1 distribution, 1280x1024 resolution, XFree86 4.3.999 (as shipped by SuSE), and the Plastik window theme (in case that that helps).

Thanks,

Jens
Comment 14 Amit Shah 2004-11-09 09:07:08 UTC
On Tuesday 09 Nov 2004 13:24, Jens B.Benecke wrote:
> 2004-11-09 08:54 ------- Hello,
>
> I think I have to reopen this bug. I just experienced the exact thing when
> opening http://www.musicians-gear.net/calc.htm and resizing it to around
> 194x395 pixels. The vertical scrollbar flickers like wild and the CPU
> useage is at 100%.
>
> Using KDE 3.3.1 as built by SuSE for their 9.1 distribution, 1280x1024
> resolution, XFree86 4.3.999 (as shipped by SuSE), and the Plastik window
> theme (in case that that helps).

I don't see this on Debian Sid (mix of 3.3.0 and 3.3.1). I also checked with 
CVS Head, can't reproduce it.

Comment 15 Stephan Kulow 2004-11-09 14:37:13 UTC
I can't either.