Open Bug 1501390 Opened 7 years ago Updated 3 years ago

[RTL] With tabs in title disabled, the title bar context menu is LTR

Categories

(Core :: Widget: Win32, defect, P2)

Unspecified
Windows
defect

Tracking

()

Tracking Status
firefox66 --- wontfix
firefox67 --- affected
firefox68 --- affected

People

(Reporter: itiel_yn8, Unassigned)

References

Details

(Keywords: polish, rtl, Whiteboard: widget-next)

Attachments

(2 files)

This is probably a dupe of an older bug, just couldn't find it. STR: 1. (Not sure if this one is a necessity) Be on an RTL Windows system 2. Change intl.uidirection to 1 3. Menu > Customize... > Enable "Title Bar" 4. Right click the title bar AR: Context menu is LTR. ER: Should be RTL. (fwiw, built-in Windows applications behave correctly, including other non-Windows ones)
Has STR: --- → yes
OS: Unspecified → Windows
Attached image Screenshot
Component: General → Menus
I think this is a system menu, so I dunno how we're meant to tell it to appear RTL (or how we're managing to tell it to appear LTR today)... agashlin, do you know?
Flags: needinfo?(agashlin)
Moving this over to widget at least for now - if this does need a frontend change we can move it back, and/or maybe this wants being in Core :: I18n or something?
Component: Menus → Widget: Win32
Product: Firefox → Core
(In reply to :Gijs (he/him) from comment #2) > I think this is a system menu, so I dunno how we're meant to tell it to > appear RTL (or how we're managing to tell it to appear LTR today)... Yes, this is a system menu. I think this is the default behaviour if it's not specified in the code. See attached for how the menu appears on RTL'd TeamViewer (the same can be said about other properly RTL'd apps like CDBurnerXP).
This is from WinRAR's developer on how it should be done: > I think, it depends on SetProcessDefaultLayout(LAYOUT_RTL) call: > WinRAR calls this function: > https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-setprocessdefaultlayout > before creating the main window.
Adam is pretty busy with update work right now, but he should have some cycles for this in Q1.
Keywords: polish
Priority: -- → P2
Priority: P2 → P3
Whiteboard: widget-next

I kept meaning to get back to this, but I'm not going to have time to look into it, sorry for letting it sit for so long. Jim, could you take a look or redirect?

Flags: needinfo?(agashlin) → needinfo?(jmathies)
Flags: needinfo?(jmathies)
Priority: P3 → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: