Closed
Bug 911673
Opened 11 years ago
Closed 11 years ago
[system] use 'scroll from device side to screen'(scroll up) gesture to back to homescreen
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(blocking-b2g:koi+, b2g-v1.2 fixed)
People
(Reporter: gasolin, Assigned: gduan)
References
Details
Attachments
(4 files)
instead of physical button, use 'scroll from device side to screen'(scroll up) gesture to go back to homescreen
Reporter | ||
Comment 1•11 years ago
|
||
carrie, please attach your spec here once its available
Comment 2•11 years ago
|
||
Carrie, could you also link the user story?
Updated•11 years ago
|
blocking-b2g: koi? → koi+
Comment 3•11 years ago
|
||
Hi Neo, Please help to clarify the issue. Thanks! (In reply to styang from comment #2) > Carrie, could you also link the user story?
Flags: needinfo?(cawang) → needinfo?(nhsieh)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → gduan
Comment 4•11 years ago
|
||
Attached is the spec for lockscreen.
Comment 5•11 years ago
|
||
Attached is the spec for homescreen.
Comment 6•11 years ago
|
||
I wonder the 'swipe to up' would break some other transition else. For example, currently when we go back to homescreen, we 1) Close inline activities 2) Close app At the same time. Unfortunately, the transition of 'closing inline activity' is 'from top to bottom'. This is very strange. Could we be consistent with all window transition? How about window.open (popup)'s transition? Also the implementation shall be blocked by https://bugzilla.mozilla.org/show_bug.cgi?id=907013 but I don't know if I could complete it this week.
Comment 7•11 years ago
|
||
Implementation detail FYI: bug 907013 is implementing safe customizable window transition by embedding the transition type in the app window instance and process it instance by instance. I do not suggest to hack window manager to have custom transition right now. But if schedule talks.....
Comment 8•11 years ago
|
||
I saw the implementation from George's phone, there are some information for your reference: 1. transition for opening app is scale up from center of screen 2. transition for app to home is swipe from bottom to top without any scaling looks we have two different transition between [homescreen -> app] and [app -> homescreen].
Comment 9•11 years ago
|
||
(In reply to Yuren Ju [:yurenju] from comment #8) > I saw the implementation from George's phone, there are some information for > your reference: > 1. transition for opening app is scale up from center of screen > 2. transition for app to home is swipe from bottom to top without any scaling > > looks we have two different transition between [homescreen -> app] and [app > -> homescreen]. Hi Yuren, Has it already been implemented? Can we have a look? (maybe record a video?) just want to make sure that having two different transition is acceptable. Thanks! :)
Assignee | ||
Comment 10•11 years ago
|
||
In reply to comment 9, Carrie, I didn't implement the gesture animation in this patch. Obviously, we need more time for discussion and tuning, and it won't not meet the deadline. This patch only finish the actions to home/cardview.
Comment 11•11 years ago
|
||
(In reply to cawang from comment #9) > (In reply to Yuren Ju [:yurenju] from comment #8) > > I saw the implementation from George's phone, there are some information for > > your reference: > > 1. transition for opening app is scale up from center of screen > > 2. transition for app to home is swipe from bottom to top without any scaling > > > > looks we have two different transition between [homescreen -> app] and [app > > -> homescreen]. > > Hi Yuren, > > Has it already been implemented? Can we have a look? (maybe record a video?) > just want to make sure that having two different transition is acceptable. > Thanks! :) Let's hold a small intro + discussion for all app/activity transitions in gaia now when we back to Taipei.
Assignee | ||
Comment 12•11 years ago
|
||
This bug will only not include animation since we need time to tune for all types of cases, like prompt, alert, windows.open, attention screen, and normal opening/closing. However, for my current action-only patch, I'm still investigating how to solve below bugs. 1. when some button is on the background of the transparent bar 2. how to close utility tray 3. how to open e.me's wrapper bar .
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 803599 [details]
PR to master
Hi Alive,
Could you help me to take a look of this patch?
I only implement the action part here, since the animation part may takes time to implement and discussion.
I will open below bugs for follow-up.
1. closing/opening/cardview animation for all types of screen
2. wrapper navigation bar for e.me
3. inari doesn't support multi horizontal touches
Attachment #803599 -
Flags: review?(alive)
Comment 14•11 years ago
|
||
Comment on attachment 803599 [details]
PR to master
Where's the window manager transition change?
And use feedback next time for WIP.
Attachment #803599 -
Flags: review?(alive)
Assignee | ||
Comment 15•11 years ago
|
||
Hi Alive, For transition change, I will open a followup bug for it. This patch should meet the action part. However, keyboard/alert/prompt will block my gesture bar and I'm not sure how to fix that. Could you advise how to fix that? (In reply to Alive Kuo [:alive] from comment #14) > Comment on attachment 803599 [details] > PR to master > > Where's the window manager transition change? > And use feedback next time for WIP.
Flags: needinfo?(alive)
Assignee | ||
Comment 17•11 years ago
|
||
Comment on attachment 803599 [details]
PR to master
Hi Alive,
I update my solution as below.
|this.homeBar.addEventListener('click', this, true);|
I found if I also listen click event here, then keyboard/alert/prompt would not steal my touchstart/end event. Please kindly review it again.
Thanks.
Attachment #803599 -
Flags: review?(alive)
Comment 18•11 years ago
|
||
Comment on attachment 803599 [details]
PR to master
See comments. and Please try to have unit tests.
Attachment #803599 -
Flags: review?(alive)
Assignee | ||
Comment 19•11 years ago
|
||
Comment on attachment 803599 [details]
PR to master
Hi Alive,
Patch is updated and also added some test cases. Please kindly review again.
Thanks for your patience!
Attachment #803599 -
Flags: review?(alive)
Comment 20•11 years ago
|
||
Comment on attachment 803599 [details]
PR to master
Great work, r=me, thanks for the patience.
Attachment #803599 -
Flags: review?(alive) → review+
Assignee | ||
Comment 21•11 years ago
|
||
Thanks Alive, I updated as your comment again. Merge into master. https://github.com/mozilla-b2g/gaia/commit/0dedb5b3789afc638a0c7c67652937fcb30e77d2
Assignee | ||
Comment 22•11 years ago
|
||
Open bug 918272 for animation.
Assignee | ||
Updated•11 years ago
|
Status: NEW → RESOLVED
Closed: 11 years ago
Flags: needinfo?(nhsieh)
Resolution: --- → FIXED
Comment 23•11 years ago
|
||
Hi all, Lock screen layout spec (landscape only) updated.
Comment 24•11 years ago
|
||
Hi all, Home screen & Card view layout specs uploaded. Please check the server: //fileserver1/Public/UX/[Firefox OS] Tablet/Lockscreen Thanks, Juwei
Comment 25•11 years ago
|
||
Uplifted 0dedb5b3789afc638a0c7c67652937fcb30e77d2 to: v1.2: 812700755f4556fb44325693fa35cb29a8fa9f11
status-b2g-v1.2:
--- → fixed
Whoa. How does this not break any app that needs to use a gesture that looks a lot like a "swipe upwards"? Or not even a gesture, where the user might make such a gesture while interacting with the app?
You need to log in
before you can comment on or make changes to this bug.
Description
•