Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#28040 closed defect (worksforme)

firefox-x11-devel: missing icons for back and forward arrows

Reported by: cubranic@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: firefox-x11-devel

Description

When I run firefox-x11-devel, the navigation toolbar is missing icons for back and forward arrows. The buttons are there and are hoverable and clickable, but have no pixmap and are only about 5-10 pixels wide.

I have had this problem with both @4.0b9_0 +internal_dependencies+gnome+official_branding and @4.0.b7_1 +gnome+official_branding.

This is similar to #23479, but a little less severe because only back and forward are missing. The following output is shown in the terminal:

(firefox-bin:86609): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: Icon 'gtk-go-back-ltr' not present in theme

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

(firefox-bin:86609): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed

(firefox-bin:86609): Gtk-CRITICAL **: gtk_style_render_icon: assertion `pixbuf != NULL' failed

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

(firefox-bin:86609): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: Icon 'gtk-go-forward-ltr' not present in theme

[...]

Change History (8)

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to jeremyhu@…

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: Firefox-devel missing icons for back and forward arrowsfirefox-x11-devel: missing icons for back and forward arrows

comment:3 Changed 14 years ago by cubranic@…

Interestingly, those icons are present in Gnome's 'icons' directory:

$ find /opt/local/share/icons -name gtk-go-back-ltr\*
/opt/local/share/icons/Crux/16x16/actions/gtk-go-back-ltr.png
/opt/local/share/icons/Crux/22x22/actions/gtk-go-back-ltr.png
/opt/local/share/icons/Crux/24x24/actions/gtk-go-back-ltr.png
/opt/local/share/icons/Crux/scalable/actions/gtk-go-back-ltr.svg
/opt/local/share/icons/gnome/16x16/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/22x22/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/24x24/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/32x32/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/48x48/actions/gtk-go-back-ltr.png
/opt/local/share/icons/HighContrast-SVG/scalable/actions/gtk-go-back-ltr.svg

comment:4 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: newclosed

Yeah, you need to set your gtk theme to be one of the ones with those icons.

comment:5 Changed 14 years ago by cubranic@…

Resolution: worksforme
Status: closedreopened

According to gconf, my default icon theme is "gnome", for which "gtk-go-back-ltr.png" and "gtk-go-forward-ltr" are present:

$ gconftool-2 --get  /desktop/gnome/interface/icon_theme

(gconftool-2:64815): GConf-WARNING **: Failed to load source "xml:readonly:/etc/gconf/gconf.xml.system": Failed: Could not make directory `/etc/gconf/gconf.xml.system': No such file or directory
gnome

$ find /opt/local/share//icons/gnome -name gtk-go-back-ltr.\*
/opt/local/share//icons/gnome/16x16/actions/gtk-go-back-ltr.png
/opt/local/share//icons/gnome/22x22/actions/gtk-go-back-ltr.png
/opt/local/share//icons/gnome/24x24/actions/gtk-go-back-ltr.png
/opt/local/share//icons/gnome/32x32/actions/gtk-go-back-ltr.png
/opt/local/share//icons/gnome/48x48/actions/gtk-go-back-ltr.png

comment:6 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: worksforme
Status: reopenedclosed

looks like gconf has some issues with not respecting $prefix, please open a ticket for that.

as for your icon issues, that's out of my realm. I don't know much about gnome icon themes, but it works here... so it's a configuration issue on your end.

comment:7 in reply to:  6 Changed 14 years ago by cubranic@…

Replying to jeremyhu@…:

looks like gconf has some issues with not respecting $prefix, please open a ticket for that.

Already did: #28500 :-)

as for your icon issues, that's out of my realm. I don't know much about gnome icon themes, but it works here... so it's a configuration issue on your end.

Would you mind showing what happens when you run gconftool-2 --get /desktop/gnome/interface/icon_theme and find on that subdirectory of $prefix/share/icons? I'm trying to figure out what's different.

comment:8 Changed 14 years ago by jeremyhu (Jeremy Huddleston Sequoia)

~ $ find /opt/local/share/icons/$(gconftool-2 --get /desktop/gnome/interface/icon_theme 2> /dev/null) -name gtk-go-back-ltr.\*
/opt/local/share/icons/gnome/16x16/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/22x22/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/24x24/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/32x32/actions/gtk-go-back-ltr.png
/opt/local/share/icons/gnome/48x48/actions/gtk-go-back-ltr.png

And the arrow buttons do match those images.

Sorry I can't be of more help.

Note: See TracTickets for help on using tickets.