New issue
Advanced search Search tips

Issue 885243 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Chrome , Mac
Pri: 3
Type: Bug



Sign in to add a comment

Tab separator appears when moving left-to-right between inactive tabs

Project Member Reported by collinbaker@chromium.org, Sep 18

Issue description

Chrome Version: head
OS: Windows, Linux

What steps will reproduce the problem?
(1) Have 2 adjacent inactive tabs
(2) Point at left one so it is highlighted
(3) Slowly move mouse over edge to right one

Expected result:
Tab separator doesn't appear.

Actual result:
Tab separator appears momentarily then disappears on transition between highlighted tabs. Note that this only happens when moving left to right. When moving right to left, the tab separator doesn't appear.

I will upload a video of this once I figure out how to.
 
Labels: Proj-MdRefresh OS-Chrome OS-Linux OS-Mac OS-Windows
Status: Available (was: Untriaged)
My suspicion is that this would be fixed if you modify Tab::GetSeparatorOpacities() so that the part which reads:

  leading_opacity = 1.f - hover_value;

...instead takes into account the prior tab's hover value, as the code just above it does with subsequent tabs for the trailing separator.

Then I'd maybe add some comments about how keeping the separators in sync with the adjacent tabs means their opacities won't suddenly change if we swap the draw order of who's in front.
Labels: Hotlist-Polish
Labels: -Proj-MdRefresh Proj-DesktopUI
Labels: Hotlist-DesktopUITriaged
Labels: Group-Tabstrip
Labels: M-73 Target-73

Sign in to add a comment