Crossfade tab title/alert indicator while close button is fading in/out |
||||||||
Issue descriptionCurrently we snap the tab title/alert indicator over to leave room for the close button whenever it's at all visible. This looks super janky. I tried animating the bounds over. This only helps marginally, and only if the close button animation is the right speed. I think we need to crossfade instead. To do this, Tab::PaintChildren() has to actually paint all the children manually so it can implement the crossfading, and we need duplicate tab title/alert indicator members used only for crossfading. The "real" members (children used in hittesting) should continue to be laid out as today; the paint-only members should be laid out based on there being no close button. Then PaintChildren() can just alpha-blend between the two sets.
,
Jun 25 2018
Triage: Upgrading to P1 - Flicker or movement now meets the P1 bar.
,
Jun 29 2018
Moving this to P3 since the close button is being turned back on.
,
Jun 29 2018
Yep, this is only useful/necessary when disabling close buttons on inactive tabs.
,
Jul 12
,
Jul 12
Since close buttons always show for the common case, this is less of an issue now.
,
Jul 12
It's less of an issue, but (a) it's still going to be an issue on single tabs, and (b) we still have the flag to hide close buttons on all tabs, so until both of those aren't true, I'd like to leave it open as P3.
,
Jul 26
,
Sep 20
I'm in the process of killing both these flags. |
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by pkasting@chromium.org
, May 31 2018