Closed Bug 1982933 Opened 2 months ago Closed 2 months ago

Dragging multiselected tabs is broken in horizontal mode when moving selected tabs together

Categories

(Firefox :: Tabbed Browser, defect, P1)

Firefox 142
defect

Tracking

()

VERIFIED FIXED
144 Branch
Tracking Status
relnote-firefox --- 142+
firefox-esr128 --- unaffected
firefox-esr140 --- unaffected
firefox141 --- unaffected
firefox142 + verified
firefox143 + verified
firefox144 + verified

People

(Reporter: nsharpley, Assigned: nsharpley)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression, Whiteboard: [fidefe-sidebar])

Attachments

(4 files, 1 obsolete file)

STR:

  1. Open enough tabs without overflowing
  2. Select more than one tab not adjacent to each other
  3. Drag those tabs

Expected result:
Selected tabs move next to each other when dragged and background tabs shift to fit their new position

Actual:
All background tabs shift to the left and the selected tabs are not adjacent.

Using _lockTabSizing removed the transitions needed to position tabs when
not adjacent tabs were multiselected and dragged. This ensures the transtion
remains.

Assignee: nobody → nsharpley
Status: NEW → ASSIGNED

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

[Tracking Requested - why for this release]: Recent regression in primary UI, we'll probably want to uplift a fix here.

Severity: -- → S2
Priority: -- → P1
Blocks: 1970666
Whiteboard: [fidefe-sidebar]

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

:nikkis any update on the patch for this? Are we still targeting a 142 planned dot release to fix this?

Flags: needinfo?(nsharpley)
See Also: → 1982570

:diannaS, looking at landing today and uplifting for dot release. Thanks!

Flags: needinfo?(nsharpley) → needinfo?(dsmith)
Flags: needinfo?(dsmith)

Using _lockTabSizing removed the transitions needed to position tabs when not adjacent tabs were multiselected and dragged. This ensures the transtion remains for tabs when multiselected.

Attachment #9508601 - Flags: approval-mozilla-release?
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/a743b863c1c7 https://hg.mozilla.org/integration/autoland/rev/b4b5d26afead Fix dragging multiselected tabs in horizontal mode when moving selected tabs together r=sthompson,tabbrowser-reviewers
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 144 Branch

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

For more information, please visit BugBot documentation.

Flags: needinfo?(nsharpley)

Using _lockTabSizing removed the transitions needed to position tabs when
not adjacent tabs were multiselected and dragged. This ensures the transtion
remains for tabs when multiselected.

Original Revision: https://phabricator.services.mozilla.com/D261044

Attachment #9508801 - Flags: approval-mozilla-beta?

firefox-beta Uplift Approval Request

  • User impact if declined: Unable to drag multiselected tabs that aren't contiguous
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Multiselect tabs that aren't contiguous and attempt to drag. The tabs should drag together.
  • Risk associated with taking this patch: Low
  • Explanation of risk level: Manually tested and doesn't appear to break drag and drop.
  • String changes made/needed: N/A
  • Is Android affected?: no
Flags: qe-verify+
Flags: in-testsuite+
Flags: in-testsuite+ → in-testsuite?
Attachment #9508801 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

firefox-release Uplift Approval Request

  • User impact if declined: Users cannot drag multiple non-contiguous tabs when tab strip is not overflowing. Tabs will overlap during drag. Additional empty space will accumulate at the end of the tab strip after drag operations.
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: Horizontal tab strip should have several tabs but not be overflowing. Multi-select tabs that are not next to each other. Once you start dragging, the selected tabs should move together, the tabs should move with the cursor, and the tabs should drop into the appropriate position. It may be valuable to perform smoke tests against other drag-drop functionality to ensure no additional regressions.
  • Risk associated with taking this patch: Medium
  • Explanation of risk level: Recent drag-drop changes have had a high rate of unintended regressions
  • String changes made/needed: No
  • Is Android affected?: no
QA Whiteboard: [uplift] [qa-ver-needed-c144/b143]

Verified fixed using Nightly 144.0a1 (20250824214058) and Beta 143.0b4 (20250822165421) on Windows 10, MacOS 15.5 and Ubuntu 24.04.

Attachment #9508601 - Flags: approval-mozilla-release? → approval-mozilla-release+

Verified fixed on Firefox 142.0.1 (20250825204858)

Status: RESOLVED → VERIFIED
QA Whiteboard: [uplift] [qa-ver-needed-c144/b143] → [uplift][qa-ver-done-c144/b143/r142]
Flags: qe-verify+
Blocks: 1982570
See Also: 1982570
Blocks: 1984342
Duplicate of this bug: 1985462
Duplicate of this bug: 1985055
Attachment #9508246 - Attachment is obsolete: true
Flags: needinfo?(nsharpley)
Duplicate of this bug: 1986204
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: