Closed Bug 1056315 Opened 10 years ago Closed 10 years ago

Tabs panel animation does not get triggered the first time

Categories

(Firefox for Android Graveyard :: General, defect)

32 Branch
All
Android
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 34

People

(Reporter: fedepaol, Assigned: fedepaol)

References

Details

Attachments

(1 file, 1 obsolete file)

Found this while working on bug 909434
The first time tabs panel gets by pressing the button on the toolbar, the tabs panel do not animate but appears in its final place. After the first time, the animation works properly and the panel gets translated / shaded.
Attached patch bug-1056315-fix (obsolete) — Splinter Review
Since it was pretty easy to fix, here is the patch. I guess this behaviour was introduced with bug 852595 (which is why I am asking review? to capella and nalexander).
I also set the alpha value of tabs panel to 0, which is something that was not done even before the changes introduced in bug 852595, but I think should add a bit of consistency.
Attachment #8476253 - Flags: review?(nalexander)
Attachment #8476253 - Flags: review?(markcapella)
Depends on: 852595
Version: Firefox 34 → Firefox 32
Comment on attachment 8476253 [details] [diff] [review]
bug-1056315-fix

Review of attachment 8476253 [details] [diff] [review]:
-----------------------------------------------------------------

It's subtle, and only on the first time the browser opens. This lgtm.
Attachment #8476253 - Flags: review?(markcapella) → feedback?(markcapella)
Comment on attachment 8476253 [details] [diff] [review]
bug-1056315-fix

Review of attachment 8476253 [details] [diff] [review]:
-----------------------------------------------------------------

heh - flipped the flag wrong
Attachment #8476253 - Flags: feedback?(markcapella) → feedback+
(In reply to Mark Capella [:capella] from comment #2)
> Comment on attachment 8476253 [details] [diff] [review]
> bug-1056315-fix
> 
> Review of attachment 8476253 [details] [diff] [review]:
> -----------------------------------------------------------------
> 
> It's subtle, and only on the first time the browser opens. This lgtm.

Sure is.  For the next person: when you tap the tab counter icon, this animates the header with the tabs/private tabs/synced tabs/+ row, the first time.
Assignee: nobody → fedepaol
Status: NEW → ASSIGNED
OS: Linux → Android
Hardware: x86_64 → All
Comment on attachment 8476253 [details] [diff] [review]
bug-1056315-fix

Review of attachment 8476253 [details] [diff] [review]:
-----------------------------------------------------------------

lgtm.  Perhaps change the commit message to be closer to the ticket:

Bug 1056315 - Animate tab panel header on first tabs panel open. r=nalexander

Thanks for your feedback, capella -- this could be r=capella :)
Attachment #8476253 - Flags: review?(nalexander) → review+
Attached patch bug-1056315-fixSplinter Review
Here we go, I just changed the message. 
The bug was really subtle, I found it only because I was in paranoid mode looking for strange behaviours for the other bug, otherwise I would have not noticed it. Thanks for reviewing it.
Attachment #8476253 - Attachment is obsolete: true
PS: can I mark this as checkin-needed?
Flags: needinfo?(nalexander)
Keywords: checkin-needed
(In reply to Federico Paolinelli from comment #7)
> PS: can I mark this as checkin-needed?

Absolutely!  sheriffs, this is tiny and has had a local tester so I don't feel the need for a try build.
Flags: needinfo?(nalexander)
https://hg.mozilla.org/mozilla-central/rev/e3bcab3975d5
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 34
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: