Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242912 - GLib/Gtk CRITICAL/WARNING bugs from Firefox and Galeon
Summary: GLib/Gtk CRITICAL/WARNING bugs from Firefox and Galeon
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-20 18:27 UTC by Robert Bradbury
Modified: 2008-11-22 20:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Bradbury 2008-10-20 18:27:39 UTC
Both Firefox and Galeon generate Glib/GTK errors for "unfound" icons, e.g. 'gtk-ok' or 'gtk-dnd' (i.e. the OK or drag-and-drop icons).

This may apply to the primarily to the clearlooks theme or may be a feature of many or all of the GNOME themes (my searches seem to show these icons as frequently missing from many themes).

Reproducible: Always

Steps to Reproduce:
1. Startup Firefox or Galeon binaries (e.g. firefox-bin) by hand (i.e. from a shell).
2. Monitor debug output from program.
3. Even simple browsing produces GLib-GObject-CRITICAL or Gtk-WARNING errors.

Actual Results:  
Errors:
(firefox-bin:29663): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

(firefox-bin:29663): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion `G_IS_LOADABLE_ICON (icon)' failed

(firefox-bin:29663): Gtk-WARNING **: Error loading theme icon 'gtk-dnd' for stock: Failed to load icon

(firefox-bin:29663): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed

** (firefox-bin:29663): CRITICAL **: clearlooks_style_draw_render_icon: assertion `base_pixbuf != NULL' failed


Expected Results:  
There should be no errors.  I.e. the icons sought by Firefox/Galeon should match those available by specific themes.  Either the browser should not request those icons or should correctly handle when they are missing or the theme should provide them.

It is worth noting that several of the bugs are generated because both Firefox and Galeon are attempting to tell GLib/Gtk to work with a "non-existent" icon.  Both programs could (should) be corrected to not do this.

The problem may also be present in other Mozilla based systems (e.g. Mozilla, Thunderbird, etc.)
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-21 19:40:43 UTC
not sure I got what you mean exactly but those icons gtk-* are provided by gtk itself and that's why they are often omitted by themes (they are builtin and overridable by themes).

Does your problem show by any missing icons in said apps ?
Comment 2 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-11-21 23:48:13 UTC
please get back to us.
Comment 3 Robert Bradbury 2008-11-22 01:24:57 UTC
(In reply to comment #2)
> please get back to us.
> 

Ok, so if the gtk-* icons are supposed to be provided, where do I go look for them?


I think I am using the gnome clearlooks theme but don't know where to go to check that.  If I can't find the missing icons mentioned in the error messages can I copy them from some other theme into my .icons directory to fix the problem?
Comment 4 Daniel Gryniewicz (RETIRED) gentoo-dev 2008-11-22 17:44:15 UTC
The question was: are there any visible missing icons in your programs?  These would show up as an icon of a piece of paper with a red X in it.
Comment 5 Robert Bradbury 2008-11-22 20:39:11 UTC
I've never seen an icon with a red X in it so I would guess the answer is no.  That still doesn't eliminate the fact that one accumulates lots of these error messages in a log file when trying to debug a browser and that makes it hard to separate the "true" errors from what are only configuration issues.

Is the problem is missing icons from various themes, is there a theme which contains all of the icons used by the browsers?

Then there is the problem that each of these "warnings" generates 4 warnings rather than just one.  This I presume is a gtk issue in which case the bug should be refiled with gnome or freedesktop.