userChrome.css not working even set toolkit.legacyUserProfileCustomizations.stylesheets=true
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
People
(Reporter: shuiwatermizu, Unassigned)
References
(Regression)
Details
(Keywords: regression)
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
- open profile folder
about:support - create a file
userChrome.css - put contents in the above file in order to make the bookmarks toolbar auto-hide
#PersonalToolbar {visibility: collapse !important;}
#navigator-toolbox:hover > #PersonalToolbar {visibility: visible !important;} - about:config
set toolkit.legacyUserProfileCustomizations.stylesheets=true - restart firefox, the toolbar doesn't hide
Actual results:
The toolbar didn't hide
Expected results:
The toolbar should hide
Comment 1•5 years ago
|
||
Hi, I tried to reproduce this issue but I'm not sure I fully understand it, The steps are :
- Start Firefox with a fresh new profile.
- Set the Bookmarks Toolbar to be displayed.
- Open the about:support in order to find the profile folder.
- Create the userChrome.css file that contains:
#PersonalToolbar {visibility: collapse !important;}
#navigator-toolbox:hover > #PersonalToolbar {visibility: visible !important;} - Set toolkit.legacyUserProfileCustomizations.stylesheets=true in about:config.
- Restart the Firefox Browser.
Expected results should be that the Bookmarks toolbar is hidden.
Actual Results the Bookmarks toolbar is still displayed.
Did this functionality work before 68.0.1 ?
Can you retry this issue in Safe Mode? you can find the steps here: https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode
Also can you please try our latest Nightly and let us know if the issue still occurs there as well. You can find the build here: https://nightly.mozilla.org/
Reporter | ||
Comment 2•5 years ago
|
||
Thanks for working on this.
Did this functionality work before 68.0.1 ?
It should work, see below
http://kb.mozillazine.org/index.php?title=UserChrome.css&printable=yes
The problem is I can't make UserChrome.css work at all in 68.0.1. I tried the example userChrome.css of the above and it didn't work either. I put it into profile folder and profile/chrome folder, neither worked.
I tried the nightly and safe mode, neither worked.
Comment 3•5 years ago
|
||
I will set the component for it and maybe one of our developers can take a look and they will know more about this issue. Thanks for taking the time to report this problem.
Comment 4•5 years ago
•
|
||
I tested this and the preference works for me. In your steps to reproduce, you're missing the step that the userChrome.css file needs to be within a directory (create this if it doesn't exist) called "chrome".
I had to put the "chrome" directory in the "roaming" profile directory, also known as the "root directory" for the profile.
See the steps at http://kb.mozillazine.org/index.php?title=UserChrome.css&printable=yes
Reporter | ||
Comment 5•5 years ago
|
||
You're right. Thanks
Reporter | ||
Comment 6•5 years ago
|
||
That is, if putting userChrome.css into chrome folder, it worked.
Updated•3 years ago
|
Description
•