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 611875 - Keyboard layout panel indicator ignores theme font color settings
Keyboard layout panel indicator ignores theme font color settings
Status: RESOLVED DUPLICATE of bug 612371
Product: gnome-settings-daemon
Classification: Core
Component: general
2.29.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2010-03-05 08:07 UTC by Thanos Lefteris
Modified: 2010-03-26 17:49 UTC
See Also:
GNOME target: ---
GNOME version: 2.29/2.30


Attachments
Screenshot - Keyboard layout indicator font color (277.37 KB, image/png)
2010-03-05 08:07 UTC, Thanos Lefteris
Details
Dark grey text on dark background (15.76 KB, image/png)
2010-03-22 20:45 UTC, Anders
Details
Wrong font size screenshot (3.32 KB, image/png)
2010-03-23 10:48 UTC, Andrei Rohau
Details

Description Thanos Lefteris 2010-03-05 08:07:08 UTC
Created attachment 155288 [details]
Screenshot - Keyboard layout indicator font color

This bug has been reported here:
https://bugs.edge.launchpad.net/ubuntu/+source/gnome-settings-daemon/+bug/513152

The font color of the active layout in the keyboard layout indicator is always black which makes it unreadable on dark desktop themes like stock DarkRoom or New Wave or Ambience (new dark theme in Ubuntu lucid). Please see attached screenshot.

Thanks
Comment 1 Sergey V. Udaltsov 2010-03-05 21:07:18 UTC
This is real bug, I must admit. I am trying to find the way to get the detault font name, size and color from gtk
Comment 2 Sergey V. Udaltsov 2010-03-06 15:27:48 UTC
The font name and size is now taken from the system (unless overriden), thanks to gconf. Now I have to find how to get the proper color.
Comment 3 Sergey V. Udaltsov 2010-03-06 23:59:46 UTC
Done. Please check in git.
Comment 4 Andrei Rohau 2010-03-22 13:22:23 UTC
Unfortunately, problem is still present even after the latest update. Please also notice, that indicator font size has changed and is smaller than system theme set one.
Comment 5 Sergey V. Udaltsov 2010-03-22 20:11:26 UTC
Andrei, could you please attach some screenshot? Is there anything special about your configuration?
Comment 6 Anders 2010-03-22 20:45:43 UTC
Created attachment 156805 [details]
Dark grey text on dark background
Comment 7 Anders 2010-03-22 20:50:04 UTC
Sergey, with your latest change the font-color of the keyboard-indicator changed from black to dark-gray in the Ubuntu Ambiance theme.
This is with libgnomekbd 2.29.92-0ubuntu2.  Maybe color of panel font is not
available in gconf, only in gtkrc files?
Comment 8 Anders 2010-03-23 06:31:08 UTC
All fine now with 2.29.92-0ubuntu3.  White text on dark background.
Comment 9 Andrei Rohau 2010-03-23 10:48:49 UTC
Created attachment 156845 [details]
Wrong font size screenshot
Comment 10 Andrei Rohau 2010-03-23 10:49:30 UTC
Sergey, indeed the font color issue is fixed with the latest patch in Ubuntu. Thanks!

Although, the font size issue I mentioned before is still present. It might be not related to this bug, but I first encountered it with the git sync. Attached is a screenshot for your attention.

Basically, it is quite obvious that indicator font size is smaller in comparison to menu font size and other notification area applets. It can be best noticed with larger font sizes.

As can be seen on the screenshot, when I set my application font size to 14 to test it, indicator font size is close to 10, as if it is being scaled or adjusted somewhere else.

Also, when font smoothing is turned off in appearance settings (rendering set to Monochrome), indicator font is not affected by this and still looks smooth.
Comment 11 Sergey V. Udaltsov 2010-03-23 21:24:49 UTC
You are right, with large fonts it is clear. What I do not understand is why. If I set app font size 16, calling cairo_set_font_size( ..., 16) still creates font size smaller than the actual main menu font size. Odd...

Yes, the smoothing does not get tracked. Perhaps I'll do that.
Comment 12 Ori Avtalion 2010-03-26 15:54:29 UTC
Should there be a separate bug to track the font size? Either that, or this bug should be reopened :)
Comment 13 Sergey V. Udaltsov 2010-03-26 17:49:06 UTC

*** This bug has been marked as a duplicate of bug 612371 ***