layout.css.scrollbar-width.enabled not working
I just upgraded to Firefox 79.0, and now the scrollbars on outlook.com are narrow with no scroll buttons. I fixed this problem long ago by setting layout.css.scrollbar-width.enabled to false. It's still set, but now the scrollbars are back to being narrow.
Keazen oplossing
Support for the prefs layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled has been removed in Firefox 79.
- bug 1641324 - Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs. [79]
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
As a workaround you can add this code to the userContent.css file.
Add code to the userContent.css file.
*{ scrollbar-color: auto !important; scrollbar-width: auto !important; }
It is not that difficult to create userContent.css if you have never used it.
The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.
You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder".
If you click this button then you open the profile folder in the Windows File Explorer.
You need to create a folder with the name chrome in this folder (name is all lowercase).
In the chrome folder you need to create a plain text file with the name userContent.css (name is case sensitive).
In this userContent.css text file you paste the text posted.
In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userContent.css.txt.
To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".
You need to close (Quit/Exit) and restart Firefox when you create or modify the userContent.css file.
See also:
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.
- toolkit.legacyUserProfileCustomizations.stylesheets = true
See:
Dit antwurd yn kontekst lêze 👍 1Alle antwurden (7)
Keazen oplossing
Support for the prefs layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled has been removed in Firefox 79.
- bug 1641324 - Remove the layout.css.scrollbar-width.enabled and layout.css.scrollbar-color.enabled prefs. [79]
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
As a workaround you can add this code to the userContent.css file.
Add code to the userContent.css file.
*{ scrollbar-color: auto !important; scrollbar-width: auto !important; }
It is not that difficult to create userContent.css if you have never used it.
The first step is to open the "Help -> Troubleshooting Information" page and find the button to access the profile folder.
You can find this button under the "Application Basics" section as "Profile Folder -> Open Folder".
If you click this button then you open the profile folder in the Windows File Explorer.
You need to create a folder with the name chrome in this folder (name is all lowercase).
In the chrome folder you need to create a plain text file with the name userContent.css (name is case sensitive).
In this userContent.css text file you paste the text posted.
In Windows saving the file is usually the only time things get more complicated because Windows can silently add a .txt file extension and you end up with a file named userContent.css.txt.
To avoid this you need to make sure to select "All files" in the dialog to save the file in the text editor using "Save File as".
You need to close (Quit/Exit) and restart Firefox when you create or modify the userContent.css file.
See also:
- https://www.userchrome.org/what-is-userchrome-css.html
- https://www.userchrome.org/how-create-userchrome-css.html
In Firefox 69 and later you need to set this pref to true on the about:config page to enable userChrome.css and userContent.css in the chrome folder.
- toolkit.legacyUserProfileCustomizations.stylesheets = true
See:
Bewurke troch cor-el op
That worked. Thank you very much.
Does not work for me: Ubuntu 20.04.1 LTS Firefox 82.0 (64-bit)
Created "chrome" folder within profile folder. Created "userContent.css" Copied and pasted:
- {scrollbar-color:auto!important; scrollbar-width:auto!important;}
into userContent.css verified (it is) toolkit.legacyUserProfileCustomizations.stylesheets = true . Restarted Firefox. No change. I fail to see how the pasted string would increase or otherwise modify the existing width of the scrollbar. Thanks.
Bewurke troch jeffschips op
@jeffschips
Is that in the profile folder location that you reach via the button on the about:support page ?
You can use the button on the "Help -> Troubleshooting Information" (about:support) page to go to the current Firefox profile folder or use the about:profiles page.
- Help -> Troubleshooting Information -> Profile Folder/Directory:
Windows: Open Folder; Linux: Open Directory; Mac: Show in Finder - https://support.mozilla.org/en-US/kb/profiles-where-firefox-stores-user-data
Try the Firefox version from the official Mozilla server if you currently use a version from the repositories of your Linux distribution.
- Bug 1645676 - Removing layout.css.scrollbar-color.enabled pref causes accessibility/usability issue
(please do not comment in bug reports
https://bugzilla.mozilla.org/page.cgi?id=etiquette.html)
Bewurke troch cor-el op
@jeffschips
Do you have other code in userContent.css that might be causing problems ?
Does it work if you place the code at the top of userContent.css ?
Can you post the content of your userContent.css ?
Thanks all for the quick reply! Wow that was fast!
My userContent.css only contains the suggested string.
And yes I got the directory location from the suggested method.
But my research shows that the string suggested only sets the width to the default on the "system" so how would that string increase the width beyond what it is already, which is way to narrow to enjoy and which, I presume, is the default anyway.
I will now try using the firefox version from the mozilla site and report back.
I noticed that jeffschips created a new thread, so lets continue there.
- [/questions/1312291] 82.0 scroll bar too thin