I was wrong in my last comment. The issue posted in the blog has nothing to do with this bug, because the font is specified as "Ubuntu Bold 11", so the font family doesn't contain any space.
Anyway, I added some debugging info in the panel (CroppedLabel.cpp), to print out the name of the font being retrieved, and I managed to reproduce the bug (though I'm not sure what steps I followed, it seems rather random). Here's the output:
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "AddNotify" with signature "s" on interface "org.gnome.GConf.Database" doesn't exist
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "AddNotify" with signature "s" on interface "org.gnome.GConf.Database" doesn't exist
unity-2d-panel: [WARNING] GConf: Directory `/apps/metacity/general/titlebar_font' was not being monitored by GConfClient 0x22fd000
unity-2d-panel: [DEBUG] Font name: ""
unity-2d-panel: [DEBUG] Desc 0x7fa3ac00a070
unity-2d-panel: [WARNING] Configuration server couldn't be contacted: D-BUS error: Method "LookupExtended" with signature "ssb" on interface "org.gnome.GConf.Database" doesn't exist
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "AddNotify" with signature "s" on interface "org.gnome.GConf.Database" doesn't exist
unity-2d-panel: [WARNING] GConf: Directory `/apps/metacity/general/titlebar_font' was not being monitored by GConfClient 0x22fd000
unity-2d-panel: [DEBUG] Font name: ""
unity-2d-panel: [DEBUG] Desc 0x7fa3ac012700
[...]
======================
At the top, when "Font name" prints "Ubuntu Bold 11", the font is displayed nicely. Then it looks like the connection to gconf breaks, and we are not able to retrieve the font name anymore.
I was wrong in my last comment. The issue posted in the blog has nothing to do with this bug, because the font is specified as "Ubuntu Bold 11", so the font family doesn't contain any space.
Anyway, I added some debugging info in the panel (CroppedLabel.cpp), to print out the name of the font being retrieved, and I managed to reproduce the bug (though I'm not sure what steps I followed, it seems rather random). Here's the output:
======= ======= ======= = connect_ data: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed connect_ data: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed connect_ data: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed connect_ data: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed connect_ data: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed connect_ data: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed GConf.Database" doesn't exist
unity-2d-panel: [DEBUG] Font name: "Ubuntu Bold 11"
unity-2d-panel: [DEBUG] Desc 0x7fa3ac00d890
unity-2d-panel: [DEBUG] Font name: "Ubuntu Bold 11"
unity-2d-panel: [DEBUG] Desc 0x257a150
unity-2d-panel: [DEBUG] Font name: "Ubuntu Bold 11"
unity-2d-panel: [DEBUG] Desc 0x23a4610
unity-2d-panel: [DEBUG] Font name: "Ubuntu Bold 11"
unity-2d-panel: [DEBUG] Desc 0x257a120
unity-2d-panel: [DEBUG] Font name: "Ubuntu Bold 11"
unity-2d-panel: [DEBUG] Desc 0x7fa3ac0044f0
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [CRITICAL] GLib-GObject: g_object_weak_ref: assertion `G_IS_OBJECT (object)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] Configuration server couldn't be contacted: D-BUS error: Method "LookupExtended" with signature "ssb" on interface "org.gnome.
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "AddNotify" with signature "s" on interface "org.gnome. GConf.Database" doesn't exist
unity-2d-panel: [WARNING] GConf: Directory `/apps/ metacity/ general/ titlebar_ font' was not being monitored by GConfClient 0x22fd000 handler_ disconnect: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed handler_ disconnect: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed handler_ disconnect: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed handler_ disconnect: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed handler_ disconnect: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed handler_ disconnect: assertion `G_TYPE_ CHECK_INSTANCE (instance)' failed weak_unref: assertion `G_IS_OBJECT (object)' failed GConf.Database" doesn't exist
unity-2d-panel: [DEBUG] Font name: ""
unity-2d-panel: [DEBUG] Desc 0x7fa3ac00da40
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_
unity-2d-panel: [CRITICAL] GLib-GObject: g_object_
unity-2d-panel: [WARNING] Configuration server couldn't be contacted: D-BUS error: Method "LookupExtended" with signature "ssb" on interface "org.gnome.
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "AddNotify" with signature "s" on interface "org.gnome. GConf.Database" doesn't exist
unity-2d-panel: [WARNING] GConf: Directory `/apps/ metacity/ general/ titlebar_ font' was not being monitored by GConfClient 0x22fd000 GConf.Database" doesn't exist
unity-2d-panel: [DEBUG] Font name: ""
unity-2d-panel: [DEBUG] Desc 0x7fa3ac00a070
unity-2d-panel: [WARNING] Configuration server couldn't be contacted: D-BUS error: Method "LookupExtended" with signature "ssb" on interface "org.gnome.
GConf Error: Configuration server couldn't be contacted: D-BUS error: Method "AddNotify" with signature "s" on interface "org.gnome. GConf.Database" doesn't exist
unity-2d-panel: [WARNING] GConf: Directory `/apps/ metacity/ general/ titlebar_ font' was not being monitored by GConfClient 0x22fd000 ======= ======= =
unity-2d-panel: [DEBUG] Font name: ""
unity-2d-panel: [DEBUG] Desc 0x7fa3ac012700
[...]
=======
At the top, when "Font name" prints "Ubuntu Bold 11", the font is displayed nicely. Then it looks like the connection to gconf breaks, and we are not able to retrieve the font name anymore.