Closed Bug 1837572 Opened 2 years ago Closed 2 years ago

Scrolbar thumb does not follow the position of the mouse pointer as it is dragged by the mouse.

Categories

(Core :: Panning and Zooming, defect)

Firefox 116
Desktop
Windows 10
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox-esr102 --- unaffected
firefox114 --- unaffected
firefox115 --- unaffected
firefox116 --- wontfix

People

(Reporter: alice0775, Unassigned)

References

(Regression)

Details

(Keywords: nightly-community, regression)

Steps to reproduce:

  1. Open https://twitter.com/FirefoxNightly
  2. Continue to slowly drag scrollbar thumb.

Actual results:
The thumb does not follow the position of the mouse pointer.

See screen capture:
Good: https://youtu.be/VpJT7ocQJlc
Bad: https://youtu.be/AXMmJeeto8w

Expected results:
The thumb should follow the position of the mouse pointer.
The thumb quickly catches up with mouse pointer position.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=095b3d776ebe3dcca2c19e74df0818dc68302e28&tochange=e76a7e9393add417bcf6a33d7e0c71909cc3c6d9

OK, Looks like it's getting close to Edge behavior.
Maybe wontfix.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX

Yeah, this was an intentional change. When you are holding down the mouse while dragging the scrollbar, and the page dynamically loads new content, we have to choose between two behaviours:

  1. Keep the scroll position the same. Since the page has loaded new content and is now longer, the scroll position we're keeping the same corresponds to a higher thumb position, so the thumb moves up relative to the mouse.
  2. Keep the thumb in sync with the mouse, causing a jump in the scroll position.

Before bug 1756814 we did (2), but in that bug we decided to switch to (1) because it's more important that the content the user was looking at doesn't jump offscreen.

This bug appears to be a kind of manual QA test for bug 1756814. :) Thanks for reporting Alice!

You need to log in before you can comment on or make changes to this bug.