Native context menu on macOS doesn't support RTL
Categories
(Core :: Widget: Cocoa, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
thunderbird_esr78 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | + | verified |
firefox90 | + | verified |
People
(Reporter: itiel_yn8, Assigned: mstange)
References
(Regression)
Details
(Keywords: regression, rtl, Whiteboard: [proton-context-menus][mac:mr1] [priority:2b] [proton-uplift])
Attachments
(4 files)
(deleted),
image/png
|
Details | |
(deleted),
image/png
|
Details | |
(deleted),
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details |
(deleted),
image/png
|
Details |
Screenshot was taken from VLC context menu, macOS version is 10.15.6.
Assignee | ||
Comment 2•4 years ago
|
||
Thanks for catching this! Fix is straightforward.
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
[Tracking Requested - why for this release]: Regression for RTL users
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
Does this also affect menubar menus? (Based on the code, it should.) Would menubar menus benefit from supporting RTL, too? Or would it be better to only fix context menus and leave menubar menus untouched?
Updated•4 years ago
|
Assignee | ||
Comment 7•4 years ago
|
||
I've landed a patch which fixes this both for context menus and for menubar menus.
Chatting with the original reporter sh.yaron (cc'ed here), it makes sense to RTL the menubar as well.
Assignee | ||
Comment 9•4 years ago
|
||
Thanks!
Comment 10•4 years ago
|
||
bugherder |
Comment 11•4 years ago
|
||
Is that needed for 89 or can this ride the 90 train?
Assignee | ||
Comment 12•4 years ago
|
||
This seems like a somewhat serious regression for RTL users, so I think it's worth uplifting to 89.
Assignee | ||
Comment 13•4 years ago
|
||
sh.yaron, the patch is in the latest Nightly. Could you check if things now behave the way you would expect? I'm especially interested in whether the menubar menus now look acceptable or if there is any odd-looking mixing of LTR and RTL directions.
Comment 14•3 years ago
|
||
This is the top bar after the fix with latest nightly.
The context menus look great, thank you.
Comment 15•3 years ago
|
||
The patch landed in nightly and beta is affected.
:mstange, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Comment 16•3 years ago
|
||
Can we please uplift to Beta 89?
Assignee | ||
Comment 17•3 years ago
|
||
(In reply to Yaron Shahrabani from comment #14)
Created attachment 9221932 [details]
Top bar still aligned to the left
Thanks, I've filed bug 1711618 for that.
Assignee | ||
Comment 18•3 years ago
|
||
Comment on attachment 9221211 [details]
Bug 1710507 - Make native menus respect the XUL element's directionality. r=emilio
Beta/Release Uplift Approval Request
- User impact if declined: In RTL locales, context menus will be displayed with left-to-right layout instead of right-to-left. This is a regression compared to non-native context menus.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small fix, only affects RTL locales
- String changes made/needed:
Assignee | ||
Updated•3 years ago
|
Comment 19•3 years ago
|
||
Comment on attachment 9221211 [details]
Bug 1710507 - Make native menus respect the XUL element's directionality. r=emilio
This is a major regression for RTL languages, approved for 89 beta 14, thanks.
Updated•3 years ago
|
Comment 20•3 years ago
|
||
bugherder uplift |
Comment 21•3 years ago
|
||
Reproduced using an affected Nightly build from 2021-05-10, verified that the context menu is displayed correctly from right to left on using ar
and he
build of latest Nightly, also using intl.l10n.pseudo - bidi
.
Comment 22•3 years ago
|
||
Also verified as fixed using latest Firefox Beta 89.0b14 on macOS 11.3.
Updated•3 years ago
|
Description
•