Closed Bug 1643935 Opened 5 years ago Closed 5 years ago

Firefox RTL: #restore-button border is wrongly positioned

Categories

(Firefox :: Toolbars and Customization, defect, P1)

77 Branch
defect

Tracking

()

RESOLVED FIXED
Firefox 79
Tracking Status
firefox-esr68 --- unaffected
firefox77 --- wontfix
firefox78 --- fixed
firefox79 --- verified

People

(Reporter: mvocom, Assigned: itiel_yn8)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

Press F11.
Hover over the top.

Actual results:

The #restore-button is not displayed correctly due to the following rule added in FF 77.

#restore-button > .toolbarbutton-icon:-moz-locale-dir(rtl) {
  transform: scaleX(-1);
}

Regardless, I don't understand why the button should be transformed.
In Windows programs (e.g. Notepad) the top "window" in that button is on the left.
Actually, transforming the restore-button when NOT in full-screen would be better (I don't think this is really important either).

Thanks for reporting!

(In reply to Yaron from comment #0)

Regardless, I don't understand why the button should be transformed.
In Windows programs (e.g. Notepad) the top "window" in that button is on the left.

The button is actually already transformed:
https://searchfox.org/mozilla-central/rev/6dc530332ceb86c9d196c1afe8ba5c90c26be898/browser/themes/windows/browser.css#502
The problem is that after bug 1631278, the button is transformed twice, causing this issue.

Assignee: nobody → itiel_yn8
Status: UNCONFIRMED → ASSIGNED
Component: Untriaged → Toolbars and Customization
Ever confirmed: true
Keywords: regression
Regressed by: 1631278
Has Regression Range: --- → yes

Thank you Itiel. I appreciate it.

Attachment #9154783 - Attachment description: Bug 1643935 - Don't mirror the restore button in full-screen mode on Windows 7 r?gijs → Bug 1643935 - Don't re-mirror the restore button in full-screen mode on Windows 7 r?gijs
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a0a1bf534329 Don't re-mirror the restore button in full-screen mode on Windows 7 r=Gijs

Set release status flags based on info from the regressing bug 1631278

Severity: -- → S3
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79

Thank you all.

(In reply to Yaron from comment #7)

Thank you all.

Can you please verify this is fixed for you now on Nightly?

Flags: needinfo?(mvocom)

(In reply to Itiel from comment #8)

Can you please verify this is fixed for you now on Nightly?

Yes, it is fixed on Nightly.

Thanks again.

Flags: needinfo?(mvocom)

Comment on attachment 9154783 [details]
Bug 1643935 - Don't re-mirror the restore button in full-screen mode on Windows 7 r?gijs

Beta/Release Uplift Approval Request

  • User impact if declined: The Restore window control button is displayed incorrectly on RTL for Windows 7 users, when in full-screen mode.
  • Is this code covered by automated tests?: No
  • 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): Small CSS-only patch that targets Windows 7 only.
  • String changes made/needed: None
Attachment #9154783 - Flags: approval-mozilla-beta?

Comment on attachment 9154783 [details]
Bug 1643935 - Don't re-mirror the restore button in full-screen mode on Windows 7 r?gijs

approved for 78.0b6

Attachment #9154783 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Updating flag based on reply from comment 9.

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

Attachment

General

Creator:
Created:
Updated:
Size: