Open Bug 1891846 Opened 10 months ago Updated 6 months ago

Consider makeing root viewport non-overlay scrollbars follow the user's preferred color scheme by default

Categories

(Core :: Layout: Scrolling and Overflow, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: billdillensrevenge, Unassigned)

References

()

Details

Attachments

(4 files)

Attached image imageURLsScrollbars.png

Equivalent to Chromium's https://issues.chromium.org/issues/40259909 and Mozilla already has a positive position on this! https://github.com/mozilla/standards-positions/issues/995#issuecomment-1989722558

It would fix 1, possibly 2 issues with Firefox's dark theme scrollbar implementation:

  1. https://bugzilla.mozilla.org/show_bug.cgi?id=1859940 which is, on some websites, when the user pinch-zooms in, the scrollbars are light when they should be dark. Examples websites are https://outlook.live.com/mail/0/ and https://mod.reddit.com/mail/all

  2. Not sure if this one is technically valid or not (meaning it might be fixable, unlike 1859940, which is technically working as intended therefore invalid) but when the user goes to image URL's such as https://upload.wikimedia.org/wikipedia/commons/4/45/Allium_cyathophorum_farreri_2_%28cropped%29.JPG and zooms in in any way (be it pinch zooming or the reflow zoom that triggers the percent indicator in the URL bar) the scrollbar is light. I've included a screenshot of what this looks like. Test URL

https://chromestatus.com/feature/5089486318075904

This belongs in Gecko (not sure which part of Gecko though) rather than frontend.

Component: Theme → Layout: Scrolling and Overflow
Product: Firefox → Core
Severity: -- → S3
Priority: -- → P3

Also I'm struggling to find the reddit posts about this but when Firefox shipped its current scrollbar theming logic a few years ago, I do remember people posting that they didn't like that on some websites the scrollbar was no longer "normal", even when the OS and/or Firefox are in light mode. For example, look at the attached screenshot of the discord homepage. I often encounter websites where the scrollbar is an odd color, perhaps some websites don't like Firefox's current scrollbar theming behaviour but since Firefox is the only browser that does this, we don't hear about it. I'm sure if tomorrow Chrome switched to using Firefox's scrollbar theming logic, a lot of folks wouldn't be too happy about it. See also https://bugzilla.mozilla.org/show_bug.cgi?id=1612889

as well as reading through this one https://bugzilla.mozilla.org/show_bug.cgi?id=1608663

Attached image github scrollbar.png

Just adding another example of Firefox's scrollbar theming having weird, perhaps unintended results (github homepage when not signed in)

And here is one the best (or should I say worst?) examples of Firefox's scrollbar theming not working for some dark mode webpages: reddit gallery pages https://www.reddit.com/gallery/1cu34gj . Chromium browsers don't have this problem since they shipped "Used color scheme root scrollbars" recently.

(unfortunately you must be signed in to reddit to repro this one but I've included a screenshot)

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

Attachment

General

Creator:
Created:
Updated:
Size: