Closed Bug 1996307 Opened 1 year ago Closed 1 year ago

When "gReduceMotion = true" and tab stacking is configured, background tabs shift incorrectly.

Categories

(Firefox :: Tabbed Browser, defect, P2)

defect

Tracking

()

VERIFIED FIXED
146 Branch
Tracking Status
firefox-esr140 --- disabled
firefox144 --- disabled
firefox145 --- disabled
firefox146 --- verified

People

(Reporter: nsharpley, Assigned: nsharpley)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-sidebar])

Attachments

(1 file, 1 external file)

STR:
Set "gReduceMotionOverride = true" in the console and "browser.tabs.dragDrop.multiselectStacking" to true in about:config. Try multiselecting and dragging tabs. The background tabs move to the wrong position. I suspect this is because isAnimatingMoveTogetherSelectedTabs is false even though the background tabs are still moving, which then results in _updateTabStylesOnDrag setting the wrong position on each tab.

QA Contact: rdoghi
Assignee: nobody → nsharpley
Attachment #9523026 - Attachment description: WIP: Bug 1996307 - When "gReduceMotion = true" and tab stacking is configured, background tabs shift incorrectly. → Bug 1996307 - When "gReduceMotion = true" and tab stacking is configured, background tabs shift incorrectly. r=sthompson
Pushed by nsharpley@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/097fef611290 https://hg.mozilla.org/integration/autoland/rev/eb3c6b105450 When "gReduceMotion = true" and tab stacking is configured, background tabs shift incorrectly. r=sthompson,tabbrowser-reviewers
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 146 Branch

Hi @Nikki, Im trying to reproduce this issue in our Nightly builds with the animations turned off and I cant seem to reproduce it at all, the tab I drag is always on top, is there a different way to reproduce this issue ?

Flags: needinfo?(nsharpley)
Blocks: 1997322

Hi Rares. If you have several tabs and multiselect and drag a couple of tabs, the non-dragged tabs shift to leave space for all selected tabs rather than just the top one. This fix should ensure the same behaviour of background tabs shifting as with animation on.

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

Oh I see what the issue was, I get it now, Thanks for clearing that up. This issue is verified as fixed in our latest Nightly 146.0a1 (2025-10-30)

Updating the flags since this is a new feature.

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

Attachment

General

Created:
Updated:
Size: