Closed Bug 1986587 Opened 7 months ago Closed 5 months ago

Layout disorder when moving active tab in collapsed group with other tabs

Categories

(Firefox :: Tabbed Browser, defect, P2)

Firefox 144
Desktop
All
defect
Points:
3

Tracking

()

VERIFIED FIXED
146 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr140 --- wontfix
firefox144 --- wontfix
firefox145 --- verified
firefox146 --- verified

People

(Reporter: mercichao, Assigned: dwalker)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [fidefe-tabgrps])

Attachments

(5 files)

Steps to reproduce:

  1. Select a tab in a tab group, then collapse the group ([hasactivetab][collapsed]);
  2. Press Ctrl to select other tabs;
  3. Click on the active tab in group, drag around, an empty space is left in the tab strip (which shouldn't);
  4. Drop, the transform isn't removed from the dragged tabs (which shouldn't).

Actual results:

Like the steps said.

Expected results:

Not allowing to move the active tab with external tabs, or handle the behavior well.

Component: Untriaged → Tabbed Browser
Summary: Moving active tab in collapsed group with external tabs triggers exception → Layout disorder when moving active tab in collapsed group with other tabs
Attached video record.mp4
Attached video record2.mp4

Marking issue as New as I was able to reproduce it on Win11x64 using FF build 144.0a1(20250905010130) and steps from description.

Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → Desktop
Blocks: tab-groups
Severity: -- → S3
Priority: -- → P2
Whiteboard: [fidefe-tabgrps]
Points: --- → 3
Assignee: nobody → dwalker
Pushed by dwalker@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a3ba6e7998da https://hg.mozilla.org/integration/autoland/rev/0a9297d3e8f5 Ensure multiselected tabs in collapsed groups remain visible. r=sthompson,tabbrowser-reviewers

firefox-beta Uplift Approval Request

  • User impact if declined: Users may experience glitches when dragging multiselected tabs, if one of those tabs is in a collapsed group
  • Code covered by automated testing: no
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: 1. create a tab group with multiple tabs
  1. create a new tab outside of the group
  2. select a grouped tab and collapse the group. The selected tab will remain visible
  3. perform a multiselection to select both the grouped tab and the ungrouped tab
  4. drag either of the selected tabs to reposition the multiselection on the tabstrip.

Without the patch applied, visual glitches occur. Initiating drag from the ungrouped tab will keep the grouped tab trapped in the group. With the patch applied, dragging the multiselected group works normally.

  • Risk associated with taking this patch: low
  • Explanation of risk level: Small in size and scope, changes visibility calculation for multiselected tabs in tab groups
  • String changes made/needed: N/A
  • Is Android affected?: no
Attachment #9523312 - Flags: approval-mozilla-beta?
Flags: qe-verify+
Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch

Since nightly and release are affected, beta will likely be affected too.
For more information, please visit BugBot documentation.

Attachment #9523312 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
QA Whiteboard: [uplift] [qa-ver-needed-c146/b145]

Verified on Win11x64 using FF build 146.0a1(20251030094725), that there is no gap after dropping the tabs.
Waiting for 145.0 build to check there.

Merci chao, does the issue still reproduce on your end on latest nightly? Thank you.

Flags: needinfo?(mercichao)

(In reply to Monica Chiorean from comment #11)

Verified on Win11x64 using FF build 146.0a1(20251030094725), that there is no gap after dropping the tabs.
Waiting for 145.0 build to check there.

Merci chao, does the issue still reproduce on your end on latest nightly? Thank you.

The issue has been resolved, but letting the multiselected tabs visible in group introduces a new issue, though it's more acceptable.

Attached video record.mp4
Flags: needinfo?(mercichao)

Thanks for trying it out, Merci chao! I filed bug 1997587 to capture this bug.

Verified on Win11x64 using FF build 145.0b9.

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift] [qa-ver-needed-c146/b145] → [uplift] [qa-ver-done-c146/b145]
Flags: qe-verify+
QA Contact: mchiorean
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: