Use non-native themed scrollbars in browser chrome
Categories
(Core :: Widget, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox98 | --- | fixed |
People
(Reporter: aminomancer, Assigned: aminomancer)
References
Details
Attachments
(4 files, 1 obsolete file)
In bug 1719427 support was added for switching between non-native scrollbar styles with a pref, but these styles aren't yet applied to scrollbars in the browser chrome or dialogs, which will continue to use the platform style.
STR:
- Set
widget.non-native-theme.scrollbar.styleto a number that doesn't match your environment (1 for macOS, 2 for GTK, 3 for android, 4 for win 10, 5 for win 11) - View a page in a browser and confirm the scrollbar style has changed.
- Open some scrollable chrome control, e.g., the all tabs menu, the bookmarks sidebar or the page info dialog.
Expected:
The chrome scrollbars match the content scrollbars
Actual:
The chrome scrollbars continue to use default platform style
Comment 1•4 years ago
|
||
So this is kind of expected, fwiw. But anyhow, if we want to change this fix should be straight-forward. Changing this and the relevant GTK line to use ScrollbarStyle(), and maybe make it react to the pref dynamically.
| Assignee | ||
Comment 2•4 years ago
|
||
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Looking into this a bit more we can make it work more consistently pretty easily, let me try...
Comment 4•4 years ago
|
||
Will most likely not get to it today though I don't think this is super-urgent.
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 5•4 years ago
|
||
This is not fixed?
| Assignee | ||
Comment 6•4 years ago
|
||
Isn't it? Seems to be working in the views I was worried about
Comment 7•4 years ago
|
||
Comment 8•4 years ago
|
||
Depends on D136127
Comment 9•4 years ago
|
||
Depends on D136128
Comment 10•4 years ago
|
||
Depends on D136129
Comment 11•4 years ago
|
||
Comment 12•4 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/6d1e386d334b
https://hg.mozilla.org/mozilla-central/rev/1fa55e27c971
https://hg.mozilla.org/mozilla-central/rev/4b4804252e15
https://hg.mozilla.org/mozilla-central/rev/7049c6e86a3e
Description
•