Αναζήτηση στην υποστήριξη

Προσοχή στις απάτες! Δεν θα σας ζητήσουμε ποτέ να καλέσετε ή να στείλετε μήνυμα σε κάποιον αριθμό τηλεφώνου ή να μοιραστείτε προσωπικά δεδομένα. Αναφέρετε τυχόν ύποπτη δραστηριότητα μέσω της επιλογής «Αναφορά κατάχρησης».

Μάθετε περισσότερα

Αυτό το νήμα έκλεισε και αρχειοθετήθηκε. Παρακαλούμε κάντε νέα ερώτηση αν χρειάζεστε βοήθεια.

layout.css.scrollbar-width.enabled not working

  • 7 απαντήσεις
  • 1 έχει αυτό το πρόβλημα
  • 1 προβολή
  • Τελευταία απάντηση από cor-el

more options

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.

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.

Επιλεγμένη λύση

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:

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:

Ανάγνωση απάντησης σε πλαίσιο 👍 1

Όλες οι απαντήσεις (7)

more options

Επιλεγμένη λύση

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:

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:

Τροποποιήθηκε στις από τον/την cor-el

more options

That worked. Thank you very much.

more options

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.

Τροποποιήθηκε στις από τον/την jeffschips

more options

@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.

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
)

Τροποποιήθηκε στις από τον/την cor-el

more options

@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 ?

more options

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.

more options

I noticed that jeffschips created a new thread, so lets continue there.