New issue
Advanced search Search tips

Issue 866953 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 1
Type: Bug-Regression

Blocking:
issue 821996



Sign in to add a comment

Text Color of Background Tabs can blend in with the tabstrip background

Reported by isan...@gmail.com, Jul 24

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3493.3 Safari/537.36

Steps to reproduce the problem:
1. Select a GTK+ theme with a dark-colored titlebar 
2. Disable System Titlebars and Borders
3. Open Chrome Dev Version 69
4. Open several other tabs

What is the expected behavior?
Background tab names can be read against the background

What went wrong?
Background tabs use a dark text color, which can blend in poorly if the theme uses dark-colored titlebars.

Did this work before? Yes Before the new Material Design tabs.

Chrome version: 69.0.3493.3  Channel: dev
OS Version: Pop!_OS 18.04 (Ubuntu)
Flash Version: 

Probably should try and use the titlebar text color for the background tab text color, possibly semi-transparent to help distinguish them from the foreground tab.
 
Screenshot from 2018-07-24 11-01-47.png
12.8 KB View Download
Screenshot from 2018-07-24 11-01-58.png
25.6 KB View Download
 Issue 866954  has been merged into this issue.
Which GTK theme is this?
Never mind, I'm seeing this issue now.  It's a fairly recent regression
Owner: thomasanderson@chromium.org
Status: Started (was: Unconfirmed)
Yeah, seems to happen on any -dark variant that I come across. The theme in the screenshots is Pop, but I can replicate it in Materia and Adapta as well.
Cc: thomasanderson@chromium.org
Owner: kylixrd@chromium.org
Status: Assigned (was: Started)
Bisected the issue to https://chromium.googlesource.com/chromium/src/+/767b6ae40b6c85897595dd2a579e0f4e400cc04a
Alan ptal
Cc: -thomasanderson@chromium.org kylixrd@chromium.org
Labels: -Pri-2 M-69 Pri-1
Owner: thomasanderson@chromium.org
Status: Started (was: Assigned)
The default theme on Ubuntu (Ambiance) is affected by this bug.  I wouldn't want to ship GM2 without a fix, so I'm going to try investigating
Blocking: 821996
Project Member

Comment 9 by bugdroid1@chromium.org, Aug 4

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/d090b4033e4b8ca7a2641e254ab6727a8a6749cf

commit d090b4033e4b8ca7a2641e254ab6727a8a6749cf
Author: Tom Anderson <thomasanderson@chromium.org>
Date: Sat Aug 04 04:44:51 2018

GTK: Fix background tab color in refresh

Because of the code in [1], themes are now expected to provide the
background tab color themselves.  This change restores the old
computation of the background colors for the GTK theme.

[1] https://cs.chromium.org/chromium/src/chrome/browser/themes/theme_service.cc?rcl=306871de3e87f2d1844952ee730112e1fdabbae4&l=473

BUG= 866953 

Change-Id: I16c4577a78f25e95d1a602ed7f795d2b032f2e0a
Reviewed-on: https://chromium-review.googlesource.com/1162671
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/heads/master@{#580741}
[modify] https://crrev.com/d090b4033e4b8ca7a2641e254ab6727a8a6749cf/chrome/browser/ui/libgtkui/gtk_ui.cc
[modify] https://crrev.com/d090b4033e4b8ca7a2641e254ab6727a8a6749cf/chrome/browser/ui/libgtkui/gtk_util.cc
[modify] https://crrev.com/d090b4033e4b8ca7a2641e254ab6727a8a6749cf/chrome/browser/ui/libgtkui/gtk_util.h

Labels: ReleaseBlock-Stable Merge-Request-69
Project Member

Comment 11 by sheriffbot@chromium.org, Aug 5

Labels: -Merge-Request-69 Merge-Review-69 Hotlist-Merge-Review
This bug requires manual review: M69 has already been promoted to the beta branch, so this requires manual review
Please contact the milestone owner if you have questions.
Owners: amineer@(Android), kariahda@(iOS), cindyb@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Is the change fully safe to merge to M69?
Labels: TE-Verified-M70 TE-Verified-70.0.3514.0
Able to reproduce the issue on Ubuntu 17.10 on reported version 69.0.3493.3.

Verified the fix on Ubuntu 17.10, as per comment#0 on latest chrome version #70.0.3514.0.
Attaching screen shot for reference.
Observed that themes are able provide tab background color themselves on applying GTK theme.
Hence, the fix is working as expected.
Adding the verified labels.

Thanks...!!
70.0.3514.0.png
683 KB View Download
without_fix.png
365 KB View Download
> Is the change fully safe to merge to M69?

Yes, it should be safe.
Labels: -Merge-Review-69 Merge-Approved-69
Approving merge to M69 branch 3497 based on comment #13 and #14. Please merge ASAP.

Pls mark bug as fixed if nothing else is pending after the merge. Thank you.
Project Member

Comment 16 by bugdroid1@chromium.org, Aug 6

Labels: -merge-approved-69 merge-merged-3497
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/6bf7cf2939db59e923e4371863d63be4216da184

commit 6bf7cf2939db59e923e4371863d63be4216da184
Author: Tom Anderson <thomasanderson@chromium.org>
Date: Mon Aug 06 18:30:53 2018

[Merge to M69] GTK: Fix background tab color in refresh

> Because of the code in [1], themes are now expected to provide the
> background tab color themselves.  This change restores the old
> computation of the background colors for the GTK theme.
>
> [1] https://cs.chromium.org/chromium/src/chrome/browser/themes/theme_service.cc?rcl=306871de3e87f2d1844952ee730112e1fdabbae4&l=473
>
> BUG= 866953 
>
> Change-Id: I16c4577a78f25e95d1a602ed7f795d2b032f2e0a
> Reviewed-on: https://chromium-review.googlesource.com/1162671
> Reviewed-by: Lei Zhang <thestig@chromium.org>
> Commit-Queue: Thomas Anderson <thomasanderson@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#580741}

BUG= 866953 
TBR=thestig
NOTRY=true
NOPRESUBMIT=true
NOTREECHECKS=true

Change-Id: I3cc91bb85ba1f1d0b1f1d53f0ccb90e8c5d053db
Reviewed-on: https://chromium-review.googlesource.com/1163919
Reviewed-by: Thomas Anderson <thomasanderson@chromium.org>
Cr-Commit-Position: refs/branch-heads/3497@{#423}
Cr-Branched-From: 271eaf50594eb818c9295dc78d364aea18c82ea8-refs/heads/master@{#576753}
[modify] https://crrev.com/6bf7cf2939db59e923e4371863d63be4216da184/chrome/browser/ui/libgtkui/gtk_ui.cc
[modify] https://crrev.com/6bf7cf2939db59e923e4371863d63be4216da184/chrome/browser/ui/libgtkui/gtk_util.cc
[modify] https://crrev.com/6bf7cf2939db59e923e4371863d63be4216da184/chrome/browser/ui/libgtkui/gtk_util.h

Status: Fixed (was: Started)
Labels: TE-Verified-M69 TE-Verified-69.0.3497.32
Verified the fix on Ubuntu 17.10, as per comment#0 on latest chrome version #69.0.3497.32
Attaching screen shot for reference.
Observed that themes are able provide tab background color themselves on applying GTK theme.
Hence, the fix is working as expected.
Adding the verified labels.

Note: Able to reproduce the issue on build without fix.
Thanks...!!
866953.png
152 KB View Download

Sign in to add a comment