Closed Bug 1254811 Opened 8 years ago Closed 8 years ago

Suggest the default highlighted button is "Cancel" when closing browser.

Categories

(Firefox OS Graveyard :: Gaia::TV::Browser, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:2.6+, b2g-v2.5 unaffected, b2g-v2.6 fixed, b2g-master fixed)

RESOLVED FIXED
blocking-b2g 2.6+
Tracking Status
b2g-v2.5 --- unaffected
b2g-v2.6 --- fixed
b2g-master --- fixed

People

(Reporter: cindylee, Assigned: danhuang)

References

()

Details

(Whiteboard: [ft:conndevices])

Attachments

(3 files)

[Description]
Suggest the default highlighted button is "Cancel" when closing browser.

[Test Steps]
1. Launch Browser
2. Click "Back" button
3. Pop up "Do you want to exit Browser" message with "Cancel" and "OK" buttons
4. Observe the behavior
5. The default highlighted button is "OK".


[Expected Result]
5. Suggest the default highlighted button should be "Cancel".
For "Remove App"/ "Clear All History"/ "Clear Cookies" confirmation dialog, the default highlighted button is "Cancel".
We suggest "exist browser" confirmation dialog should be the same.

[Actual Result]
5. The default highlighted button is "OK".
Please refer to: https://youtu.be/lL8BmVgvetE

[Note] The default highlighted button is "Cancel" in "exist browser" confirmation dialog for v2.5.

[Build Info]
Environment: 2.6 Simulator
gaia:
https://github.com/mozilla-b2g/gaia/commit/5b90c09648798d8d66c4b08f81402b27acf0dc08
gecko:
https://hg.mozilla.org/mozilla-central/rev/05c087337043dd8e71cc27bdb5b9d55fd00aaa26
Component: Gaia::TV → Gaia::TV::Browser
Hi Tori,
Could you please check the design? Thank you
Flags: needinfo?(tchen)
Assignee: nobody → yliao
Sorry for the late reply.
The UX agree that the default highlight should at "Cancel".
Flags: needinfo?(tchen)
blocking-b2g: --- → 2.6?
Blocks: TV_FxOS2.6
blocking-b2g: 2.6? → 2.6+
Assignee: yliao → nobody
Assignee: nobody → dhuang
Hi Tori,

I move the cancel button to the right side in the exit browser dialog, because the default focused cancel button always at the right side on the other kind of dialog in the browser.

Do you think this is proper for UX ?
Flags: needinfo?(tchen)
Status: NEW → ASSIGNED
Yes, the focus should at "cancel" as default.
Flags: needinfo?(tchen)
Comment on attachment 8752440 [details] [review]
[gaia] danhuang1202:1254811_hightlight_cancel_button_when_exit_browser > mozilla-b2g:master

Please help review this patch. This patch update browser exit dialog to BrowserDialog and default the cancel button. Thanks.
Attachment #8752440 - Flags: review?(yliao)
Attachment #8752440 - Flags: review?(yliao) → review+
Thanks for the review.
Merge in master: https://github.com/mozilla-b2g/gaia/commit/d9cc10c90fe3f8fa8701b6adb823c563729eb9e2
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Comment on attachment 8752440 [details] [review]
[gaia] danhuang1202:1254811_hightlight_cancel_button_when_exit_browser > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):TV 2.6
[User impact] if declined: not align to UX
[Testing completed]: yes 
[Risk to taking this patch] (and alternatives if risky): None
[String changes made]: None
Attachment #8752440 - Flags: approval-gaia-v2.6?
Comment on attachment 8752440 [details] [review]
[gaia] danhuang1202:1254811_hightlight_cancel_button_when_exit_browser > mozilla-b2g:master

Approve for TV 2.6
Attachment #8752440 - Flags: approval-gaia-v2.6? → approval-gaia-v2.6+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: