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 74237 - Cannot have icon caption with arbitrary font size
Cannot have icon caption with arbitrary font size
Status: RESOLVED FIXED
Product: nautilus
Classification: Core
Component: general
1.1.x
Other other
: Normal trivial
: future
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2002-03-11 13:35 UTC by Ross Burton
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Ross Burton 2002-03-11 13:35:10 UTC
I've been trying to get the perfect font size for Nautilus 2.

10pt Tahoma is too large for me.  8pt Tahoma is too small.  So, I fire up
gconf-editor and edit the keys manually.  This leads me to entering "9.5"
as a font size, which results in the following error from Nautilus:

nautilus (pid:15625): Eel-CRITICAL **: file eel-preferences-item.c: line
614 (preferences_item_update_enumeration_menu): assertion `position !=
EEL_STRING_LIST_NOT_FOUND' failed
Comment 1 Ross Burton 2002-03-27 13:33:17 UTC
I've tried this again with nautilus2
1.1.11.0.200203261214-0.snap.ximian.1, and the behaviour has changed.

When I enter '9' as a font size in the GConf Editor, I get:

nautilus (pid:22177): Eel-WARNING **: No sub-name in enumeration
standard_font_size of name '9'

I see -- Nautilus has a list of valid font sizes for icon captions.
Anything else is ignored.  Why is this? What's wrong with a standard
font selector for the icon caption font?

On my monitor/dpi setup, 10pt is too large and 8pt is a bit small. 
Hell, my GTK+ font is "Trebuchet MS 7.7".
Comment 2 Stefan Vassall 2002-04-25 03:55:00 UTC
Nautilus + eel build = Ximan Snapshot (22/04/02)
Platform = RH7.2
Repeatability = Always

I'm seeing a similar issue to this one. I'm trying to set my font size
to 11 for a MS TrueType font; again using gconf-editor. However rather
that Nautilus reporting an error I just get really small fonts
displayed. This occurs for any odd number I pick for font size.

I think this will have to be fixed for Gnome2 as the Gtk+ Theme
Selctor capplet does allow odd numbered fonts to be picked for the
desktop.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2002-05-13 03:21:47 UTC
this should be fixed, we now use the default system font for all icon
captions with the exception of the desktop icons, which can have there
own font.