Open Bug 1686414 Opened 2 months ago Updated 1 month ago

Scrollbar thumb surpasses the mouse cursor when clicking and holding on scrollbar

Categories

(Core :: Layout: Scrolling and Overflow, defect)

defect

Tracking

()

Tracking Status
firefox-esr78 --- affected
firefox84 --- affected
firefox85 --- affected
firefox86 --- affected

People

(Reporter: bogdan_maris, Unassigned)

References

Details

Attachments

(1 file)

Attached image Gif showing the issue

Affected versions

  • Latest Nightly 86.0a1
  • Firefox 85.0b7
  • Firefox 84.0.2

Affected platforms

  • Windows 10 64bit
  • macOS 11
  • Ubuntu 18.04 64bit

Steps to reproduce

  1. Start Firefox
  2. Visit a webpage that has lots of content so the scrollbar appears and the scroll elevator is small. (eg theverge.com)
  3. Scroll to the top or the bottom of the page
  4. Click and hold on the scrollbar outside of the scroll elevator

Expected result

  • Scroll elevator stops at the exact place where the mouse cursor is.

Actual result

  • Scroll elevator stops at a different place where the mouse cursor is.

Regression range

  • Not a regression, using mozregression I went to nightly from 2014 and those still have this issue.

Additional notes

  • .Gif attached showing the issue.
See Also: → 1331390

I love the name "scroll elevator"!

(But I'm changing it to "scrollbar thumb" for consistency with other bugs and how we refer to it in the code.)

Summary: Scroll elevator surpasses the mouse cursor when clicking and holding on scrollbar → Scrollbar thumb surpasses the mouse cursor when clicking and holding on scrollbar
Component: XUL → Layout: Scrolling and Overflow

The first place I'd look is in layout/xul/nsSliderFrame.cpp, we call StopRepeat and StartRepeat, the repeat might happen too many times?

Has STR: --- → yes
You need to log in before you can comment on or make changes to this bug.