Closed
Bug 1315269
Opened 8 years ago
Closed 8 years ago
The default action button in PopupNotification prompts should follow platform conventions
Categories
(Firefox :: Site Identity, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox52 | --- | unaffected |
firefox53 | --- | verified |
People
(Reporter: past, Assigned: johannh)
References
Details
(Whiteboard: [fxprivacy])
Attachments
(1 file, 2 obsolete files)
894 bytes,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
The redesigned popup notifications always show the default action on the right, which matches platform convention on macOS & Linux. Windows always puts the default action on the left and UX (maritz, bwinton & shorlander) says we should respect that.
Reporter | ||
Comment 1•8 years ago
|
||
Here is how this could work, but I'm hoping there is a simpler solution that doesn't involve the preprocessor.
Reporter | ||
Updated•8 years ago
|
Whiteboard: [fxprivacy][triage] → [fxprivacy]
Comment 2•8 years ago
|
||
Would https://developer.mozilla.org/en-US/docs/Web/CSS/box-ordinal-group work for this?
Reporter | ||
Comment 3•8 years ago
|
||
Maybe it will. Paolo suggested using flex order: https://developer.mozilla.org/en-US/docs/Web/CSS/order If anyone can give either of these a try that would be awesome, because I don't know when I'll be able to get back at this.
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → jhofmann
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•8 years ago
|
||
This is an approach using flex-direction. Note that I haven't tested on actual Windows yet because my VM is still compiling. I'll also push a mozscreenshots build. Let's see what's faster.
Attachment #8811219 -
Flags: review?(past)
Assignee | ||
Comment 5•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=af759bf01ad0
Reporter | ||
Comment 6•8 years ago
|
||
Make sure you test the identity prompt that has the drop down arrow on the right of the secondary button.
Assignee | ||
Comment 7•8 years ago
|
||
Good point, this should work better!
Attachment #8811262 -
Flags: review?(past)
Assignee | ||
Updated•8 years ago
|
Attachment #8811219 -
Attachment is obsolete: true
Attachment #8811219 -
Flags: review?(past)
Assignee | ||
Comment 8•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=687f3dd27d54
Assignee | ||
Comment 9•8 years ago
|
||
https://screenshots.mattn.ca/compare/?oldProject=mozilla-central&oldRev=5f5e46d71cbf98eb61db0e5e934fd5ed7efc6109&newProject=try&newRev=31e13d0b22647e1a6895c48f35f63281f67c5840
Reporter | ||
Updated•8 years ago
|
Attachment #8807657 -
Attachment is obsolete: true
Reporter | ||
Comment 10•8 years ago
|
||
Comment on attachment 8811262 [details] [diff] [review] Reverse notification buttons on Windows to follow platform conventions Review of attachment 8811262 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, assuming it works as expected in the password prompt as well.
Attachment #8811262 -
Flags: review?(past) → review+
Updated•8 years ago
|
Iteration: --- → 53.1 - Nov 28
Flags: qe-verify?
Assignee | ||
Updated•8 years ago
|
Flags: qe-verify? → qe-verify+
Assignee | ||
Comment 11•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/248955c8a9cb68c2a97c103366af6d073e3bc2e0 Bug 1315269 - Reverse notification buttons on Windows to follow platform conventions. r=past
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/248955c8a9cb
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 53
Comment 14•7 years ago
|
||
I guess we want this to ride the train with 53
Assignee | ||
Comment 15•7 years ago
|
||
Yup, I don't think this was ever relevant for 52 :)
Comment 16•7 years ago
|
||
Confirmed the default action: - on the right on Ubuntu 14.04, OS X 10.11. - on the left on Win 7 Verified fixed Fx 53.0a2 (2017-02-03).
You need to log in
before you can comment on or make changes to this bug.
Description
•