Bug 60114

Summary: TESTCASE - 100% CPU and flickering whlie executing JS because whole page is being re-rendered all the time
Product: [Applications] konqueror Reporter: Jens <jens-bugs.kde.org>
Component: khtml ecmaAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: NOR    
Version: 4.0   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Stripped down HTML file with the JS scroller

Description Jens 2003-06-20 11:05:02 UTC
Version:           4.0 (using KDE 3.1.9)
Compiler:          gcc version 3.3 (Debian)
OS:          Linux (i686) release 2.4.21-pre5-jb-w4l

I visited www.pearl.de and noticed the page was flickering wildly (too disturbing to be able to read the page at all) and that the lower scrollbar kept moving and resizing (although the page didn't change at all). This was due to a Javascript based scroller (see attachment) that kept forcing Konqueror to (apparently) re-render the page all the time.

This is probably horrible Javascript programming, but is it possible to stop at least the flickering? (You don't see that in my stripped down example because the page is so small and has a white background. Go to www.pearl.de to see it).
Mozilla hogs the CPU as well when it displays this page, but it doesn't flicker.

Thank you!
Comment 1 Jens 2003-06-20 11:06:12 UTC
Created attachment 1851 [details]
Stripped down HTML file with the JS scroller
Comment 2 Thiago Macieira 2003-06-20 12:35:09 UTC
Confirm for HEAD. 
Comment 3 Sashmit Bhaduri 2003-11-22 05:49:36 UTC
Still buggy in head (20031121)
Comment 4 Jens 2004-01-09 16:24:58 UTC
CVS 2004-01-02:
No more flickering (good), but the CPU is still at 50% (on a P4-1800MHz... not good).
Comment 5 Dirk Mueller 2004-01-13 00:51:16 UTC
boy that page is flickering badly :(
Comment 6 Jens 2004-02-07 19:15:41 UTC
bug is still there.. about 50% CPU on P4-1800 just for JS :-(
Comment 7 Adrian Head 2004-03-02 12:25:32 UTC
This still seems to be a problem with Konq 3.2.0 as it occurs on the webpage:
http://www.entirescan.com/
Comment 8 Jo Ă˜iongen 2004-07-16 10:42:10 UTC
Duplicate

*** This bug has been marked as a duplicate of 53114 ***