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:

======================
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_connect_data: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
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_connect_data: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_connect_data: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_connect_data: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_connect_data: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_connect_data: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
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 0x7fa3ac00da40 
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_handler_disconnect: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_handler_disconnect: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_handler_disconnect: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_handler_disconnect: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_handler_disconnect: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [WARNING] GLib-GObject: invalid (NULL) pointer instance
unity-2d-panel: [CRITICAL] GLib-GObject: g_signal_handler_disconnect: assertion 
`G_TYPE_CHECK_INSTANCE (instance)' failed
unity-2d-panel: [CRITICAL] GLib-GObject: g_object_weak_unref: assertion 
`G_IS_OBJECT (object)' failed
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 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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/820274

Title:
  [panel] Window title switch to arial font after using Synaptic

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-2d/+bug/820274/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to