GNOME Bugzilla – Bug 313896
GTK+ color picker text entry does not scale correctly with larger fonts
Last modified: 2013-11-16 09:19:06 UTC
This bug has been opened here: http://bugzilla.ubuntu.com/show_bug.cgi?id=13772 "The "Color Name" text entry widget on the GTK+ color picker is not always wide enough to display its contents. These are the steps I take to illustrate the problem: 1. Set the application font to "Bitstream Vera Sans (Roman)" size 22. 2. Open the desktop background selector window. 3. Click on the GTK+ Color picker button. Note that the width of the text entry widget is too short for the color name. However, there is plenty of space to the right of the widget that could be utilized."
Created attachment 50957 [details] example from gtk-demo
I think the issue here is that the # is wider than the rest of the characters, and pango_font_metrics_get_approximate_char_width() may not reflect that.
The Color picker has been deprecated since 2.8.x, I have tried with the latest gtk color picker, which scales correctly with large font sizes, so I am marking this as obsolete.