Open Bug 1956974 Opened 22 days ago Updated 11 days ago

Thin scrollbars lose up/down/left/right arrow buttons on windows 10

Categories

(Firefox :: Theme, defect)

Firefox 136
defect

Tracking

()

UNCONFIRMED

People

(Reporter: stephen.cunliffe, Unassigned, NeedInfo)

Details

Attachments

(3 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:136.0) Gecko/20100101 Firefox/136.0

Steps to reproduce:

1.) Set CSS "scrollbar-width:thin;" on an element that scrolls/overflows.
2.) Observe that the arrows to scroll up/down are lost (Windows 10/Firefox), unlike in other/Chromium browsers

Actual results:

The arrows to scroll up/down are lost

Expected results:

Arrows should have remained, just render at the smaller size. (with the square "thumb" portion of the scrollbar only showing, it looks like the content scrolls under and beyond the container (e.g. artificially clipped)

Attached image normal_scrollbar.png

normal scrollbar in Firefox

Attached image thin_scrollbar.png

Thin scrollbar in Firefox

Attached image chrome_thin.jfif

Thin scrollbar in Chrome

Not critical, but the rounded end thumb screw when rendered as a thin scrollbar looks nice too... I'd be fine with adding that look as well.

Hmm, interesting, it seems chrome uses win11-style thin scrollbars. If you go to about:config and set widget.non-native-theme.scrollbar.style to 5, do you get the expected behavior?

Flags: needinfo?(stephen.cunliffe)

I think you'll also get more-rounded "thick" scrollbars.

Component: CSS Parsing and Computation → Widget: Win32
Summary: Thin scrollbars lose up/down/left/right arrow buttons → Thin scrollbars lose up/down/left/right arrow buttons on windows 10
Component: Widget: Win32 → Theme
Product: Core → Firefox
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: