window.RTL_UI does not update when intl.l10n.pseudo is changed
Categories
(Firefox :: Toolbars and Customization, defect, P3)
Tracking
()
People
(Reporter: Jamie, Unassigned)
References
Details
Spun off bug 1538575 comment 6. Gijs wrote:
FTR, I think it's a bug that window.RTL_UI doesn't update (which we should probably file orthogonally from whatever else we end up doing here). This is because, AIUI, we're moving towards a world where users can switch locales at runtime (which will start being possible once we finish removing DTDs and their user-unfriendly failure mode (yellow screen of death)), so anything that doesn't update for this at runtime will end up being a bug.
STR (assuming an LTR locale):
- Open the Browser Toolbox.
- In the console, enter "window.RTL_UI". Observe that the value is "false".
- Back in the browser window, set the pref intl.uidirection to 1. Observe that the UI (e.g. the toolbar) changes accordingly.
- In the toolbox console, enter "window.RTL_UI".
- Expected: true
- Actual: false
Updated•5 years ago
|
Comment 1•3 years ago
|
||
I'm removing the intl.uidirection pref in Bug 1676137.
Morphing the bug to be about intl.l10n.pseudo
, the same issue is reproducible with it.
(In step 3 in the STR above set intl.l10n.pseudo
to bidi
to reproduce)
Comment 3•3 years ago
|
||
This does not belong to Platform. The RTL_UI
is a variable set and maintained within customizeui in Firefox /browser/
components and needs to be adapted to listen to the events fired by the platform.
If there's anything needed of the platform to make this possible, please, file a separate bug and make it blocking this one.
Updated•3 years ago
|
Updated•3 years ago
|
Updated•2 years ago
|
Description
•