Open
Bug 726468
Opened 12 years ago
Updated 2 years ago
Scrolling gets stuck permanently if I scroll using both the trackpad and keyboard
Categories
(Core :: Web Painting, defect)
Tracking
()
NEW
People
(Reporter: jruderman, Assigned: tnikkel)
References
Details
(Keywords: regression)
1. Load any long page, e.g. https://developer.mozilla.org/en/CSS/linear-gradient 2. Start scrolling down using two fingers on the trackpad. 3. While scrolling with the trackpad, press the spacebar. Result: about 40% of the time, scrolling stops and the page becomes unscrollable. Workaround: reload the page. I hit this about once a day, but only figured out the STR today. I think it started about a month ago, although it's possible that it started when I upgraded from Snow Leopard to Lion.
Reporter | ||
Comment 1•12 years ago
|
||
It can also be unstuck by dragging the scrollbar.
Comment 2•12 years ago
|
||
It's unclear that this is a recent regression, or that any significant percentage of our user population would run into these STR. We've decided not to track for release.
Comment 3•12 years ago
|
||
Can reproduce on OS X 10.6.8.
Comment 4•12 years ago
|
||
Regression range: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=047c8ba7d2e4&tochange=34572943a3e4 Caused by bug 198964. Scrolling doesn't get stuck when turning off 'smooth scrolling'. Reproducible when turned on again.
Blocks: 198964
Keywords: regressionwindow-wanted → regression
Updated•12 years ago
|
Component: General → Layout: View Rendering
Product: Firefox → Core
QA Contact: general → layout.view-rendering
Assignee | ||
Comment 5•12 years ago
|
||
What about with smooth scrolling forced on, is this a regression or has it always been like that? The thing that might affect this that comes to mind is http://hg.mozilla.org/mozilla-central/rev/3dbddbb05ae4
Assignee | ||
Comment 6•12 years ago
|
||
Selecting some text seems to restore the ability to scroll.
Comment 7•12 years ago
|
||
(In reply to Timothy Nikkel (:tn) from comment #5) > What about with smooth scrolling forced on, is this a regression or has it > always been like that? Good question, trying some more builds. > The thing that might affect this that comes to mind is > http://hg.mozilla.org/mozilla-central/rev/3dbddbb05ae4 That's not the culprit. Build from early March 2011 shows this issue, 2009-01-01 does not.
Assignee | ||
Comment 8•12 years ago
|
||
Thanks for checking. My next guess would be bug 526394 (it landed 2010-01-11).
Comment 9•12 years ago
|
||
Tracked it down to: http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=094a7967e171&tochange=847a825087f2 I guess it might be bug 607464?
Assignee | ||
Comment 11•12 years ago
|
||
The problem is in nsGfxScrollFrameInner::ScrollTo if we have an existing mAsyncScroll we can change the value of mAsyncScroll's mIsSmoothScroll variable, but that doesn't make any change to mAsyncScroll's existing timer (repeating vs one shot), and we can be left with a non-null mAsyncScroll whose timer is not going to fire again.
Assignee | ||
Comment 12•12 years ago
|
||
Ah yes, I think found this problem while debugging bug 629587 but it was just theoretical, I couldn't find any problems it caused. It also seems like this problem is also causing bug 723027.
Assignee | ||
Comment 13•12 years ago
|
||
So we need to do something smart when we get a ScrollTo call while an mAsyncScroll of a different type is active. We might need to pass another argument giving us a bit more info about the intention of the scroll call so we can decide if we should cancel the existing scroll or the new one, or add it on to the existing one or what exactly.
Updated•12 years ago
|
Assignee: nobody → tnikkel
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•