Support windows 11 non-overlay scrollbar style.
Categories
(Core :: Widget: Win32, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
References
Details
Attachments
(8 files, 3 obsolete files)
157.97 KB,
image/png
|
Details | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
At least on my Windows 11 version, apps that use non-overlay scrollbars get a thicker thumb, see screenshot of the "native" scrollbars drawn by task manager (they also are drawn like this in nsNativeTheme).
We also still paint Windows 10 scrollbars on windows 11 with dark theme and "native" scrollbars, which we should probably fix.
Assignee | ||
Comment 1•3 years ago
|
||
Right arrow was being painted pointing to the wrong direction.
Having the points being centered and displace them is easier to reason
about, IMO.
Assignee | ||
Comment 2•3 years ago
|
||
Add a pref to force the small scrollbar even in
non-overlay-scrollbars mode (which is the current behavior).
Depends on D134679
Assignee | ||
Comment 3•3 years ago
|
||
Very trivial changes that make overlay scrollbars work on Windows.
Depends on D134680
Assignee | ||
Comment 4•3 years ago
|
||
Right arrow was being painted pointing to the wrong direction.
Having the points being centered and displace them is easier to reason
about, IMO.
Assignee | ||
Comment 5•3 years ago
|
||
Add a pref to force the small scrollbar even in
non-overlay-scrollbars mode (which is the current behavior).
Depends on D134682
Assignee | ||
Comment 6•3 years ago
|
||
Very trivial changes that make overlay scrollbars work on Windows.
Depends on D134683
Assignee | ||
Comment 7•3 years ago
|
||
Much like GTK. This ensures consistent scrollbar styles across Firefox.
Depends on D134684
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D134685
Assignee | ||
Comment 9•3 years ago
|
||
This is useful so it doesn't look ugly with custom sizes (which might be useful
for accessibility features), but it will also be necessary for scrollbar-width:
thin.
Depends on D134689
Assignee | ||
Comment 10•3 years ago
|
||
This also makes two tweaks:
- Consistently applies hover / active feedback independent of scrollbar-color.
- Apply scrollbar-color to scrollbar buttons too.
Depends on D134690
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0e01214655e0
https://hg.mozilla.org/mozilla-central/rev/6d3bc5473a1e
https://hg.mozilla.org/mozilla-central/rev/3f5065553270
https://hg.mozilla.org/mozilla-central/rev/56a5f901ac95
https://hg.mozilla.org/mozilla-central/rev/6c2ec190cd1f
https://hg.mozilla.org/mozilla-central/rev/4e9ae7efa612
https://hg.mozilla.org/mozilla-central/rev/051c8cc7021c
Description
•