mozilla-firefox-89.0-x86_64-1 no longer applying scrollbar width from 'gtk.css'
by byteporter from LinuxQuestions.org on (#5JHJS)
I just updated my installation of -current (also using kernel 5.12.8 from testing but I don't think that's relevant here) which updated my Firefox from 88 -> 89. Window manager is Window Maker.
I've been using gtk.css to make my scrollbars wider for a long time now, which is particularly important for me because I'm using a big ol' LG 42" monitor and the edges are obscured a bit by shadows from the bezel. But honestly, I just like having the big scrollbars on such a large screen anyway.
I currently have the scrollbars set to be wider using the ~/.config/gtk-3.0/gtk.css file:
Code:scrollbar, scrollbar button, scrollbar slider {
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true;
min-width: 17px;
min-height: 20px;
border-radius: 0;
}Been running like this for forever, I don't remember where I found the info to do this in the first place. The new Firefox however is back to the really thin scrollbars. When I first launched it after the update it had a popup about themes, I didn't pay too much attention because I don't really care about themes too much. I'm running whatever the default is.
I guess my question is how best to go about addressing this? I'm guessing that I could set the width back to big ol' fatty with a custom theme, but I don't really like that idea if I can help it. Ideally I'd like it to respect the gtk.css file again because I don't like the idea of having to set something like that for each individual application.
To be honest, I have no idea how these get applied. My guess is the gtk.css is only controlling the GTK library itself, but I'm pretty sure browsers have their own default CSS as well. I have no idea if Firefox is aware of the gtk.css file (or whatever ends up representing it in memory) at all, perhaps there's a way to instruct Firefox to inherit this setting from GTK? I'd be ok with making a custom theme that establishes this link.
Anyway, I guess I'm just hoping someone out there in the community knows how all this stuff fits together better than I do and can set me on the path of customizing this in the way that will provide the least amount of headaches down the road. Thanks!
PS: Thanks to the community (especially Pat et al) for making such a great OS! Congrats on the release of version 15!
I've been using gtk.css to make my scrollbars wider for a long time now, which is particularly important for me because I'm using a big ol' LG 42" monitor and the edges are obscured a bit by shadows from the bezel. But honestly, I just like having the big scrollbars on such a large screen anyway.
I currently have the scrollbars set to be wider using the ~/.config/gtk-3.0/gtk.css file:
Code:scrollbar, scrollbar button, scrollbar slider {
-GtkScrollbar-has-backward-stepper: true;
-GtkScrollbar-has-forward-stepper: true;
min-width: 17px;
min-height: 20px;
border-radius: 0;
}Been running like this for forever, I don't remember where I found the info to do this in the first place. The new Firefox however is back to the really thin scrollbars. When I first launched it after the update it had a popup about themes, I didn't pay too much attention because I don't really care about themes too much. I'm running whatever the default is.
I guess my question is how best to go about addressing this? I'm guessing that I could set the width back to big ol' fatty with a custom theme, but I don't really like that idea if I can help it. Ideally I'd like it to respect the gtk.css file again because I don't like the idea of having to set something like that for each individual application.
To be honest, I have no idea how these get applied. My guess is the gtk.css is only controlling the GTK library itself, but I'm pretty sure browsers have their own default CSS as well. I have no idea if Firefox is aware of the gtk.css file (or whatever ends up representing it in memory) at all, perhaps there's a way to instruct Firefox to inherit this setting from GTK? I'd be ok with making a custom theme that establishes this link.
Anyway, I guess I'm just hoping someone out there in the community knows how all this stuff fits together better than I do and can set me on the path of customizing this in the way that will provide the least amount of headaches down the road. Thanks!
PS: Thanks to the community (especially Pat et al) for making such a great OS! Congrats on the release of version 15!