Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Tab colour has weird fade in paint effect when switching #11249

Closed
srirambv opened this issue Oct 3, 2017 · 14 comments · Fixed by #12565
Closed

Tab colour has weird fade in paint effect when switching #11249

srirambv opened this issue Oct 3, 2017 · 14 comments · Fixed by #12565

Comments

@srirambv
Copy link
Collaborator

srirambv commented Oct 3, 2017

Description

Tab colour has weird fade in paint effect when switching

Steps to Reproduce

  1. Build from master
  2. Visit brianbondy.com, tab colour has weird paint effect
  3. Open any about page, same weird effect

Actual result:

tabcolour

Expected result:
Should paint entire tab

Reproduces how often: [What percentage of the time does it reproduce?]

Brave Version

about:brave info:

Brave 0.21.0
V8 6.1.534.41
rev de5f381
Muon 4.4.25

Reproducible on current live release:

No

Additional Information

cc: @cezaraugusto

@luixxiul
Copy link
Contributor

luixxiul commented Oct 3, 2017

how weird is it?

@luixxiul luixxiul added the needs-info Another team member needs information from the PR/issue opener. label Oct 3, 2017
@srirambv
Copy link
Collaborator Author

srirambv commented Oct 3, 2017

Its pretty obvious and doesnt look good. May be not very noticeable in the gif image. Dark tab colour makes it more prominent because of the light tab colour

@srirambv
Copy link
Collaborator Author

srirambv commented Oct 3, 2017

Here's a better recording
tabcolour1

@luixxiul
Copy link
Contributor

luixxiul commented Oct 3, 2017

That kind of fading effect is intentional I think. Do you think feel it is too slow or something?

@luixxiul
Copy link
Contributor

luixxiul commented Oct 3, 2017

This is on macOS. Though it looks not good with this gif image, it actually is rendered naturally.

tab

@srirambv
Copy link
Collaborator Author

srirambv commented Oct 3, 2017

Never seen that fade-in effect till now. But its definitely not looking good on Windows. Sometimes the colour paints slow on the close tab button so it looks really bad. may be fade-in from centre towards end would be a good idea rather than fade-in from left that way it evens out the effect on the close button as well

@srirambv
Copy link
Collaborator Author

srirambv commented Oct 3, 2017

cc: @jenn-rhim @bradleyrichter

@luixxiul
Copy link
Contributor

luixxiul commented Oct 3, 2017

If the perf issue was confirmed on Windows globally, we could turn off the fading effect on Windows. We would not have to disable it on macOS as well. CC @cezaraugusto #10691

@luixxiul luixxiul added needs-investigation A bug not 100% confirmed/fixed that needs QA to better audit. and removed needs-info Another team member needs information from the PR/issue opener. labels Oct 3, 2017
@cezaraugusto
Copy link
Contributor

it is intentional how it looks now but I'm open for improvements. If there's a "slow" feeling on Windows please let me know. Deferring UX decision to design team.

@srirambv
Copy link
Collaborator Author

Its definitely looks bad on Windows and its quite noticeable and isn't appealing. It definitely needs some rework for Windows

@luixxiul
Copy link
Contributor

It might be well rendered with a better graphic card on board.

@cezaraugusto cezaraugusto self-assigned this Oct 14, 2017
@cezaraugusto
Copy link
Contributor

thanks I'm taking let's make it better

@petemill
Copy link
Member

petemill commented Jan 19, 2018

Correct me if I'm wrong, but I'm guessing the issue here is the difference in speed fading from the background color, and the background color of the right edge, which is different and changes instantly. The right edge is different because in the current implementation it is used to fade out the text when the title text is too long. This is solved (mostly) by #12565 .

By the way, you can see this even more obviously by slowing down animations in devTools. Open the 'animations' panel, and hit '10%'. Then change active tab, especially between a dark one (like the New Tab page)...

@srirambv is this what you were referring to?:
issue-tab-background-gradient-transition-visible

@petemill petemill self-assigned this Jan 19, 2018
@petemill petemill mentioned this issue Jan 19, 2018
10 tasks
@NejcZdovc NejcZdovc modified the milestones: Triage Backlog, 0.21.x (Beta Channel) Feb 14, 2018
@petemill petemill added PR/pending-review and removed needs-investigation A bug not 100% confirmed/fixed that needs QA to better audit. labels Feb 16, 2018
@bsclifton bsclifton modified the milestones: 0.21.x (Beta Channel), 0.22.x (Developer Channel) Feb 20, 2018
@bbondy bbondy modified the milestones: 0.22.x (Developer Channel), 0.23.x (Nightly Channel) Feb 25, 2018
@alexwykoff alexwykoff added the priority/P4 Minor loss of function. Workaround usually present. label Mar 13, 2018
@alexwykoff alexwykoff modified the milestones: 0.23.x (Nightly Channel), 0.22.x (Developer Channel) Mar 13, 2018
@srirambv
Copy link
Collaborator Author

srirambv commented Mar 22, 2018

Verified on Windows x64

  • 0.22.6 e6ff4ea
  • libchromiumcontent: 65.0.3325.162
  • muon: 5.1.0

Verified on macOS 10.12.6 x64 using the following build:

  • 0.22.6 e6ff4ea
  • libchromiumcontent: 65.0.3325.162
  • muon: 5.1.0

Verified on Ubuntu 10.10 x64

  • 0.22.7 8bb7e77
  • libchromiumcontent: 65.0.3325.181
  • muon: 5.1.1

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

10 participants