Bug 995938

Summary: selected text shows as white text on white background in Chromium 52
Product: [openSUSE] openSUSE Tumbleweed Reporter: Tobias Pfeiffer <tgpfeiffer>
Component: X11 ApplicationsAssignee: Tomáš Chvátal <tchvatal>
Status: RESOLVED UPSTREAM QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: farcusnz, forgotten_PzXOktpH6D, forgotten_qaEk2t_ec-, forgotten_sM9JzehKpy, forgotten_VZEHQc-_rb, forgotten__AcwqRqvKw, jweberhofer, martin.liska, tgpfeiffer, thardeck
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Chromium URL bar with part of the URL selected
Chromium 53 URL bar with selection

Description Tobias Pfeiffer 2016-08-29 01:42:49 UTC
Created attachment 689786 [details]
Chromium URL bar with part of the URL selected

When I select some text in text fields, selection lists or the URL bar of Chromium (52.0.2743.116-1.1), instead of, say, white text on blue background, the background is also white, which makes the text illegible.
Comment 1 Forgotten User _AcwqRqvKw 2016-08-31 00:34:17 UTC
I have this problem, too, with openSUSE Tumbleweed-20160828 and KDE.
Comment 2 Martin Liška 2016-09-06 17:25:57 UTC
Confirmed on the latest Tumbleweed with GNOME.
Comment 3 Martin Liška 2016-09-06 18:18:22 UTC
FWIW I've just tried that chromium-52.0.2743.82-61.1.x86_64 taken from Leap 42.1 works fine.
Comment 4 Tomáš Chvátal 2016-09-10 11:04:41 UTC
This is fixed by chromium-53 thus closing. Reopen if you still have the issue.
Comment 5 Tobias Pfeiffer 2016-09-23 00:10:43 UTC
Created attachment 693758 [details]
Chromium 53 URL bar with selection

This still happens to me with Chromium 53.0.2785.116, see attachment.
Comment 6 Tobias Pfeiffer 2016-09-23 00:12:11 UTC
This still happens to me with Chromium 53.0.2785.116, reopening.
Comment 7 Tobias Pfeiffer 2016-10-24 00:50:13 UTC
Still happens to me for 54.0.2840.71 (64-bit) -- is this fixed for everyone else?
Comment 8 Forgotten User _AcwqRqvKw 2016-10-31 18:47:08 UTC
I have Chromium 54.0.2840.71 and selected text is still white. Shouldn't this issue be covered by OpenQA tests?
Comment 9 Dominique Leuenberger 2016-11-09 10:03:06 UTC
*** Bug 1009042 has been marked as a duplicate of this bug. ***
Comment 10 Tim Hardeck 2016-12-09 15:17:01 UTC
I can confirm that this still happens with all updates installed on Leap 42.2 in Gnome. It does not happen with Plasma.

I have updated from Leap 42.1 less then a week ago and there the issue did not appear with Gnome.
Comment 11 Forgotten User VZEHQc-_rb 2016-12-29 11:22:22 UTC
Hello,

I just migrated from openSUSE 13.2 to Leap 42.2, and encounters this issue.

I'm using cinnamon (gtk3 engine) and Chromium "Version 55.0.2883.75 (64-bit)".


The bug is related to the theme used for the controls, which is in my case  the default "Adwaita".

Switching to another theme for "Controls", for exemple "Menta" the issue is not present anymore.

Adwaita is the default Gnome theme, so the below folder is empty:

usr/share/themes/Adwaita/gtk-3.0

(To be correct, only a gtk.css that doesn't define anything).


I'm trying to find what is the problem, but it's not easy to track down what is causing this issue when you know nothing in theming and gnome architecture :)

By the way it is working fine in Firefox.
Comment 12 Forgotten User VZEHQc-_rb 2016-12-29 14:53:03 UTC
The term "Controls" theme is related to Cinnamon, in Gnome settings, it is just called "GTK+".

Now tried a little bit tweaking ... when using another theme, what is "fixing" the selected background is this line in gtk.css:

@define-color theme_selected_bg_color #B4BBA3;

However I was not able to create a simple Adwaita clone that works. I followed the guide to tweak Adwaita (default embedded theme for gtk3) and was able to modify some colors, but changing the "theme_selected_bg_color" didn't gave the expected result :(

Also I don't see why it doesn't work in Chromium, but is fine in Firefox ... the problem is more complex than that ...
Comment 13 Mark Fairbairn 2017-03-05 01:10:16 UTC
this is also an issue on Chromium 56 on Leap 42.2.
Changing to "use classic theme" instead of the gtk theme fixes the issue
Comment 14 Mark Fairbairn 2017-03-05 01:11:26 UTC
*** Bug 1021905 has been marked as a duplicate of this bug. ***
Comment 15 Mark Fairbairn 2017-03-05 01:13:21 UTC
*** Bug 1026372 has been marked as a duplicate of this bug. ***
Comment 16 Mark Fairbairn 2017-03-05 01:16:35 UTC
(In reply to Tim Hardeck from comment #10)
> I can confirm that this still happens with all updates installed on Leap
> 42.2 in Gnome. It does not happen with Plasma.
> 
> I have updated from Leap 42.1 less then a week ago and there the issue did
> not appear with Gnome.

this is occurring in plasma 5.8.3 with Chromium 55 and 56
Have not tried earlier versions of Chromium
Comment 17 Tobias Pfeiffer 2017-03-05 01:24:35 UTC
(In reply to Mark Fairbairn from comment #13)
> Changing to "use classic theme" instead of the gtk theme fixes the issue

I can confirm that "use classic theme" fixes the issue (Chromium 55 @ Tumbleweed).
Comment 18 Mark Fairbairn 2017-03-05 04:12:44 UTC
(In reply to Tobias Pfeiffer from comment #17)
> (In reply to Mark Fairbairn from comment #13)
> > Changing to "use classic theme" instead of the gtk theme fixes the issue
> 
> I can confirm that "use classic theme" fixes the issue (Chromium 55 @
> Tumbleweed).

actually . . . it seems to only change the text selection colour. The menu and context menu highlight colour remains white.
Comment 19 Forgotten User sM9JzehKpy 2017-03-05 14:47:08 UTC
Assigning to the correct chromium maintainer
Comment 20 Forgotten User qaEk2t_ec- 2017-03-06 02:06:46 UTC
I also see it in openSUSE Tumbleweed 20170304. Switching to the classic theme is an immediate work around. In chromium, click the three vertical dots in the top right > Settings > Appearance > Use Classic theme. Mine had been set to Use GTK+ theme. 

Dang. That fixed the URL bar, but not text in text windows like this one. Chromium	56.0.2924.87 (Developer Build) (64-bit)
Comment 21 Mark Fairbairn 2017-03-14 10:43:01 UTC
I was able to fix this by . . .
Uninstalling Chromium 56.x.x
Deleting /home/~/.config/chromium/
installing Chromium 57.x.x from network repo

logging back in to Chromium and loading my gtk theme.
All is correct again.

Simply updating from Chromium 56.x.x to 57.x.x did not correct the problem. It was necessary to delete the above folder.

I would expect Chromium 57 should make its way into the update folder in the next few days.
Comment 22 Tomáš Chvátal 2017-03-21 12:43:21 UTC
There is not much I can do with the user profile configuration issues.

I can just recommend reporting it upstream.