Closed
Bug 1227537
Opened 9 years ago
Closed 9 years ago
[TV][2.5] Failed to navigate back
Categories
(Firefox OS Graveyard :: Gaia::TV::System, defect, P1)
Firefox OS Graveyard
Gaia::TV::System
Tracking
(blocking-b2g:2.5+, b2g-v2.5 fixed, b2g-master fixed)
RESOLVED
FIXED
blocking-b2g | 2.5+ |
People
(Reporter: cynthiatang, Assigned: rickychien)
References
Details
(Whiteboard: [ft:conndevices][partner-cherry-pick][partner-blocker])
Attachments
(2 files)
(deleted),
text/plain
|
Details | |
(deleted),
text/x-github-pull-request
|
lchang
:
review+
jocheng
:
approval-gaia-v2.5+
|
Details |
UX spec:
- marketplace-tv-151118, page 12
STR:
1. Launch Marketplace
2. Press arrow keys to select "Mp3 Download"
3. Navigated to different pages (Please see the video)
4. Press "back"
Actual Result:
- Failed to navigate back
Expected Result:
- User can press back until they reach the landing page
Branch Master
Commit 98e460ceef4b84752e3a5dac89e3507d593666e4
Author: Evelyn Hung <jj.evelyn@gmail.com>
Date: Mon Nov 23 18:35:58 2015 +0800
Reporter | ||
Updated•9 years ago
|
QA Whiteboard: [COM=TV::Marketplace]
Assignee | ||
Comment 1•9 years ago
|
||
Interesting!
Video showed when opening a link if it contains <a target='_blank'> or <a target='_new'> ...etc, system will try to open a new window along with an opening animation.
See https://youtu.be/nxKZVE8La38?t=41
We can prevent user to open new window / tab and display the content inside self iframe or just disable such link to be opened.
Assignee | ||
Comment 2•9 years ago
|
||
Preview window is a kind of child window. User is able to navigate within child window and click an url link to explore new content. However, there are problems if an url link tries to open content in new window. We have to decide whether we should:
1. open the content with a new child window
2. open the content inside self /original child window
3. just prevent user to open url link (it will be a new marketplace rule to inform developers that webapp is unable to open a new window by <a target='_blank'> or <a target='_new'>...etc)
Tori, could you give us your feedbacks for this? thanks
Flags: needinfo?(tchen)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → rchien
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
Tori, feel free to reach out to me if you have question about comment 2. :)
Comment 4•9 years ago
|
||
After offline discussion, option 2 (open the content inside self /original child window) seems the best option both for UX and engineering side.
(In reply to Ricky Chien [:rickychien] from comment #2)
> Preview window is a kind of child window. User is able to navigate within
> child window and click an url link to explore new content. However, there
> are problems if an url link tries to open content in new window. We have to
> decide whether we should:
>
> 1. open the content with a new child window
> 2. open the content inside self /original child window
> 3. just prevent user to open url link (it will be a new marketplace rule to
> inform developers that webapp is unable to open a new window by <a
> target='_blank'> or <a target='_new'>...etc)
Flags: needinfo?(tchen)
Comment 5•9 years ago
|
||
Assignee | ||
Comment 6•9 years ago
|
||
Comment on attachment 8701801 [details]
[gaia] rickychien:fail-to-back > mozilla-b2g:master
Luke, it's a small patch to detect when user clicks an url such as <a target='_blank|_new' href=...> which requests to open a content within new window, we must avoid dispatching 'openwindow' event to create a new instance again.
We skip to invoke createNewWindow() when there is an window.open request happen in preview window.
Attachment #8701801 -
Flags: review?(lchang)
Assignee | ||
Comment 7•9 years ago
|
||
After skipping createNewWindow(), we'll try to open the url in default behavior (popup window will be shown in this case)
Assignee | ||
Comment 8•9 years ago
|
||
After offline discussion with Tori, finally we decide to open content within the original window itself rather than a popup window.
Comment 9•9 years ago
|
||
Comment on attachment 8701801 [details]
[gaia] rickychien:fail-to-back > mozilla-b2g:master
The patch itself looks good but it only takes care of the "window.open" with its name set to "_blank/_new". We may also need to consider what it should do when the "name" is set to other values. Let's discuss it with UX.
Attachment #8701801 -
Flags: review?(lchang)
Assignee | ||
Comment 10•9 years ago
|
||
Finally decision for question mentioned on comment 9 we'll disable and block target="framename" opening to avoid jumping to another window and lose navigation functionality.
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8701801 [details]
[gaia] rickychien:fail-to-back > mozilla-b2g:master
Hey Luke,
this new year small gift has been updated, please take a look thanks you!
Attachment #8701801 -
Flags: review?(lchang)
Updated•9 years ago
|
Component: General → Gaia::TV::System
Product: Marketplace → Firefox OS
Comment 12•9 years ago
|
||
Comment on attachment 8701801 [details]
[gaia] rickychien:fail-to-back > mozilla-b2g:master
Thanks for your work.
Attachment #8701801 -
Flags: review?(lchang) → review+
Assignee | ||
Comment 13•9 years ago
|
||
Thank you Luke.
Landed in master at https://github.com/mozilla-b2g/gaia/commit/acbcacb80be0cbe7d78d43b5befdd14c65b97324
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 14•9 years ago
|
||
Comment on attachment 8701801 [details]
[gaia] rickychien:fail-to-back > mozilla-b2g:master
[Approval Request Comment]
[Bug caused by] (feature/regressing bug #): bug 1232345
[User impact] if declined: Fail back key navigation on certain page
[Testing completed]: verified on local
[Risk to taking this patch] (and alternatives if risky): impact would happen when user opens preview content in marketplace app.
[String changes made]:
Attachment #8701801 -
Flags: approval-gaia-v2.5?
Updated•9 years ago
|
blocking-b2g: --- → 2.5+
Whiteboard: [ft:conndevices][partner-cherry-pick][partner-blocker]
Comment 15•9 years ago
|
||
Comment on attachment 8701801 [details]
[gaia] rickychien:fail-to-back > mozilla-b2g:master
Approved for TV 2.5
Attachment #8701801 -
Flags: approval-gaia-v2.5? → approval-gaia-v2.5+
Updated•9 years ago
|
Blocks: TV_Marketplace_2.5
Updated•9 years ago
|
status-b2g-v2.5:
--- → affected
status-b2g-master:
--- → fixed
Comment 16•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•