Closed
Bug 1056770
Opened 11 years ago
Closed 10 years ago
Implement transitions for back & forward
Categories
(Firefox OS Graveyard :: Gaia::System::Browser Chrome, defect, P1)
Tracking
(tracking-b2g:backlog)
People
(Reporter: benfrancis, Assigned: apastor)
References
Details
(Keywords: polish, Whiteboard: [systemsfe][p=2])
Attachments
(2 files, 1 obsolete file)
The Rocketbar currently jumps from one size to anther when back and forward buttons appear and disappear. The spec asks for a transition from one size to another.
See video mockup here: https://mozilla.app.box.com/s/sn2m5espkyupeyldpq91
Comment 1•11 years ago
|
||
Changing blocking bug since this doesn't block core back/forward functionality.
blocking-b2g: --- → backlog
Comment 2•11 years ago
|
||
If we get to this, let's definitely request uplift. This one animation could have very serious risks to rocketbar performance for the collapse/expand animation, which is much more important than the back/forward animation.
Since it's backlogged, I'm moving to rocketbar-next so we can stay focused on the more important tasks. I do hope to get to this in 2.1 though, assuming we get the less risky things done first.
Updated•11 years ago
|
Priority: -- → P1
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → apastor
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
Comment on attachment 8590337 [details] [review]
[gaia] albertopq:1056770-back-forward-animation > mozilla-b2g:master
Eric, could you please review the animations? Thanks!
Attachment #8590337 -
Flags: ui-review?(echang)
| Assignee | ||
Comment 5•10 years ago
|
||
Comment on attachment 8590337 [details] [review]
[gaia] albertopq:1056770-back-forward-animation > mozilla-b2g:master
Sorry, typo.
Attachment #8590337 -
Flags: ui-review?(echang) → ui-review?(epang)
| Assignee | ||
Updated•10 years ago
|
Attachment #8590337 -
Flags: review?(kgrandon)
Comment 6•10 years ago
|
||
(In reply to Alberto Pastor [:albertopq] from comment #5)
> Comment on attachment 8590337 [details] [review]
> [gaia] albertopq:1056770-back-forward-animation > mozilla-b2g:master
>
> Sorry, typo.
Hey Alberto,
Looks much better already but I'm guessing it's not possible to only expand the left edge of the rocket bar? Cause right now it's a little strange how it jumps right and left a little. Just going to hold off reviewing till I understand the reasoning.
Flags: needinfo?(apastor)
Comment 7•10 years ago
|
||
Comment on attachment 8590337 [details] [review]
[gaia] albertopq:1056770-back-forward-animation > mozilla-b2g:master
Much better then what we currently have though not the exact transition that has been designed. I've talked to Alberto and understand the reasoning is because of performance. R+ since this is already a huge improvement!
Attachment #8590337 -
Flags: ui-review?(epang) → ui-review+
Comment 9•10 years ago
|
||
Comment on attachment 8590337 [details] [review]
[gaia] albertopq:1056770-back-forward-animation > mozilla-b2g:master
I will take a quick pass at the code now, but there are at least two failing tests (gij 14 and 15). Please address those tests and re-flag me for review. Thanks!
Flags: needinfo?(apastor)
Attachment #8590337 -
Flags: review?(kgrandon)
| Assignee | ||
Updated•10 years ago
|
Flags: needinfo?(apastor)
Attachment #8590337 -
Flags: review?(kgrandon)
Comment 10•10 years ago
|
||
Comment 11•10 years ago
|
||
Comment on attachment 8590337 [details] [review]
[gaia] albertopq:1056770-back-forward-animation > mozilla-b2g:master
Hi Alberto - The code looks good, but I believe there's a slight visual regression with the rocketbar positioning. It's most easily seen on the private browser page, due the the darkness of the chrome.
Expected result:
Search input and app chrome input should be aligned as much as possible.
Actual result:
The inputs appear to have shifted with the patch applied, and you can see the app chrome input behind the overlay. The positioning looks off.
Attachment #8590337 -
Flags: review?(kgrandon) → review-
| Assignee | ||
Updated•10 years ago
|
Attachment #8590337 -
Flags: review- → review?(kgrandon)
Comment 12•10 years ago
|
||
Comment on attachment 8590337 [details] [review]
[gaia] albertopq:1056770-back-forward-animation > mozilla-b2g:master
This looks good to me, thank you!
Attachment #8590337 -
Flags: review?(kgrandon) → review+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 13•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/36d1a65e448539c0589b722c7b2e7ab2945e76dc
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Comment 14•10 years ago
|
||
Having caused two bugs, I think it makes sense to back this out, and try to get it re-landed with those bugs fixed.
Master backout: https://github.com/mozilla-b2g/gaia/commit/e66a1660bf82e95c9b5e3808def26204d4ed9274
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Updated•10 years ago
|
Target Milestone: --- → 2.2 S11 (1may)
Comment 15•10 years ago
|
||
| Assignee | ||
Comment 16•10 years ago
|
||
Comment on attachment 8598512 [details] [review]
[gaia] albertopq:1056770-back-forward-animation2 > mozilla-b2g:master
Same patch, with bug 1156899 fixed. I cannot repro bug 1156911 (that would explain it was reopened again after this bug was backed out).
:piwei, could you please confirm that 1156911 and 1156899 are fixed with this patch?
Thanks!
Attachment #8598512 -
Flags: feedback?(pcheng)
Comment 17•10 years ago
|
||
Comment on attachment 8598512 [details] [review]
[gaia] albertopq:1056770-back-forward-animation2 > mozilla-b2g:master
After the patch, I cannot reproduce bug 1156899, but I do reproduce bug 1156911. See screenshot: http://i.imgur.com/VP6KoZc.jpg
Attachment #8598512 -
Flags: feedback?(pcheng) → feedback-
| Assignee | ||
Comment 18•10 years ago
|
||
:piwei, which device are you using? What gecko build? Can you confirm that without the patch, bug 1156911 doesn't happen?
Thanks!
Flags: needinfo?(pcheng)
Comment 19•10 years ago
|
||
I believe I was on 4/28 nightly Flame build, which has the following environmental variables:
Device: Flame
BuildID: 20150428010206
Gaia: 0636405f0844bf32451a375b2d61a2b16fe33348
Gecko: caf25344f73e
Version: 40.0a1 (3.0 Master)
I recall NOT reproducing bug 1156899 nor bug 1156911 BEFORE the patch. And after patch bug 1156911 reproduced.
Flags: needinfo?(pcheng)
| Assignee | ||
Comment 20•10 years ago
|
||
Comment on attachment 8598512 [details] [review]
[gaia] albertopq:1056770-back-forward-animation2 > mozilla-b2g:master
I finally reproduced it. Would you mind to test again with latest patch?
Thanks!
Attachment #8598512 -
Flags: feedback- → feedback?(pcheng)
Comment 21•10 years ago
|
||
Comment on attachment 8598512 [details] [review]
[gaia] albertopq:1056770-back-forward-animation2 > mozilla-b2g:master
Before patch: No repro of bug 1156899 nor bug 1156911.
After patch: No repro of bug 1156899 nor bug 1156911. I didn't notice anything else breaking either.
This is tested on today's Flame nightly
Device: Flame
BuildID: 20150506010204
Gaia: 3e6fd1e0a478af2c95d09ce95c2c6de2de2fec14
Gecko: ba44099cbd07
Version: 40.0a1 (3.0 Master)
Attachment #8598512 -
Flags: feedback?(pcheng) → feedback+
| Assignee | ||
Updated•10 years ago
|
Attachment #8590337 -
Attachment is obsolete: true
| Assignee | ||
Comment 22•10 years ago
|
||
Comment on attachment 8598512 [details] [review]
[gaia] albertopq:1056770-back-forward-animation2 > mozilla-b2g:master
It was already r+, but can you take a second look now that the 2 regressions have been fixed? Thanks!
Attachment #8598512 -
Flags: review?(kgrandon)
Comment 23•10 years ago
|
||
Comment on attachment 8598512 [details] [review]
[gaia] albertopq:1056770-back-forward-animation2 > mozilla-b2g:master
I tested and it seems to be working great for me. Thank you.
Attachment #8598512 -
Flags: review?(kgrandon) → review+
| Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 24•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/pull/29765
Autolander could not land the pull request due to not having collaborator rights. This is possibly due to a tree closure. Please check the tree status and request checkin again once the tree is open.
Updated•10 years ago
|
Keywords: checkin-needed
Comment 26•10 years ago
|
||
Pull request has landed in master: https://github.com/mozilla-b2g/gaia/commit/42070255ab6d5a1929e8b1ea5a2cf2fa23427db2
Updated•10 years ago
|
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•