locked browser.toolbars.bookmarks.visibility does not stop user from changing the bookmark visibility
Categories
(Firefox :: Toolbars and Customization, defect, P3)
Tracking
()
People
(Reporter: andmagdo, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/108.0
Steps to reproduce:
- Locked the preference browser.toolbars.bookmarks.visibility to the value newtab
- Pressed ctrl+shift+b
Actual results:
Firefox responded as if the preference was not locked. Not changing the preference, but still changing when the bookmarks bar is visible. When right-clicked, the bookmarks toolbar dropdown has 'only show on new tab' selected, even though it is set to always.
Clicking 'always show on new tab' does change the visibility back to newtab, and the other menu options do nothing.
Expected results:
Nothing; ctrl+shift+b should have been unable to change the visibility
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Comment 2•2 years ago
|
||
We should check if the pref is locked here before continuing to set the pref and change the toolbar visibility,
https://searchfox.org/mozilla-central/rev/4ebfb48f7e82251145afa4a822f970931dd06c68/browser/base/content/browser.js#6692-6704
Comment 3•2 years ago
|
||
Manage to reproduce this on Windows 10 x64, Ubuntu 20.04 x64.
Description
•