Closed Bug 1956314 Opened 5 months ago Closed 4 months ago

Container tabs hairline not visible in collapsed sidebar

Categories

(Firefox :: Tabbed Browser, defect, P1)

defect
Points:
3

Tracking

()

VERIFIED FIXED
139 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox136 --- unaffected
firefox137 --- unaffected
firefox138 --- verified
firefox139 --- verified

People

(Reporter: sthompson, Assigned: dao)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-tabgrps-vertical])

Attachments

(3 files)

Steps to reproduce [can add screenshots or video recordings for reference]:

  1. Enable vertical tabs
  2. Open some tab(s) as container tabs
  3. Resize the sidebar to the collapsed (minimum) size

Expected behavior [What should have happened?]:

Container tab hairline should be visible

Actual behavior [What actually happened?]:

The container tab hairlines are covered up by the sidebar's scrollbar gutter after the changes in bug 1939518.

Notes:

  • occurs in both LTR and RTL locales
  • occurs with sidebar on either side of window

:dao, since you are the author of the regressor, bug 1939518, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)

No additional info needed at this time

Flags: needinfo?(dao+bmo)

With the expanded sidebar, <tabs> takes the full width of the sidebar including the scrollbar, while tab > .tab-stack is 11px narrower so that it doesn't overlap the scrollbar at all.

With the unexpanded sidebar, <tabs> takes the full width of the sidebar including the scrollbar, but tab > .tab-stack also takes the full width. On macOS, this is cutting off the right edge of the tab background active/hover outline. It's also responsible for making the moved container line not visible.

I followed the issue down to https://searchfox.org/mozilla-central/source/browser/themes/shared/tabbrowser/tabs.css#1583 -- with this rule disabled, the .tab-stack's width is 11px narrower than the <tabs> component, which is consistent with the expanded sidebar. This makes enough clearance for the scrollbar. However, with that rule removed, the tab background active/hover outline is too small and not centered.

I think the root issue is that the unexpanded sidebar design keeps the tab icons centered in the <tabs> component. When no scrollbar is present, the tab strip looks well balanced, but when the scrollbar is present next to them, the tab icons don't look well-placed.

Set release status flags based on info from the regressing bug 1939518

Set release status flags based on info from the regressing bug 1939518

Duplicate of this bug: 1957397
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Duplicate of this bug: 1957453
Points: 1 → 3
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/81903bd5add8 Align container line with tab background in vertical tabs. r=nsharpley,tabbrowser-reviewers
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

The patch landed in nightly and beta is affected.
:dao, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox138 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)
Attachment #9477774 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

Flags: qe-verify+
Flags: needinfo?(dao+bmo)

Verified as fixed in our latest Nightly 139.0a1 (2025-04-08).

Attachment #9477774 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [qa-triaged]

Verified as fixed in our latest Beta 138.0b5

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: