New issue
Advanced search Search tips

Issue 881916 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

Hard to tell which window is active based on gray caption areas

Project Member Reported by jamescook@chromium.org, Sep 7

Issue description

Google Chrome	69.0.3497.81 (Official Build) (64-bit)
Revision	032b3ca19e9af20182f9bd03deefc0faf4695558-refs/branch-heads/3497@{#869}
OS	Linux

The new top-chrome caption colors are not very different for active vs. inactive windows. I've had a few instances where I type text into the wrong browser window.

The problem is compounded when one window is full of tabs and the other isn't. I'm not sure if that's due to:
1. The visual noise in the window with lots of tabs, or
2. The visual contrast between the large white active tab and the caption in the right window

See screenshot.

 
which-browser-is-active.png
220 KB View Download
Cc: dfried@chromium.org
Owner: collinbaker@chromium.org
Routing to Collin for Inactive/Active states.
Labels: OS-Windows
I'm working this out (and crbug.com/859243) with bettes@ soon. I'll post as soon as I have an update.

I'm also adding Windows as an affected OS because the colors are the same (I think?)
Cc: thomasanderson@chromium.org
I don't think Windows is the same.

I think at least some, if not all, of those Linux colors are system-theme-provided.  You should talk to Tom Anderson.
It looks like the classic theme is being used, based on the screenshots provided.  This means the colors are not provided by the system theme.

I think we want the classic theme on Linux to be using the same colors as the default theme that we use on Windows and Mac.
The colors may be a little different (even if they're not supposed to be), but the same problem exists on Windows: not much contrast between the active an inactive Chrome windows. 
Unless my memory of the change we checked in recently on this is poor, the active and inactive windows on Windows contrast quite a bit more than that screenshot.  That said, on Win 10 at least we're not _supposed_ to use title bar color to contrast active with inactive windows (unless colored titlebars are enabled, in which case we comply with them); what we're doing violates the platform standard.
Here's the difference between the active and inactive window on Win10.
active_inactive_chrome.png
1.9 KB View Download
Agree that we're doing better on Windows 10 than on Linux's classic theme. 

>> from c4: I think we want the classic theme on Linux to be using the same colors as the default theme that we use on Windows and Mac.

I think that's a correct assumption, but what's the precedent on Linux regarding changing the classic theme?
Hm.. it looks like the Linux classic theme colors are already the same as the default theme on Windows (the colors in the original post are the same as the colors in c#7).

Agreed, the one thing Win10 has going for it is the active window shadow and the blue highlight around the window.
Apparently my memory was indeed poor...
Labels: Proj-DesktopUI
Status: Assigned (was: Untriaged)
Labels: Hotlist-DesktopUITriaged
Labels: Group-Accessibility
Labels: M-72 Target-72
The problem also occurs on Linux when using the GTK+ theme. I would expect the background of the tab strip to be blue, per the active window color of my GTK theme. (I believe this used to be the case; I'm not sure when it changed.)
crbug-screenshot.png
44.1 KB View Download
Project Member

Comment 18 by bugdroid1@chromium.org, Nov 9

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

commit 9e28801fa50b407400a396699b7618badd4e5d47
Author: Collin Baker <collinbaker@chromium.org>
Date: Fri Nov 09 00:40:36 2018

Update tab text colors

This updates tab text colors to both enhance contrast of text over tab
backgrounds as well as contrast between active and inactive windows.

Bug: 859243, 881916
Change-Id: I98257077fd6a9b7cf9521f845ea40218dcf11a70
Reviewed-on: https://chromium-review.googlesource.com/c/1297185
Commit-Queue: Collin Baker <collinbaker@chromium.org>
Reviewed-by: Bret Sepulveda <bsep@chromium.org>
Reviewed-by: Robert Liao <robliao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#606668}
[modify] https://crrev.com/9e28801fa50b407400a396699b7618badd4e5d47/chrome/browser/ui/views/frame/browser_non_client_frame_view.cc

Labels: Hotlist-DesktopUIChecked Hotlist-DesktopUIValid
***Mass UI Triage***

jamescook@ could you please help in verifying the issue?

Hmm. The colors did change, but I still don't think the difference is obvious enough. See new screenshot.

Screenshot from 2018-11-26 11-21-52.png
428 KB View Download
BTW, Windows 10 indicates this by setting the alpha of things like caption buttons in inactive windows to 40%.  Chrome is currently doing 75%.  So one way we could increase differentiation here (at the cost of legibility of titles in background windows, but that's also the tradeoff the native OS makes) is to go to 40%.
Cc: -thomasanderson@chromium.org

Sign in to add a comment