The height of the pinned tabs area should be responsive to the number of pins
Categories
(Firefox :: Sidebar, defect, P2)
Tracking
()
People
(Reporter: asafko, Assigned: chimaifeanyi29, Mentored)
References
Details
(Keywords: good-first-bug, Whiteboard: [fidefe-sidebar][outreachy-sidebar-2026])
Attachments
(1 file)
Prerequisites
Vertical tabs ON, latest Nightly build.
STR
- Set the pinned tabs area height to maximum on a fairly narrow sidebar width.
- Resizing the sidebar up
- Resizing the sidebar down.
Expected result
Since I have set max height for the pinned tabs are, we should remember the setting on resizing down. The height of the pinned tabs area should always be maximized for a given sidebar width, ensuring that all pins are visible at all times.
Actual result*
Upon resizing the sidebar down, the pinned tabs area height I set is not remembered. Instead the heigh of the pinned tabs corresponds to the number of rows of pinned tabs displayed at the maximum width of the sidebar I reached in step 2. For instance, if I made the sidebar wide enough to display all my pins in one row, my pinned tabs area in step 3 will be limited to one row.
We agreed to interpret pulling the splitter down to give the pinned tabs area max height as a reset of the pref with the user-set height. When it is done, we will go back to auto-adjusting the height of the pinned tabs area based on the contents (number of pinned tabs).
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Comment 2•10 months ago
|
||
Also noting that we should not be overriding the custom user-preferred height when we are adjusting the height to prevent a gap/space between pinned and unpinned tabs.
Updated•1 month ago
|
Hi, Kelly. care to add a label for outreachy :)
Here is a revision like you asked, https://phabricator.services.mozilla.com/D290058
Updated•1 month ago
|
Backed out for causing bc failures at browser_vertical_tabs.js
Backout link
Push with failures
Failure log(s)
Failure line: TEST-UNEXPECTED-FAIL | browser/components/sidebar/tests/browser/browser_vertical_tabs.js | test_toggle_vertical_tabs - Tabstrip now has three tabs - Got 4, expected 3
Comment 9•1 month ago
|
||
:japandi you'll need to resolve the test failure described in comment 8 above before we can re-land this
| Assignee | ||
Comment 10•1 month ago
|
||
:kcochrane I have already. while you were Out of Work April 1-3
Comment 11•1 month ago
|
||
Gotcha, attempting to re-land now
Updated•1 month ago
|
Comment 12•1 month ago
|
||
Comment 13•1 month ago
|
||
Comment 14•1 month ago
|
||
Comment 15•1 month ago
|
||
| bugherder | ||
Comment 16•1 month ago
|
||
Comment 17•1 month ago
|
||
Backed out for causing bc failures @browser_vertical_tabs.js.
Comment 18•1 month ago
|
||
Comment 19•1 month ago
|
||
| bugherder | ||
Updated•1 month ago
|
Updated•28 days ago
|
Description
•