Bug 263201

Summary: Keyboard Layout Indicator has black font on dark themes, unreadable
Product: kxkb Reporter: foofyfoofer
Component: generalAssignee: Andriy Rysin <arysin>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: DV layout chosen

Description foofyfoofer 2011-01-15 08:28:03 UTC
Created attachment 56036 [details]
DV layout chosen

Version:           unspecified (using KDE 4.5.1) 
OS:                Linux

Keyboard Layout Indicator has black font even on the dark themes rendering it unreadable or difficult to read based on what label you give it. It should change to white or be customizable. (this is not an issue if you choose flags, but in cases such as mine it's possible to have the same flag for both of your layouts)

Reproducible: Always

Steps to Reproduce:
**with a dark theme (black in my case)**
Keyboard Settings>Layouts>Check "Show Layout Indicator">Choose "Show Label">Set your labels for each layout

Actual Results:  
It appears in the task bar as expected, but displays with the default (seemingly unchangeable) black font that is difficult to read with most characters.

Expected Results:  
The font to appear white or to be customizable so that it can appear clear and in the same formality as the other items in the task bar

Screenshot attached
Comment 1 Andriy Rysin 2011-01-22 20:34:44 UTC
The white halo radius was increased a bit to improve readability on dark backgrounds, could you please try later 4.5 version (e.g. 4.5.5) or 4.6 and see if it improved?
Comment 2 foofyfoofer 2011-01-23 00:13:56 UTC
Def better on 4.5.5 with the increased halo radius.
Still a bit dark though, and I think it looks out of place a bit next to all the grayish/white icons, the white font on the taskbar, and the white font clock etc
Comment 3 Andriy Rysin 2011-01-24 04:52:14 UTC
Yep, the problem though is that there seems to be no common approach/api to display things consistently (look at the clock for example). And I don't have time to rewrite the painting code to make it match manually. Besides if user uses flags instead of labels it would not look white/gray anyway. :)

I've requested a feature for KStatusNotifierItem to support setting text (and displaying it consistently) https://bugs.kde.org/show_bug.cgi?id=255171 so it doesn't have to be implemented in the apps, but does not look like this request gets much love :)

Anyhow let me know if you feel we can close this bug.
Comment 4 foofyfoofer 2011-01-26 01:28:08 UTC
Yes lets go ahead and close it, thank you!