Hide sidebar launcher on panel close if it was hidden prior to panel open
Categories
(Firefox :: Sidebar, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: asafko, Assigned: sfoster)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fidefe-sidebar])
Attachments
(1 file)
As a user who prefers to keep the sidebar in the hidden state (no launcher visible on the screen), if the sidebar launcher is hidden at the moment I open a sidebar panel via a keyboard shortcut or from the Application menu > View > Sidebar, I want the launcher to go back to the hidden state when I close the panel in either of these ways:
- via a keyboard shortcut,
- by clicking the X button within the sidebar panel,
- by going to Application menu > View > Sidebar and unchecking the panel I have open.
Sample STRs:
- Make sure the sidebar is in the hidden state.
- Open the history (Ctrl + H) or bookmarks (Ctrl + B) panel via a shortcut.
- Close the history panel or bookmarks via X button.
Expected result
The panel is closed, and the launcher is hidden.
Actual result as of Firefox 146/December 2025
The panel is closed, and the launcher remains visible.
Updated•6 months ago
|
The same problem occurs with vertical tabs: I have classic tabs with the sidebar disabled. I enabled vertical tabs and then disabled them. The sidebar was automatically enabled.
Updated•5 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 6•3 months ago
|
||
(In reply to Ania from comment #0)
Expected result
The panel is closed, and the launcher is hidden.
What about the case where sidebar.visibility=="hide-sidebar", but the sidebar launcher had been toggled to visible before opening the bookmark panel? Would we expect the launcher to remain visible when closing the panel in that case (which implies a kind of stack of states?)
| Assignee | ||
Comment 7•3 months ago
|
||
- When the visibility pref is hide-sidebar, we should always return the launcher to its previous hidden-ness after a sidebar panel is closed
- New test coverage for these scenarios
Comment 10•3 months ago
|
||
Backed out for causing bc faiulres @browser_ext_sidebarAction.js.
| Assignee | ||
Comment 11•2 months ago
|
||
(In reply to agoloman from comment #10)
Backed out for causing bc faiulres @browser_ext_sidebarAction.js.
Thanks. Fixed, reviewed and re-queued for landing.
| Assignee | ||
Comment 12•2 months ago
|
||
Clearing need-info for asafko. This was quite simple: we note the visibility (hidden-ness) of the launcher when opening a panel, and when closing a panel, as long as the sidebar.visibility is hide-sidebar, we set the launcher back to the state it was in before opening the panel.
Comment 13•2 months ago
|
||
Comment 14•2 months ago
|
||
| bugherder | ||
Updated•2 months ago
|
Description
•