Closed Bug 1917069 Opened 1 year ago Closed 1 year ago

Dragging tabs animations broken for horizontal tabs in RTL mode when switching directionality without restarting

Categories

(Firefox :: Tabbed Browser, defect, P3)

defect

Tracking

()

VERIFIED FIXED
139 Branch
Tracking Status
firefox132 --- wontfix
firefox137 --- wontfix
firefox138 --- wontfix
firefox139 --- verified

People

(Reporter: nsharpley, Assigned: dao)

References

(Blocks 1 open bug)

Details

(Keywords: rtl)

Attachments

(2 files)

See screen recording.

Uh-oh, would you mind running mozregression to see when exactly this broke? I suspect I may have broken this in bug 1914519...

Flags: needinfo?(nsharpley)

Mozregression wasn't really helpful. It suggested 4th September as the date of regression, but I don't see any changes that would've affected it here:

app_name: firefox
build_date: 2024-09-04 04:44:55.474000
build_file: /Users/nsharpley/.mozilla/mozregression/persist/9091ecd6aef9-debug--autoland--target.dmg
build_type: integration
build_url: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/RixbMix8RnWPJfxKh2m94Q/runs/0/artifacts/public%2Fbuild%2Ftarget.dmg
changeset: 9091ecd6aef987b2da1451e958e5fe7b4db1421e
pushlog_url: https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=95497826aba24fdf743d0926c26e074a3ec11f40&tochange=9091ecd6aef987b2da1451e958e5fe7b4db1421e
repo_name: autoland
repo_url: https://hg.mozilla.org/integration/autoland
task_id: RixbMix8RnWPJfxKh2m94Q

Flags: needinfo?(nsharpley)
QA Whiteboard: [qa-regression-triage]

When I set intl.l10n.pseudo to bidi at runtime, tab dragging breaks. After restarting Firefox, tab dragging works fine in RTL mode.

So, the issue might only be with live direction switching. Perhaps this should block bug 1761758?

(In reply to Gregory Pappas [:gregp] from comment #3)

When I set intl.l10n.pseudo to bidi at runtime, tab dragging breaks. After restarting Firefox, tab dragging works fine in RTL mode.

So, the issue might only be with live direction switching. Perhaps this should block bug 1761758?

Sounds good, thanks!

Blocks: 1761758
Severity: -- → S4
Priority: -- → P3
Summary: Dragging tabs animations broken for horizontal tabs in RTL mode. → Dragging tabs animations broken for horizontal tabs in RTL mode when switching directionality without restarting

Based on comment #2, this bug contains a bisection range found by mozregression. However, the Regressed by field is still not filled.

:sfink and :noriszfay, since you are the authors of the changes in the range, if possible, could you fill the Regressed by field and investigate this regression?

For more information, please visit BugBot documentation.

Flags: needinfo?(sphink)
Flags: needinfo?(nfay)
Keywords: regression

This bug has been marked as a regression. Setting status flag for Nightly to affected.

QA Whiteboard: [qa-regression-triage]
Keywords: regression
Flags: needinfo?(nfay)

It seems very unlikely to be related to my patch, but I reproduced the issue locally and verified that the new error path I added was not getting hit.

Flags: needinfo?(sphink)

At least one issue here is likely to be that RTL_UI is cached and not updated when switching languages.

(In reply to :Gijs (he/him) from comment #8)

At least one issue here is likely to be that RTL_UI is cached and not updated when switching languages.

I suppose we should be observing intl:app-locales-changed.

Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/595e1fb27459 Make the tab strip handle live language switching between LTR and RTL. r=Gijs,reusable-components-reviewers,hjones,fxview-reviewers,sidebar-reviewers,sfoster
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch

Verified as fixed in our latest Nightly 139.0a1 (2025-04-09), I also did a bit of exploratory testing around this, moving multiple tabs and creating tab groups by drag and drop also works correctly, moving Tab groups also works great, which in older builds Moving a Tab group would not show it under the mouse cursor.

I Will update the other affected flags in case this issue will be uplifted.

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

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox138 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(dao+bmo)

Updating the main status flag.

Status: RESOLVED → VERIFIED
Flags: needinfo?(dao+bmo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: