Closed Bug 1983124 Opened 1 year ago Closed 1 year ago

Allow tab stacking while dragging multiple tabs

Categories

(Firefox :: Tabbed Browser, task)

task

Tracking

()

VERIFIED FIXED
146 Branch
Tracking Status
firefox144 --- wontfix
firefox145 --- wontfix
firefox146 --- verified

People

(Reporter: kcochrane, Assigned: nsharpley)

References

(Blocks 4 open bugs)

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(2 external files)

To reduce complexity for drag to pin, we should explore ways of visually stacking tabs while dragging both horizontal tabs and vertical tabs. We should initially create a minimal height stacking effect on the dragged tab (outset border/outline and/or drop shadow maybe) to try to utilize existing code for dragging a single tab. We can iterate on this and explore animations and updates as needed.

Here's a spec exploring several options, but don't need to necessarily implement things this way initially.

Blocks: 1970666

I concur.

I challenge someone in the developer team to create a window with, say 50-100 tabs, select a set of tabs that span more the entire window width (or height), and then drag them accurately a few tabs to the left or right, or to be the first tabs in the window, drag them anywhere and not accidentally drag onto another tab to make a group.

Stacking tabs will help this a lot, although overall dragging tabs should get more attention to prevent accidental results.

(Doing something like this, I also find it's too easy to accidentally pin the tabs. but that's another issue)

Assignee: nobody → nsharpley
Attachment #9511756 - Attachment description: WIP: Bug 1983124 - Stack dragged tabs when dragging multiple tabs → Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers
Attachment #9511756 - Attachment description: Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers → WIP: Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers
Attachment #9511756 - Attachment description: WIP: Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers → Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers
Attachment #9511756 - Attachment description: Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers → WIP: Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers
Attachment #9511756 - Attachment description: WIP: Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers → Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=#tabbrowser-reviewers
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/458bed4c1a8c https://hg.mozilla.org/integration/autoland/rev/d4d2f6a227f7 Convert functions prefixed with # to _ to be used by extended class r=sclements,tabbrowser-reviewers
Pushed by pstanciu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1c0b5682e7ed https://hg.mozilla.org/integration/autoland/rev/36820729363c Revert "Bug 1983124 - Convert functions prefixed with # to _ to be used by extended class r=sclements,tabbrowser-reviewers" for causing mochitest failures @ browser_tabdetach.js
Flags: needinfo?(nsharpley)
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/e2f09c00452e https://hg.mozilla.org/integration/autoland/rev/e55e09a63978 Convert functions prefixed with # to _ to be used by extended class r=sclements,tabbrowser-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/46ab4c9b906c https://hg.mozilla.org/integration/autoland/rev/834e09bdb432 Stack dragged tabs when dragging multiple tabs r=tabbrowser-reviewers,desktop-theme-reviewers,sclements,sthompson
Pushed by smolnar@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/446d2cfd6548 https://hg.mozilla.org/integration/autoland/rev/b5439b43a2bd Revert "Bug 1983124 - Stack dragged tabs when dragging multiple tabs r=tabbrowser-reviewers,desktop-theme-reviewers,sclements,sthompson" for causing bc failures @ browser_tabdetach.js
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/11f72ce6004c https://hg.mozilla.org/integration/autoland/rev/4f6b5c3dbd96 Stack dragged tabs when dragging multiple tabs r=tabbrowser-reviewers,desktop-theme-reviewers,sclements,sthompson
Regressions: 1995687
Status: REOPENED → RESOLVED
Closed: 1 year ago → 1 year ago
Resolution: --- → FIXED

This issue is verified as fixed in our latest Nightly 146.0a1 (2025-10-22)

QA Whiteboard: [qa-ver-needed-c146/b145]
QA Contact: rdoghi
Blocks: 1996300
Blocks: 1996302
Blocks: 1996307

Updating the main status flag.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-ver-needed-c146/b145] → [qa-ver-done-c146/b145]

This feature is behind a pref browser.tabs.dragDrop.multiselectStacking that's only enabled in Nightly. dmeehan, since there's quite a few regressions being collected should I change the tracking status to this to 146 disabled or 146 verified disabled?

Flags: needinfo?(nsharpley) → needinfo?(dmeehan)
Depends on: 1997322
Blocks: 1997322
No longer depends on: 1997322

(In reply to Sarah Clements [:sclements] from comment #17)

This feature is behind a pref browser.tabs.dragDrop.multiselectStacking that's only enabled in Nightly. dmeehan, since there's quite a few regressions being collected should I change the tracking status to this to 146 disabled or 146 verified disabled?

:sclements, the status here reflects that the patch landed in Nightly, so should not be changed.
Though the regressions can have their Fx146 status changed to disabled when Fx146 rides the train to beta.

Flags: needinfo?(dmeehan)

Side note to comment 18.
The regressions look pretty bad for those that hit them, especially Bug 1996863.
Should this even be disabled in Nightly for now, or do you plan on fixing them soon?

Flags: needinfo?(sclements)

(In reply to Donal Meehan [:dmeehan] from comment #19)

Side note to comment 18.
The regressions look pretty bad for those that hit them, especially Bug 1996863.
Should this even be disabled in Nightly for now, or do you plan on fixing them soon?

I've only just been notified about this, and yes they will be a priority. One of us will report back to determine if the performance issue is a quick fix or not.

Flags: needinfo?(sclements)

This feature is behind a pref browser.tabs.dragDrop.multiselectStacking that's only enabled in Nightly.

Disabling the pref does NOT undo some of the changes here, which include a lot of extra padding around pinned tabs and apparently (but less obviously) normal tabs as well. If you were using a lot of pinned tabs, then after this change you have no more room for normal tabs.

Regressions: 1998519
Regressions: 2004608
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: