Active Tabs should remain active for collapsed Tab groups
Categories
(Firefox :: Tabbed Browser, enhancement, P2)
Tracking
()
People
(Reporter: rdoghi, Assigned: dwalker)
References
(Depends on 1 open bug, Blocks 3 open bugs, Regressed 1 open bug)
Details
(Whiteboard: [fidefe-tabgrps-tabbrowser])
Attachments
(2 files)
Found in
- 137.0a1 (2025-02-20)
Affected versions
- 137.0a1 (2025-02-20)
Affected platforms
- all
Preconditions
- NA
Steps to reproduce
- Create a Tab group.
- Select any Tab from the Tab group.
- Collapse the Tab group.
Expected result
- The Active tab should still be displayed.
An indicator showing that the Active Tab is inside that Tab group is also needed for when we have a lot of collapsed tab groups.
Actual result
- The Moment we collapse a tab group it will jump to either a new tab or a different available tab.
Some users would collapse the tab group instead of scrolling in order to see more tabs, but they wouldnt want to switch the active tab from the page they were on. Jumping to a different active tab without users input might not be ideal when they simply collapse the Tab group.
Regression range
Not a Regression
Updated•6 months ago
|
Updated•6 months ago
|
Assignee | ||
Updated•2 months ago
|
Assignee | ||
Updated•2 months ago
|
Comment 1•2 months ago
|
||
Notes about what we need to change/preserve when doing this work:
- Add a third state for tab groups (“semi-collapsed”) to control styling (horizontal and vertical)
- Keep track of group tab count to display overflow indicator (horizontal and vertical)
- Ensure active tab is not considered hidden when in a collapsed group
- Ensure active tab is in aria focus order when in a collapsed group
- List all tabs menu should display the active tab even if it’s in a collapsed group
- Ensure a semi-collapsed group displays correctly when restoring a session
- Ensure we blur correctly when closing the active tab in a collapsed group
- Ensure we transition to open/collapsed/semicollapsed correctly when closing the active tab in a collapsed group
Assignee | ||
Comment 2•2 months ago
|
||
Updated•2 months ago
|
Reporter | ||
Comment 5•1 month ago
|
||
This is so cool, how it also shows the number of tabs in that group.. This issue is verified as fixed in our latest Nightly build 142.0a1 (2025-07-03). Love this upgrade to Tab groups.
Reporter | ||
Comment 6•1 month ago
|
||
Can someone take a look at this issue, I think this fix is causing it.
When we try to move tabs with the Vertical Sidebar the Tabs are no longer displayed underneath the actual mouse cursor and I think it happens because of the extra +nr of tabs from the collapsed groups, I also noticed that not all of them will show that number, it usually enables if we collapse a group with an active tab in it. Please take a look at the video.
Let me know if I should log a separate issue for this, also what is the correct behavior should the extra +tab nr show up for each collapsed group or not ?
Reporter | ||
Updated•1 month ago
|
Assignee | ||
Comment 7•1 month ago
•
|
||
(In reply to Rares Doghi, Desktop QA from comment #6)
Created attachment 9498329 [details]
DragTab.mp4Can someone take a look at this issue, I think this fix is causing it.
When we try to move tabs with the Vertical Sidebar the Tabs are no longer displayed underneath the actual mouse cursor and I think it happens because of the extra +nr of tabs from the collapsed groups, I also noticed that not all of them will show that number, it usually enables if we collapse a group with an active tab in it. Please take a look at the video.Let me know if I should log a separate issue for this, also what is the correct behavior should the extra +tab nr show up for each collapsed group or not ?
I just filed bug 1975486 to address this. The overflow counter should not display at all if the group doesn't contain the active tab, but there is a bug that occurs when switching between horizontal and vertical tabs mode.
Assignee | ||
Updated•1 month ago
|
Updated•28 days ago
|
Reporter | ||
Comment 8•28 days ago
|
||
Updating the main status flag.
Description
•