Closed
Bug 1028443
Opened 10 years ago
Closed 10 years ago
[Vertical Homescreen] Pressing the home button returns to top after showing card views
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(b2g-v2.0 affected, b2g-v2.1 affected)
RESOLVED
WORKSFORME
People
(Reporter: jlorenzo, Unassigned)
References
Details
(Whiteboard: [systemsfe])
Attachments
(1 obsolete file)
STR 1. Go to the bottom of the homescreen 2. Long press the home button to show the card views 3. Tap the home button again Expected results Tapping the home button should return to the homescreen Actual Tapping the home button returns to the homescreen and triggers the animation which makes the homescreen go to the top
Reporter | ||
Comment 1•10 years ago
|
||
From a UX perspective, is the current behavior the correct one?
Flags: needinfo?(jsavory)
Comment 2•10 years ago
|
||
No, in this case the expected results is the correct behaviour. When the user taps home from the cards view it should only return them to the homescreen. The homescreen should not change its position.
Flags: needinfo?(jsavory)
Updated•10 years ago
|
QA Whiteboard: [VH-FL-blocking-][VH-FC-blocking-]
Comment 3•10 years ago
|
||
Seems like when cards view is open we should not dispatch the home event to the homescreen.
Component: Gaia::Homescreen → Gaia::System
Comment 4•10 years ago
|
||
Hi Alive, I only want to help here but I don't know if this is the correct patch to fix it. Could you take a look at this patch? Thanks a lot for your support
Attachment #8445093 -
Flags: feedback?(alive)
Updated•10 years ago
|
Attachment #8445093 -
Flags: feedback?(alive) → review?(alive)
Updated•10 years ago
|
status-b2g-v2.0:
--- → affected
status-b2g-v2.1:
--- → affected
Comment 5•10 years ago
|
||
Comment on attachment 8445093 [details] [diff] [review] 1028443.patch Review of attachment 8445093 [details] [diff] [review]: ----------------------------------------------------------------- If we don't ensure the homescreen here and it's killed while task manager is shown, then the patch will never get the homescreen back while the task manager appears and the user press home button. The proper solution looks to me is (1) Listen home event in task manager (2) Stop immediate propagation and hide self *(3) Make sure app window manager registers the home event after the task manager to make (2) happen.*
Attachment #8445093 -
Flags: review?(alive)
Updated•10 years ago
|
Attachment #8445093 -
Attachment is obsolete: true
Comment 6•10 years ago
|
||
I thought about it but I didn't know how to fix it because the app window manager is initialized by itself when it is appended to the DOM but the task manager is created after the page is loaded in the bootstrap. It does not seem a straightforward implementation for me because of my lack of knowledge regarding to system app.
Comment 7•10 years ago
|
||
It is working fine now once that the bug 1020917 was landed
Updated•10 years ago
|
No longer blocks: vertical-home-next
You need to log in
before you can comment on or make changes to this bug.
Description
•