Closed
Bug 709433
Opened 14 years ago
Closed 13 years ago
animate awesome bar transition from tab bar to keyboard input
Categories
(Firefox for Android Graveyard :: General, defect, P4)
Tracking
(blocking-fennec1.0 -)
RESOLVED
FIXED
Firefox 20
| Tracking | Status | |
|---|---|---|
| blocking-fennec1.0 | --- | - |
People
(Reporter: akeybl, Assigned: lucasr)
References
Details
(Keywords: polish, Whiteboard: [MTD])
Attachments
(3 files, 1 obsolete file)
|
19.38 KB,
image/gif
|
Details | |
|
1.99 KB,
patch
|
Details | Diff | Splinter Review | |
|
67.16 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
We should animate the awesome bar from the tab bar UI to the text input view when touched. There is a UI element in common (the title outline), which should make for a cool scaling transition. Right now the lack of transition makes the experience less smooth.
Apologies if this is a dupe of existing UI spec.
| Reporter | ||
Updated•14 years ago
|
Whiteboard: [MTD]
| Reporter | ||
Comment 1•14 years ago
|
||
| Reporter | ||
Comment 2•14 years ago
|
||
In case the attachment doesn't work - https://imgur.com/RrG3F
Comment 3•14 years ago
|
||
This would definitely be something that would be great to see.
Sriram - you had a work-in-progress for something similar, didn't you?
Keywords: polish
| Reporter | ||
Comment 4•14 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #1)
> Created attachment 581728 [details]
> created a crappy gif of what I was thinking
Not sure if this came across in the gif, but the topbar UI fades out
Updated•13 years ago
|
Priority: -- → P4
Comment 5•13 years ago
|
||
Does this animation [of fading out] hold good with the new URL bar design?
| Reporter | ||
Comment 6•13 years ago
|
||
Just to clarify, my proposal was both a combination of scaling the URL bar and fading out the older background.
Comment 7•13 years ago
|
||
This WIP does a fade-in / fade-out transition between both.
The fade-in seems to work fine on Nexus. fade-out is laggy.
They both are fine on S2.
Basically the android's version can have different timeouts.
It's better to write our own fade-in / fade-out with a duration that we want -- which will ensure a proper transition.
Assignee: nobody → sriram
Attachment #591273 -
Flags: review?(mark.finkle)
Comment 8•13 years ago
|
||
Let's get a build posted so UX can comment and give their r+ first
Comment 9•13 years ago
|
||
Comment on attachment 591273 [details] [diff] [review]
WIP
waiting for UX
Attachment #591273 -
Flags: review?(mark.finkle)
Comment 10•13 years ago
|
||
Just tried a build from Sriram, I don't think we're quite there yet, there is some blinking happening in the transition which feels uncomfortable.
Rather than attempt to describe the changes I'd like us to try, I'm going to mock up a more detailed animation and post it here, so we can refer to it and compare to the build.
Will post as soon as I can
Comment 11•13 years ago
|
||
Hi Sriram, here's a little movie I made describing what I'd like our urlbar transition to look like: http://dl.dropbox.com/u/2182500/Mozilla/urlbar_animation.mov
Have a look, and let's chat about it in IRC :)
Comment 12•13 years ago
|
||
(In reply to Ian Barlow (:ibarlow) from comment #11)
> Hi Sriram, here's a little movie I made describing what I'd like our urlbar
> transition to look like:
> http://dl.dropbox.com/u/2182500/Mozilla/urlbar_animation.mov
>
> Have a look, and let's chat about it in IRC :)
This is awesome.
Comment 13•13 years ago
|
||
Soft blocking nom?
This is a nice bit of UI polish that would make the awesombar experience feel much nicer.
blocking-fennec1.0: --- → ?
Updated•13 years ago
|
blocking-fennec1.0: ? → soft
Comment 14•13 years ago
|
||
With the current UI, this is not feasible easily for the following reasons:
1. The AwesomeBar and the GeckoApp are two different activities. Hence the time to load the app, and make the transition consistent cannot be perfect.
2. The AwesomeBar has a dark background for the URL bar, while GeckoApp has a light background. Now fading from light to dark is a big hassle.
3. There is a menu button and a tabs button that needs to be taken care of during transitioning -- basically "inflate them, fade them and hide them", unnecessarily.
With the new UI, this will be easier to do:
1. The background colors of the AwesomeBar and GeckoApp are the same. Hence background transitioning wouldn't be needed.
2. The AwesomeBar can be made into a PopupWindow and shown "over" GeckoApp as a layer. Thereby, it feels like the drop-down for url-bar in desktop. When it is made into a popup, we can just hide the "custom" menu button, tabs-button and animate the increase of the width of the AwesomeBar popup window.
Hence it is better to do it for 2.0, along with the tablet UI -- which gracefully fits into mobile UI too. With the current color scheme and the UI approach of different activities, syncing the transitions aren't going to be easier.
blocking-fennec1.0: soft → ?
Updated•13 years ago
|
blocking-fennec1.0: ? → -
Comment 15•13 years ago
|
||
Adding Lucas
Per our conversation in IRC, here is the latest version of this animation http://cl.ly/0g0Z220G0t18
Comment 16•13 years ago
|
||
Just a note to Lucas and myself to remember to try reversing this animation when you leave the awesomebar.
| Assignee | ||
Comment 17•13 years ago
|
||
Taking this one as I'll work on it for Fx20.
| Assignee | ||
Updated•13 years ago
|
Assignee: sriram → lucasr.at.mozilla
| Assignee | ||
Comment 18•13 years ago
|
||
Attachment #686577 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 19•13 years ago
|
||
Ian, test build is here:
https://dl.dropbox.com/u/1187037/animated3.apk
The animation will happen on phones and 7" tablets. Please test on both.
Comment 20•13 years ago
|
||
Couple things:
I would still like to see what it looks like when we don't fade the page title away as soon as you tap the url bar, and instead leave it up all the way until we flip to the awesomescreen and switch the text to the URL.
Also, I think we should try unfocusing the url bar as soon as you leave the awesomescreen. So when it shrinks back to normal size we don't keep the orange border on.
| Assignee | ||
Comment 21•13 years ago
|
||
Attachment #686663 -
Flags: review?(mark.finkle)
| Assignee | ||
Updated•13 years ago
|
Attachment #686577 -
Attachment is obsolete: true
Attachment #686577 -
Flags: review?(mark.finkle)
Comment 22•13 years ago
|
||
Comment on attachment 686663 [details] [diff] [review]
Animate toolbar when switching to/from awesome screen
I don't see anything that looks out of line
Attachment #686663 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 23•13 years ago
|
||
FYI: I've just noticed that the fake right edge looks broken on pre-Honeycomb devices. Needs investigation. I disabled the animation on these devices for now and filed bug 817524 to track this.
Also noticed that entering awesome screen, rotating device, then exiting awesome screen might cause slightly broken layout in phones running ICS or later (different margins are restored). I filed bug 817526 to track this.
Pushing this patch now to avoid constant merge conflicts. These bugs should be simple to fix anyway.
https://hg.mozilla.org/integration/mozilla-inbound/rev/f306df3468d5
Comment 24•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 20
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•