Closed Bug 943960 Opened 12 years ago Closed 12 years ago

[Australis] When opening a new tab, the close icon appears too soon

Categories

(Firefox :: Tabbed Browser, defect)

28 Branch
x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 979938

People

(Reporter: phlsa, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [Australis:P4])

Attachments

(1 file)

See the first frame of the attachment. Also, having the text dynamically truncated during the transition contributes to the animation looking a little wonky. We should just display the text when the animation is finished or, even better, fade it in.
Whiteboard: [Australis:P4][good-first-bug][lang=css][mentor=mconley]
Disregard everything but the animation itself from the demo. Spacing etc. isn't correct there.
I'd like to do this bug; can someone please assign it to me?
Hey Allan! Sure, I can. I should point out that it's possible that this bug is a regression caused by bug 944136, which might get backed out, but let's get you started on this and see where we get. Do you have a development environment / build on OS X ready to go? -Mike
Assignee: nobody → mathnerd314...gph+mozilla
I have a Windows environment which just finished building (after 6.7 hours). The bug is in that build too, so I'm thinking Platform -> All?
Watching https://bug940262.bugzilla.mozilla.org/attachment.cgi?id=8334416 a few times, it looks like the close button was shown early even before bug 940262, and that patch just made it a lot more obvious because the background is not drawn while the close button still is. (I'm guessing this was due to bug 919541?) Bug 941546 wants to make the animation start with the initial tab and then expand, like in http://www.stephenhorlander.com/files/animation/Firefox-4-Animation-i01-%28Win7%29-%28NewTab%29-v01.html. Not certain if this is a duplicate of that or vice-versa. ttaubert says "I would have liked to [hide] the .tab-close-button because it looks a little weird that this is now also sliding from left to right but it's not as easy due to it being display:none." I'm pretty certain that can be worked around as in http://msujaws.wordpress.com/2013/06/11/animating-and-transitioning-displaynone-elements/ So it looks like regardless of which patch sticks, this bug needs to be fixed...
OS: Mac OS X → All
Hey Dao, Allan and I were just discussing this bug, and we were thinking this might be a lot easier if our CSS had some idea of when a tab was animating and when it was not. What do you think of us modifying the tab binding to have it set an "animating" attribute on itself when opening or closing, which is removed once the transition completes? That'd make it much simpler to hide the close button (and label, if we want to go down that route) when the tab is animating. Thoughts?
Flags: needinfo?(dao)
Or perhaps you have a thought on that, Tim?
Flags: needinfo?(ttaubert)
Wouldn't it also maybe easier to implement a better tabopen animation (see bug 941546) by using css animations instead of transitions?
Flags: needinfo?(ttaubert)
(In reply to Tim Taubert [:ttaubert] from comment #9) > Wouldn't it also maybe easier to implement a better tabopen animation (see > bug 941546) by using css animations instead of transitions? The proposed animation in bug 941546 is great! I think this bug is still relevant for the cases where the plus button is not directly next to the last tab (overflow).
(In reply to Philipp Sackl [:phlsa] from comment #10) > (In reply to Tim Taubert [:ttaubert] from comment #9) > > Wouldn't it also maybe easier to implement a better tabopen animation (see > > bug 941546) by using css animations instead of transitions? > > The proposed animation in bug 941546 is great! I think this bug is still > relevant for the cases where the plus button is not directly next to the > last tab (overflow). We don't do any animation of the tab itself during overflow (it just appears). So this bug isn't relevant for that case. The mockup for bug 941546 doesn't show the close button at all, so I'm going to dupe to that bug and do whatever UI fixes are needed there.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Assignee: mathnerd314...gph+mozilla → nobody
Flags: needinfo?(dao)
Whiteboard: [Australis:P4][good-first-bug][lang=css][mentor=mconley] → [Australis:P4]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: