Closed
Bug 932792
Opened 11 years ago
Closed 11 years ago
Drag scroll using the scroll bar results in jitter/shaky scroll
Categories
(Firefox for Metro Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 28
People
(Reporter: majjisrinadh, Assigned: kats)
References
Details
(Whiteboard: [block28])
Attachments
(1 file, 1 obsolete file)
|
1.51 KB,
patch
|
kats
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release)
Build ID: 20131030030201
Steps to reproduce:
Start Firefox in Metro mode and go to any webpage and scroll the page using scroll bar on the right hand side
Actual results:
The scroll is working but the movement is shaky, meaning while scrolling the page and the scroll bar are shaking with small amplitude and high frequency up and down.
P.S. the scrolling with up/down keys and multi-touch gestures is smooth and fine
Expected results:
scrolling must have been smooth, just like in the desktop version of firefox
| Reporter | ||
Updated•11 years ago
|
Severity: normal → major
OS: All → Windows 8.1
Hardware: All → x86_64
Updated•11 years ago
|
Blocks: metrov1backlog
Whiteboard: [triage]
Updated•11 years ago
|
Summary: Scrolling using Scroll bar is Buggy → Drag scroll using the scroll bar suffers from jank
Comment 1•11 years ago
|
||
Testing on a surface pro, I also see the scroll thumb jumping around, emulating the jank in the page.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•11 years ago
|
Whiteboard: [triage] → [block28]
| Assignee | ||
Comment 3•11 years ago
|
||
Initial logging indicates that apzc.js is sending us jumpy scroll coordinates in the. APZC is never requesting a repaint (which is expected, since I'm not doing touch-based scrolling), so that's not the cause of jumpiness. It appears to be emanating from somewhere in Gecko. I will dig further.
| Assignee | ||
Comment 4•11 years ago
|
||
Actually it's not coming from gecko. It's coming from trying to unapply the APZC transform on the input that corresponds to dragging the scrollbar around.
| Assignee | ||
Updated•11 years ago
|
Summary: Drag scroll using the scroll bar suffers from jank → Drag scroll using the scroll bar results in jitter/shaky scroll
| Assignee | ||
Comment 5•11 years ago
|
||
The scrollbars were getting treated as content, and so we were unapplying APZ transforms on the mouse events directed to them. As dragging the scrollbar around changes the scroll position and the transform in the APZ code, this could result in crazy hysteresis loops which resulted in the strange behaviour.
Attachment #832514 -
Flags: review?(jmathies)
Comment 6•11 years ago
|
||
Comment on attachment 832514 [details] [diff] [review]
Treat scrollbars as chrome
>+ var onScrollbar = false;
>+ for (var node = aEvent.originalTarget; node instanceof XULElement; node = node.parentNode) {
Nit: Use 'let' instead of 'var' on both of these lines.
Attachment #832514 -
Flags: review?(jmathies) → review+
| Assignee | ||
Comment 7•11 years ago
|
||
Updated per review comment, carrying r+
Attachment #832514 -
Attachment is obsolete: true
Attachment #832929 -
Flags: review+
| Assignee | ||
Comment 8•11 years ago
|
||
This should land on fx-team which is currently closed.
Keywords: checkin-needed
Comment 9•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [block28] → [block28][fixed-in-fx-team]
Comment 10•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: in-testsuite?
Resolution: --- → FIXED
Whiteboard: [block28][fixed-in-fx-team] → [block28]
Target Milestone: --- → Firefox 28
You need to log in
before you can comment on or make changes to this bug.
Description
•