GNOME Bugzilla – Bug 314017
Gnome-dictionary doesn't remember font size, doesn't handle /apps/gnome-dictionary/fontname and /fontsize properly
Last modified: 2005-09-23 14:35:42 UTC
Please describe the problem: Steps to reproduce: 1. Start gnome-dict from the menu, set the font in preferences to something like Bitstream Vera Sans, size 8 2. Font displays properly at size 8, gconf keys are set as follows: /apps/gnome-dictionary/fontname: "Bitstream Vera Sans 8" /apps/gnome-dictionary/fontsize: "10" 3. Close and re-open gdict Actual results: Font size reverted to 10, font face is ok Expected results: Remembers font pref (or at least uses to the default desktop font instead of forcing font size 10) Does this happen every time? Yep Other information: System: Ubuntu Breezy -- System Information: Debian Release: testing/unstable APT prefers breezy APT policy: (500, 'breezy') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/dash Kernel: Linux 2.6.12-6-686 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8) Versions of packages gnome-utils depends on: ii e2fslibs 1.38-1ubuntu2 ext2 filesystem libraries ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi ii libatk1.0-0 1.10.1-2 The ATK accessibility toolkit ii libbonobo2-0 2.10.0-1 Bonobo CORBA interfaces library ii libbonoboui2-0 2.10.0-1 The Bonobo UI library ii libc6 2.3.5-1ubuntu8 GNU C Library: Shared libraries an ii libcairo2 0.9.2-2build1 The Cairo 2D vector graphics libra ii libdbus-1-1 0.35.2-0ubuntu5 simple interprocess messaging syst ii libfreetype6 2.1.7-2.4ubuntu1 FreeType 2 font engine, shared lib ii libgconf2-4 2.11.90-0ubuntu5 GNOME configuration database syste ii libglade2-0 1:2.5.1-2ubuntu1 library to load .glade files at ru ii libglib2.0-0 2.8.0-0ubuntu1 The GLib library of C routines ii libgnome-desktop- 2.11.90-0ubuntu2 Utility library for loading .deskt ii libgnome2-0 2.11.2-0ubuntu1 The GNOME 2 library - runtime file ii libgnomecanvas2-0 2.11.1-0buntu1 A powerful object-oriented display ii libgnomeprint2.2- 2.11.0-0ubuntu1 The GNOME 2.2 print architecture - ii libgnomeprintui2. 2.11.0-0ubuntu2 GNOME 2.2 print architecture User ii libgnomeui-0 2.11.2-0ubuntu2 The GNOME 2 libraries (User Interf ii libgnomevfs2-0 2.11.90-0ubuntu2 The GNOME virtual file-system libr ii libgtk2.0-0 2.8.0-1 The GTK+ graphical user interface ii libhal1 0.5.3-0ubuntu5 Hardware Abstraction Layer - share ii libice6 1:6.3.5-3 X11 Inter-Client Exchange library ii liblaunchpad-inte 0.0patch21-0ubuntu4 library for launchpad integration ii liborbit2 1:2.12.3-0ubuntu1 libraries for ORBit2 - a CORBA ORB ii libpanel-applet2- 2.11.91-0ubuntu2 library for GNOME 2 panel applets ii libpango1.0-0 1.10.0-1 Layout and rendering of internatio ii libpopt0 1.7-5 lib for parsing cmdline parameters ii libsm6 1:6.0.4-4 X11 Session Management library ii libstartup-notifi 0.8-1 library for program launch feedbac ii libx11-6 1:6.2.1+cvs.20050722-6 X11 client-side library ii libxext6 1:6.4.3-3 X11 miscellaneous extension librar ii libxml2 2.6.20-1ubuntu1 GNOME XML library ii scrollkeeper 0.3.14-10 A free electronic cataloging syste ii zlib1g 1:1.2.3-1ubuntu4 compression library - runtime
This is happening in 2.12 from CVS (jhbuild) too. When started first time, the apps/gnome-dictionary/font-face key contains only "Sans" (i.e. no size info) but when only the size is changed (e.g. to 8pt) the key contains "Sans 8". But obviously it's still taking font size from apps/gnome-dictionary/font-size, which is never updated.
This is now fixed in CVS, and should be in gnome-dictionary 2.12.1. Thanks for the bug report !