After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 763802 - [HighContrastInverse] the “ON” text of a GtkSwitch should be black (on lightgrey)
[HighContrastInverse] the “ON” text of a GtkSwitch should be black (on lightg...
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Themes
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-03-17 10:34 UTC by Arnaud B.
Modified: 2018-05-02 16:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot. (922 bytes, image/png)
2016-03-17 10:34 UTC, Arnaud B.
  Details
High Contrast Inverse: switches (2.62 KB, patch)
2016-03-24 15:46 UTC, Jakub Steiner
committed Details | Review

Description Arnaud B. 2016-03-17 10:34:42 UTC
Created attachment 324164 [details]
Screenshot.

Using HighContrastInverse theme, the “ON” (or “1”) is for now written white on lightgrey, so hardly readable. Like with the HighContrast theme, the “ON” and the “OFF” (or “1” and “0”) should be of opposite color.
Comment 1 Jakub Steiner 2016-03-24 15:46:03 UTC
Created attachment 324688 [details] [review]
High Contrast Inverse: switches

- make sure both non active and active states are contrasty
Comment 2 Jakub Steiner 2016-03-24 15:46:35 UTC
Attachment 324688 [details] pushed as ac62bc0 - High Contrast Inverse: switches
Comment 3 Arnaud B. 2016-03-26 10:42:57 UTC
I reopen, as I think that patch in fact broke both HighContrast and HighContrastInverse. GtkSwitch is not a simple toggle: it gives two informations, one about the state requested by the user (given by the position of the slider), and one about the underlying state (that should be given by the background color). Here, the background finishes with the same color whatever the underlying state is, so an information is missing.
Comment 4 Daniel Boles 2017-09-01 18:11:30 UTC
I'm not sure what Arnaud means, but something else is off to me:

 * a backdropped Switch has a transparent (i.e., in HC normal, white) background
 * a foreground Switch has a grey background

Doesn't that mean our foreground state has *less* contrast? Black-on-grey isn't a very good look.
Comment 5 GNOME Infrastructure Team 2018-05-02 16:59:29 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/602.