Closed Bug 297039 Opened 20 years ago Closed 16 years ago

Middle click takes long time to load on lengthy websites

Categories

(Core :: Layout, defect)

x86
All
defect
Not set
minor

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: yuchaoz, Unassigned)

References

()

Details

(Keywords: perf, regression)

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050606 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8b2) Gecko/20050606 Firefox/1.0+ Middle click+scroll on a lengthy page such as the URL listed takes more than 3 seconds of waiting to take effect. Middle click+scroll takes 3 seconds to end. Reproducible: Always Steps to Reproduce: 1.Go to a lengthy text webpage such as: http://64.233.167.104/search?q=cache:xCjuF_8ig4sJ:www.artsy.ca/stone.pdf+He+dashed+back+across+the+road,+hurried+up+to+his+office,+snapped+at+his+secretary+not+to+disturb+him,+seized+his+telephone,+and+had+almost+finished+dialing+his+home+number+when+he+changed+his+mind.+He+put+the+receiver+back+down+and+stroked+his+mustache,+thinking...+no,+he+was+being+stupid.+Potter+wasn%27t+such+an+unusual+name.+He+was+sure+there+were+lots+of+people+called+Potter+who+had+a+son+called+Harry.+Come+to+think+of+it,+he+wasn%27t+even+sure+his+nephew+was+called+Harry.+Picture+11+He%27d+never+even+seen+the+boy.+It+might+have+been+Harvey.+Or+Harold.+There+was+no+point&hl=en&client=firefox 2.Middle click the mouse and scroll for a while 3.Cancel middle click Actual Results: Middle click+scroll takes a long time to both load and end itself. Quite chunky scroll too, especially when using my an old 466MHz system. Expected Results: Instant or slightly lagging middleclick+scroll as shown perfectly in Opera and IE. I'm not sure if this is a problem with 1GHz+ systems. "Veteran systems" like mine should be respected. :)
I don't see the bug with a 2004-11-25 build. I can see the bug with a 2004-11-26 build (autoscroll image takes much longer to appear, more cpu load). I think this is a regression from fixing bug 270804. I've backed out the patch from that bug in my (not a debug) build, and after that the autoscroll image appeared much faster.
Blocks: 270804
Status: UNCONFIRMED → NEW
Component: General → Layout
Ever confirmed: true
Keywords: regression
OS: Windows 98 → All
Product: Firefox → Core
QA Contact: general → layout
Version: unspecified → Trunk
Attached file 7-zipped up testcase
A quick testcase. Without the patch from bug 270804, it took 25277ms. (The result with the patch will have to wait, no time now).
With the patch from bug 270804, it took 149525ms
This bug doesn't appear on 1GHz+ systems. My computer is only a Celeron 466MHz
Is this for every page, or just some pages?
No, not on every page, just some pages, and probably only noticable on slow computers (this looks rather similar to bug 273293, although the cause is different) Personally, I'm more worried about the loading performance, which is quite bad on my 600MHz duron computer.
That page is has a huge number of absolutely positioned DIVs, which need to be shrink-wrapped. I guess we're reflowing their lines many more times since the patch in bug 270804 landed. I'll think about how this can be improved but it doesn't seem to be high priority.
Keywords: perf
Yuchao719 do you still see a problem? WFM Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b4pre) Gecko/2008021504 on amd X2 1.8Ghz modest laptop. autoscroll appears immediately and is responsive with no delays in all directions.
=> WFM per comment 8
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: