"Launch Application" window's "Cancel" button should be right of the "Open link" button on Windows
Categories
(Firefox :: File Handling, defect, P1)
Tracking
()
People
(Reporter: cpeterson, Assigned: Gijs)
References
Details
Attachments
(2 files)
|
636.35 KB,
image/jpeg
|
Details | |
|
47 bytes,
text/x-phabricator-request
|
pascalc
:
approval-mozilla-beta+
|
Details | Review |
Firefox's "Launch Application" window's "Cancel" button is on the left of the "Open link" button, but Windows' UI convention is that "Cancel" buttons should be on the right. (macOS's UI convention is for "Cancel" buttons to be on the left.) See the attached screenshot comparing Firefox's "Launch Application" window and Windows' own file picker dialog.
| Assignee | ||
Comment 1•6 years ago
|
||
Some combination of bug 1552627 and bug 1544916 broke this, I think. I don't have a Windows machine handy today (working away from home). I'll try and get a patch up tonight or tomorrow. Chris, I don't suppose you know off-hand if esr68 is affected?
| Assignee | ||
Updated•6 years ago
|
Comment 2•6 years ago
|
||
I can reproduce the problem on Firefox 69 and ESR 68.1
I'll run mozregression to check the regrange.
Comment 3•6 years ago
|
||
I can also reproduce this on Firefox 66 and Firefox 59... didn't go further. Are we sure this wasn't just broken from the beginning?
From how the dialog is defined it looks like we just forgot to ifdef the order of buttons.
| Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Marco Bonardo [::mak] from comment #3)
I can also reproduce this on Firefox 66 and Firefox 59... didn't go further. Are we sure this wasn't just broken from the beginning?
From how the dialog is defined it looks like we just forgot to ifdef the order of buttons.
Yeah, I think I assumed that it used to work in the old dialog XBL binding and that reordered the buttons, but it looks like it never did. Oops.
| Assignee | ||
Comment 5•6 years ago
|
||
Comment 7•6 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 9093915 [details]
Bug 1580646 - move default button to the right place on Windows, r?mak
Beta/Release Uplift Approval Request
- User impact if declined: Buttons wrong way around
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: n/a
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Just ifdef'ing some buttons so they're the other way around on Windows
- String changes made/needed: Nope
Comment 9•6 years ago
|
||
Comment on attachment 9093915 [details]
Bug 1580646 - move default button to the right place on Windows, r?mak
Low risk patch, uplift approved for 70 beta 9, thanks.
Comment 10•6 years ago
|
||
| bugherder uplift | ||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 11•6 years ago
|
||
I have reproduced this issue using Firefox 71.0a1 (2019.09.11) on Win 10 x64.
I can confirm this issue is fixed, I verified using Firefox 70.0b9 and on latest nightly 71.0a1 on Win 10 x64.
Updated•6 years ago
|
Comment 13•5 years ago
|
||
Are we sure this wasn't just broken from the beginning?
It was broken by bug 510516, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1304666#c0
Description
•