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 752968 - [HighContrast] no difference between connected and non-connected people
[HighContrast] no difference between connected and non-connected people
Status: RESOLVED FIXED
Product: polari
Classification: Applications
Component: general
3.17.x
Other Linux
: Normal normal
: ---
Assigned To: Polari maintainers
Polari maintainers
Depends on:
Blocks:
 
 
Reported: 2015-07-28 15:52 UTC by Arnaud B.
Modified: 2015-07-30 14:53 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
chatView: Use italic style for inactive nicks (1.40 KB, patch)
2015-07-28 19:55 UTC, Florian Müllner
rejected Details | Review
stroke offline names (189.35 KB, image/png)
2015-07-28 20:18 UTC, Bastian Ilsø
  Details
chatView: Don't mingle separating whitespace with nick (1.69 KB, patch)
2015-07-28 21:06 UTC, Florian Müllner
rejected Details | Review
chatView: Strike through inactive nicks (1.30 KB, patch)
2015-07-28 21:06 UTC, Florian Müllner
rejected Details | Review
chatView: Make sure active and inactive nicks use distinct colors (1.31 KB, patch)
2015-07-30 14:19 UTC, Florian Müllner
committed Details | Review

Description Arnaud B. 2015-07-28 15:52:46 UTC
When using the HighContrast theme, there’s no difference between connected and non-connected people in the main textview; using Adwaita, connected people nicks are written blue and non-connected one grey.
Comment 1 Florian Müllner 2015-07-28 16:14:15 UTC
Mmh, yeah - the connected nick color is picked up from the theme, and we simply desaturate it for disconnected nicks. That's obviously an issue if the original color was already grayscale (or, I suppose, for certain kinds of color-blindness). Maybe we should make connected nicks bold?
Comment 2 Arnaud B. 2015-07-28 16:51:57 UTC
I’d choose italic for non-connected people, as bold usually takes too much importance in the view.
Comment 3 Florian Müllner 2015-07-28 19:55:35 UTC
Created attachment 308326 [details] [review]
chatView: Use italic style for inactive nicks

Commit c96929c701 introduced different styling for active and inactive
nicks. However simply desaturating the theme's link color will not
result in a different color if the original color was already a shade
of gray; also, relying solely on color can be problematic in other
cases like color blindness as well. To address this, differentiate
active and inactive nicks by font style as well as color.

This implements the suggestion from comment #2, though I'm not sure I like the result - let's try to get some design feedback first before committing anything.
Comment 4 Bastian Ilsø 2015-07-28 20:18:48 UTC
Created attachment 308331 [details]
stroke offline names

(In reply to Florian Müllner from comment #3)
> This implements the suggestion from comment #2, though I'm not sure I like
> the result - let's try to get some design feedback first before committing
> anything.

How about stroking the names? Something stroked better conveys the meaning of being "unavailable" too, even in high contrast mode. (attachment is a quick mockup)
Comment 5 Florian Müllner 2015-07-28 21:06:07 UTC
Created attachment 308337 [details] [review]
chatView: Don't mingle separating whitespace with nick

We get away with piggy-backing the '\t' character that separates nick
and message with the former as long as the style we apply to the nick
doesn't affect whitespace - this is about to change, so insert the
whitespace separately.
Comment 6 Florian Müllner 2015-07-28 21:06:13 UTC
Created attachment 308338 [details] [review]
chatView: Strike through inactive nicks

Commit c96929c701 introduced different styling for active and inactive
nicks. However simply desaturating the theme's link color will not
result in a different color if the original color was already a shade
of gray; also, relying solely on color can be problematic in other
cases like color blindness as well. To address this, differentiate
active and inactive nicks as well by striking through inactive nicks.
Comment 7 Florian Müllner 2015-07-28 21:08:38 UTC
(In reply to Bastian Ilsø from comment #4)
> How about stroking the names?

Readability suffers a bit, but worth a try ...
Comment 8 Florian Müllner 2015-07-30 14:19:55 UTC
Created attachment 308465 [details] [review]
chatView: Make sure active and inactive nicks use distinct colors

We came up with yet another option on IRC :-)
Comment 9 Bastian Ilsø 2015-07-30 14:21:54 UTC
(In reply to Florian Müllner from comment #8)
> Created attachment 308465 [details] [review] [review]
> chatView: Make sure active and inactive nicks use distinct colors
> 
> We came up with yet another option on IRC :-)

LGTM? (-8
Comment 10 Florian Müllner 2015-07-30 14:53:39 UTC
OK, let's go with the last option.

Attachment 308465 [details] pushed as 0df771d - chatView: Make sure active and inactive nicks use distinct colors