[Horizontal tabs mode] Sidebar button should show/hide the sidebar
Categories
(Firefox :: Sidebar, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox136 | --- | verified |
People
(Reporter: asafko, Assigned: nsharpley, NeedInfo)
References
(Blocks 1 open bug, Regressed 1 open bug)
Details
(Whiteboard: [fidefe-sidebar])
Attachments
(1 file)
Current behavior in horizontal tabs mode:
- Clicking on the collapsed sidebar expands it to display icons with labels.
- Clicking on the expanded sidebar collapses it back to icon-only view.
Amended desired behavior in horizontal tabs mode:
-
Expanded sidebar state is no longer available in horizontal tabs mode.
-
Clicking on the sidebar button hides the collapsed sidebar or returns it into view, if it was already hidden.
1a. If a panel was open when the collapsed sidebar was hidden, the sidebar returns into view with the same panel open. -
The sidebar button tooltip in the horizontal tabs mode is:
Show sidebar (%platform-specific-keyboard shortcut%)
Hide sidebar (%platform-specific-keyboard shortcut%)
Tagging Katie here to review the strings and check if they need any updates.
Updated•2 months ago
|
Comment 1•27 days ago
|
||
A note that Kelly's patch for expand-on-hover in bug 1930201 removes the auto-collapsing behavior.
Updated•27 days ago
|
Assignee | ||
Updated•27 days ago
|
Comment 2•26 days ago
•
|
||
Nikki, there's some changes to the Customize Sidebar settings in bug 1939917 that would probably make sense to do in this patch. What do you think?
Sidebar settings Controls: Checkboxes
*Options for horizontal tabs mode:
Show sidebar
Show sidebar on the right
*Options for vertical tabs mode:
Expand sidebar on hover
Show sidebar on the right
I think as part of this change, if a user switches from "expand on hover" setting to "show sidebar" then vertical tabs should also revert to horizontal tabs to avoid the issue now where a user can get into a state of having the sidebar hidden and no tabs.
Assignee | ||
Comment 3•26 days ago
|
||
Agreed! I'll include those changes in this bug.
I think as part of this change, if a user switches from "expand on hover" setting to "show sidebar" then vertical tabs should also revert to horizontal tabs to avoid the issue now where a user can get into a state of having the sidebar hidden and no tabs.
I think that makes sense.
Just confirming that, for horizontal tab users, the strings that Ania noted are good to go!
The sidebar button tooltip in the horizontal tabs mode is:
Show sidebar (%platform-specific-keyboard shortcut%)
Hide sidebar (%platform-specific-keyboard shortcut%)
Assignee | ||
Comment 5•17 days ago
|
||
Updated•12 days ago
|
Comment 7•9 days ago
|
||
Backed out for causing bc failures @ browser_sidebar_keys.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/4aaa5b3d2ce735ac377e027d5f5826d0767c4bb5
TEST-PASS | browser/base/content/test/sidebar/browser_sidebar_keys.js | Sidebar is closed -
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - Buffered messages finished
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - TEST-UNEXPECTED-FAIL | browser/base/content/test/sidebar/browser_sidebar_keys.js | Sidebar widget background should appear unchecked - 0.30000001192092896 == 0 -
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - Stack trace:
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - chrome://mochitests/content/browser/browser/base/content/test/sidebar/browser_sidebar_keys.js:test_sidebar_in_customize_mode:107
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - chrome://mochikit/content/browser-test.js:handleTask:1147
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - chrome://mochikit/content/browser-test.js:_runTaskBasedTest:1219
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - chrome://mochikit/content/browser-test.js:Tester_execTest:1360
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - chrome://mochikit/content/browser-test.js:nextTest/<:1136
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:SimpleTest.waitForFocus/<:1058
[task 2025-01-24T22:21:55.433Z] 22:21:55 INFO - Leaving test bound test_sidebar_in_customize_mode
[task 2025-01-24T22:21:55.735Z] 22:21:55 INFO - GECKO(1059) | MEMORY STAT | vsize 11469MB | residentFast 524MB | heapAllocated 266MB
[task 2025-01-24T22:21:55.736Z] 22:21:55 INFO - TEST-OK | browser/base/content/test/sidebar/browser_sidebar_keys.js | took 1950ms
Backed out for causing bc failures.
- Backout link
————————————————————————————————————
Bc failures @browser_glean_sidebar.js. - Push with failures
- Failure Log
————————————————————————————————————
Bc failures @browser_toolbarButtonKeyPress.js - Push with failures
- Failure Log
Comment 10•6 days ago
|
||
Comment 11•6 days ago
|
||
Comment 12•6 days ago
|
||
Comment 13•5 days ago
|
||
bugherder |
Comment 14•3 days ago
|
||
Verified as fixed in our latest Nightly build 136.0a1 (2025-01-30).
Description
•