You are not logged in.

#1 2010-10-04 17:15:31

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

[SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Hi, after I upgraded GTK2 (2.20.1-2 -> 2.22.0-2) my forward and back button in Firefox disappeared. When I start Firefox I get these errors:

(firefox:4659): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: Icon 'gtk-go-back-ltr' not present in theme
(firefox:4659): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(firefox:4659): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed
(firefox:4659): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
(firefox:4659): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(firefox:4659): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: Icon 'gtk-go-forward-ltr' not present in theme
(firefox:4659): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(firefox:4659): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed
(firefox:4659): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
(firefox:4659): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

"not present in theme" - what theme? I don't know anything about a theme. Can anyone help?

Last edited by Lars Stokholm (2010-10-22 21:30:43)

Offline

#2 2010-10-04 17:23:02

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

is about gtk theme. try changing it. this is not a gtk2 2.22 related issue. try to reinstall gdk-pixbuf2

Last edited by wonder (2010-10-04 17:39:02)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2010-10-04 18:50:07

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Thanks, but it didn't do anything. Reinstalling pixbuf2 didn't help and setting the theme to another one (Clearlooks) didn't either. Normally I just use the default theme (whatever that is).

Offline

#4 2010-10-04 20:31:38

amen
Member
Registered: 2009-08-02
Posts: 44

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Lars Stokholm wrote:

Hi, after I upgraded GTK2 (2.20.1-2 -> 2.22.0-2) my forward and back button in Firefox disappeared. When I start Firefox I get these errors:

(firefox:4659): Gtk-WARNING **: Error loading theme icon 'gtk-go-back-ltr' for stock: Icon 'gtk-go-back-ltr' not present in theme
(firefox:4659): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(firefox:4659): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed
(firefox:4659): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
(firefox:4659): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
(firefox:4659): Gtk-WARNING **: Error loading theme icon 'gtk-go-forward-ltr' for stock: Icon 'gtk-go-forward-ltr' not present in theme
(firefox:4659): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed
(firefox:4659): Gtk-CRITICAL **: gtk_default_render_icon: assertion `base_pixbuf != NULL' failed
(firefox:4659): Gtk-CRITICAL **: IA__gtk_style_render_icon: assertion `pixbuf != NULL' failed
(firefox:4659): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

I just updated my system and I'am now a bit confused. I have exacly same problem. Can anyone help?

Last edited by amen (2010-10-04 20:32:05)

Offline

#5 2010-10-04 20:36:44

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

what icon theme do you guys have for gtk?  i think is incomplete


Give what you have. To someone, it may be better than you dare to think.

Offline

#6 2010-10-05 01:19:59

alienjeff
Member
From: Winsted CT USA
Registered: 2008-08-29
Posts: 27
Website

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

I'm not waiting for a fix. As a matter of fact, this bugaboo prompted me into further disassociation with the dreaded rodent (yes, I'm a ratpoison user) by further checking out Firefox hotkeys. To wit: for forward, hit ALT-right arrow; for back, hit ALT-left arrow.


hangout: ##arch-ftw on irc.freenode.net and sometimes irc.nuxxor.com
diversion: http://alienjeff.net - visit The Fringe
quote: "The foundation of authority is based upon the consent of the people." - Thomas Hooker

Offline

#7 2010-10-05 08:25:55

amen
Member
Registered: 2009-08-02
Posts: 44

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

wonder wrote:

what icon theme do you guys have for gtk?  i think is incomplete

How can I check this? (I don't have GNOME. I have kdemod3. Propably the icons are from package kdemod3-icons-tango in my system.).

Offline

#8 2010-10-05 09:18:28

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

wonder wrote:

what icon theme do you guys have for gtk?  i think is incomplete

I don't know. I didn't set one explicitly, not that I know of at least. I use dwm as my WM.

Edit: Also, as amen says: How can I check this?

Last edited by Lars Stokholm (2010-10-05 09:19:27)

Offline

#9 2010-10-05 09:33:14

maziluemanuel
Member
Registered: 2010-10-04
Posts: 1

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

I had the same problem.
I installed lxappearance2-git from AUR, and used to install an icon theme from http://art.gnome.org/themes/icon

Offline

#10 2010-10-05 09:54:50

vitaly
Member
Registered: 2010-05-17
Posts: 6

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

See the same problem. I don't use any prepackaged WM/DE as well.

Offline

#11 2010-10-05 10:20:43

vitaly
Member
Registered: 2010-05-17
Posts: 6

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Seems like gtk-2 package misses gtk/stock-icons.

Offline

#12 2010-10-05 10:42:44

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Same problem here, using KDE 4.5 from extra.

Offline

#13 2010-10-05 11:26:15

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Same problem here.

pacman -Ql | grep gtk-go-back-ltr returns nothing.

gtk-go-back-ltr.svg exist on tango-icon-theme packet. I installed it but the icons still missing.

Maybe the is a trick with update-mime-database command.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#14 2010-10-05 11:29:25

vitaly
Member
Registered: 2010-05-17
Posts: 6

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

firewalker wrote:

gtk-go-back-ltr.svg exist on tango-icon-theme packet. I installed it but the icons still missing.

You need to change fallback in /etc/gtk-2.0/gtkrc to Tango

Offline

#15 2010-10-05 11:43:59

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Installing gnome-icon-theme makes the icons appear again, though the different ones from that theme.

I guess they changed the spec of this button (the name) and the solution will be to other themes to implement this icon with this name in the future.

Last edited by Bogart (2010-10-05 11:44:35)

Offline

#16 2010-10-05 12:38:04

amen
Member
Registered: 2009-08-02
Posts: 44

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

I have gtk-go-back-ltr in gnome-icon-theme package:

[root@myhost ~]# pacman -Ql | grep gtk-go-back-ltr
gnome-icon-theme /usr/share/icons/gnome/16x16/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/22x22/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/24x24/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/256x256/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/32x32/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/48x48/actions/gtk-go-back-ltr.png

I reinstalled gnome-icon-theme package but the icons still missing.
I also installed tango-icon-theme package and changed fallback in /etc/gtk-2.0/gtkrc to Tango but still not working.

Offline

#17 2010-10-05 13:41:04

Bogart
Member
From: Madrid, Spain
Registered: 2005-06-22
Posts: 272

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

amen wrote:

I have gtk-go-back-ltr in gnome-icon-theme package:

[root@myhost ~]# pacman -Ql | grep gtk-go-back-ltr
gnome-icon-theme /usr/share/icons/gnome/16x16/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/22x22/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/24x24/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/256x256/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/32x32/actions/gtk-go-back-ltr.png
gnome-icon-theme /usr/share/icons/gnome/48x48/actions/gtk-go-back-ltr.png

I reinstalled gnome-icon-theme package but the icons still missing.
I also installed tango-icon-theme package and changed fallback in /etc/gtk-2.0/gtkrc to Tango but still not working.

Maybe you have set up GTK apps to use your KDE theme? As I remember, in the KDE3 control center there was an option to do this or to set them to use a GTK theme. I guess your options are to either change them to use a GTK theme, or to set the tango-icon-theme to fallback to "gnome" (in /user/share/icons/tango/index.theme search for the "inherits" line and set it to something like "inherits=gnome,hicolor"). You might need to log out before changes take effect.

Last edited by Bogart (2010-10-05 13:42:38)

Offline

#18 2010-10-05 14:43:59

Lars Stokholm
Member
From: Denmark
Registered: 2009-03-17
Posts: 223

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Bah. So now gnome-icon-theme should be pulled as a (yet another) dependency for Firefox?

Offline

#19 2010-10-05 15:18:40

amen
Member
Registered: 2009-08-02
Posts: 44

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

I added

gtk-icon-theme-name = "Tango"

to ~/.gtkrc-2.0-kde (or with default GTK2 config, to: ~/.gtkrc-2.0) and is OK now(I installed tango-icon-theme package of course). Thanks for response.

Last edited by amen (2010-10-06 12:07:34)

Offline

#20 2010-10-05 16:11:14

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

It also affects gedit. Installing gnome-icon-theme solves the issue.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#21 2010-10-06 01:23:08

cmtptr
Member
Registered: 2008-09-01
Posts: 135

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

firewalker wrote:

It also affects gedit. Installing gnome-icon-theme solves the issue.

Sort of... they don't look the same, though.  Is this the official solution?

Offline

#22 2010-10-06 09:52:28

firewalker
Member
From: Hellas (Greece).
Registered: 2006-06-05
Posts: 552

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

No, I don think so.


Γίνε ρεαλιστής, μείνε ονειροπόλος ...

Offline

#23 2010-10-07 20:46:35

Marc Mongenet
Member
Registered: 2010-10-07
Posts: 1

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

Lars Stokholm wrote:

I didn't set one explicitly, not that I know of at least. I use dwm as my WM.

Same problem for me, and I don't use icon themes and things like that. I use a bare FVWM.

Offline

#24 2010-10-07 21:10:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

at least i found is a gtk modification

https://bugzilla.gnome.org/show_bug.cgi?id=629878

Last edited by wonder (2010-10-08 16:48:57)


Give what you have. To someone, it may be better than you dare to think.

Offline

#25 2010-10-14 20:24:47

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: [SOLVED] [GTK2/Firefox] Forward/back button "not present in theme"

cmtptr wrote:
firewalker wrote:

It also affects gedit. Installing gnome-icon-theme solves the issue.

Sort of... they don't look the same, though.  Is this the official solution?

This is a solution. Officially for us, this is a workaround. Since this is a valid bug report upstream, I suppose they will fix it.

If you use something like lxappearance to choose the icon theme, it won't stick, and without gnome-icon-theme you will face this issue. If you don't want gnome-icon-theme, edit one of the main gtkrc files (see above posts).

Last edited by schivmeister (2010-10-14 20:28:08)


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB