Closed Bug 1717182 Opened 3 years ago Closed 3 years ago

Make nsWindows::mIsRTL dynamic on Windows

Categories

(Core :: Widget: Win32, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
91 Branch
Tracking Status
firefox91 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

References

Details

Attachments

(1 file)

When RTL mode is changed after window open on HCM, we see 2 caption buttons like the following.
https://bugzilla.mozilla.org/show_bug.cgi?id=1715990#c1

Assignee: nobody → sotaro.ikeda.g
Blocks: 1715990

On current m-c, nsWindows::mIsRTL is initialized in nsWindow::Create() and it is not updated after the initialization.

Pushed by sikeda.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/064d1e04ff9f
Make nsWindows::mIsRTL dynamic on Windows r=jrmuizel,gfx-reviewers
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 91 Branch

Thank you Sotaro.
Can you push it to Firefox 90?

Comment on attachment 9227838 [details]
Bug 1717182 - Make nsWindows::mIsRTL dynamic on Windows

Beta/Release Uplift Approval Request

  • User impact if declined: 2 caption buttons are shown on top left and top right of a window when Hebrew langpack is installed on English version Firefox during high contrast mode is enabled on Windows 10.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • 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): The change only made nsWindows::mIsRTL dynamic on Windows. And it affect only when RTL is changed dynamically during high contrast mode on Windows.
  • String changes made/needed: none
Attachment #9227838 - Flags: approval-mozilla-beta?
Attachment #9227838 - Flags: approval-mozilla-beta?

Cancel the uplift request, it might cause regression on Window 7. It is not clear yet.

(In reply to Sotaro Ikeda [:sotaro] from comment #7)

Cancel the uplift request, it might cause regression on Window 7. It is not clear yet.

It seems like a bug of WebRender(Software D3D11). See Bug 1718497.

Sotaro,

Thank you. I appreciate your work.

Blocks: 1714965
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: