Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
firefox toolbar icons (not favicons) are missing [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Wed Jun 20, 2012 12:18 pm    Post subject: firefox toolbar icons (not favicons) are missing [SOLVED] Reply with quote

Hi,

I recently updated from firefox3.x (which now seems to have leapfrogged to about 13 for some odd reason).

In doing so all my toolbar buttons (like back, forward, reload , etc. ) have gone blank.

If I hover over where they should be a get a blank outline of minimal width and I still get the hint popping up, it just seems to have build without the icon image.

Please note this is not favicon / bookmark problem that seems all over the web in relation to upgrading to ffx 8

Also if I do Save_As or similar I do not get any icons in front of directory names or the various (stupidly named) "places" in the file chooser.

Is this some "theme" which has been withdrawn ?

Any suggestions on how to straighten this out ?

TIA.
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86


Last edited by Gentree on Sun Jul 22, 2012 7:47 pm; edited 2 times in total
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Wed Jun 20, 2012 2:34 pm    Post subject: Reply with quote

got some console output:

Code:
(firefox:13534): Gtk-WARNING **: Error loading theme icon 'process-stop' for stock: Failed to load icon

(firefox:13534): Gtk-CRITICAL **: render_fallback_image: assertion `pixbuf != NULL' failed

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

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

(firefox:13534): Gtk-WARNING **: Error loading theme icon 'view-refresh' for stock: Failed to load icon

(firefox:13534): Gtk-CRITICAL **: render_fallback_image: assertion `pixbuf != NULL' failed



I rebuilt gtk+ but same prob.

What are these "theme icons" and where have they gone?
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Wed Jun 20, 2012 2:38 pm    Post subject: Reply with quote

If I try to configure the toolbar I get the usual palette of text headings and icons except half the icons are missing !

Is this some defective icon package ? I don't see anything in the ebuild.

Is it a faulty fox src file that is missing some of the icons?

How to find out ?

thx 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Wed Jun 20, 2012 3:13 pm    Post subject: Reply with quote

Code:
(thunderbird:2122): Gtk-WARNING **: Error loading theme icon 'edit-delete' for stock: Failed to load icon

(thunderbird:2122): Gtk-CRITICAL **: render_fallback_image: assertion `pixbuf != NULL' failed

(thunderbird:2122): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed

(thunderbird:2122): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion `G_IS_LOADABLE_ICON (icon)' failed

(thunderbird:2122): Gtk-WARNING **: Error loading theme icon 'edit-find' for stock: Failed to load icon

(thunderbird:2122): Gtk-CRITICAL **: render_fallback_image: assertion `pixbuf != NULL' failed

(thunderbird:2122): GLib-GObject-CRITICAL **: g_object_ref: assertion `G_IS_OBJECT (object)' failed
[object ChromeWindow]:mail-startup-done


Similar problems with thunderbird.

rebuilt glib and gtk+ , no change.
Code:

 x11-libs/gtk+-3.2.4-r1
 sys-libs/glibc-2.14.1-r2

_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 3978
Location: Saint Amant, Acadiana

PostPosted: Wed Jun 20, 2012 3:51 pm    Post subject: Reply with quote

Probably you ran depclean and wiped off the theme.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Wed Jun 20, 2012 5:45 pm    Post subject: Reply with quote

Jaglover wrote:
Probably you ran depclean and wiped off the theme.


probably didn't.

what do I need to add to recover a set of valid icons that I can then attribute to the required buttons?

TIA. 8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
wcg
Guru
Guru


Joined: 06 Jan 2009
Posts: 554

PostPosted: Wed Jun 20, 2012 6:57 pm    Post subject: Reply with quote

Note that glib != glibc. glib is a library of general
C functions depended on by gtk and many other
libraries and programs (atk, cairo, pango, qt, and
others). glibc is the GNU C Library, the system C
library that nearly everything but the kernel itself
uses.

So you still may need to re-emerge glib (and perhaps
other libraries that depend on it), but that will not
necessarily solve the icon problem, which may have
some other cause than glib.

I have similar issues, although not as extensive
as those you describe. After an xfce4 upgrade
from 4.8 to 4.10, it has lost the location of the
generic icon that it uses to represent "a web browser"
in the panel and the icon for the logout button.
If I hover with the mouse cursor over where those
icons would normally be and click, the program
(www browser or xfce4 logout dialog in this case)
starts normally. Note that this could be an inability
to render those icons, but I suspect that xfce4 is simply
not finding them.

After logging out of X, I also see some error messages
about glib objects on the console where I ran startx
to load Xorg, but I do not know if they are related
to the missing icons (the messages do not seem that
specific, with no mention of missing files, for example;
simply some application trying to do things with glib objects
in memory not supported by the currently loaded glib
version).

So, your guess is as good as mine. I just wanted to point
out that re-emerging glibc does not cause glib to be
re-emerged, that they are two different packages with
very similar names.

Somewhere there is a typo in a config file. It was probably
emerged by a package upgrade of some package, perhaps
a theme package, but not necessarily. The theme may be fine,
but some parts of it have been relocated in the new package
for it, and one or more of your other packages that use that
theme did not get the memo.

That would be my guess.
_________________
TIA
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Wed Jun 20, 2012 7:09 pm    Post subject: Reply with quote

Thanks for the glib comment. I wasn't thinking the error is in glib, that is why I have not rebuilt it. It is simply reporting the result of an error trap that finds that the pixbuf object was not created. The error condition comes from the error in gtk+ which fails to find the named icons, icon 'process-stop' amongst others.

Code:
(firefox:13534): Gtk-WARNING **: Error loading theme icon 'process-stop' for stock: Failed to load icon

(firefox:13534): Gtk-CRITICAL **: render_fallback_image: assertion `pixbuf != NULL' failed

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


thx
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Jaglover
Advocate
Advocate


Joined: 29 May 2005
Posts: 3978
Location: Saint Amant, Acadiana

PostPosted: Wed Jun 20, 2012 7:45 pm    Post subject: Reply with quote

Have you tried switching desktop themes.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Thu Jun 21, 2012 8:22 am    Post subject: Reply with quote

No, these are not desktop themes (I'm using fvwm BTW) they are gtk icon names.


Code:
(firefox:3766): Gtk-WARNING **: Error loading theme icon 'process-stop' for stock: Failed to load icon
(firefox:3766): Gtk-WARNING **: Error loading theme icon 'go-previous' for stock: Failed to load icon
(firefox:3766): Gtk-WARNING **: Error loading theme icon 'window-close' for stock: Failed to load icon

thunderbird and gimp are showing similar errors:


Code:
(gimp:3388): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Failed to load icon
(gimp:3388): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Failed to load icon


This seems to be a gtk / gtk themes problem.

maybe insufficient version control in the ebuilds somewhere or a missing dep.

:?
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Thu Jun 21, 2012 10:24 am    Post subject: Reply with quote

Seem to be getting closer. Some searching suggested running gdk-pixbuf-query-loaders to update the cache.

I tried and it aborted. So I rebuilt (pulled in a minor update) and it still failed when the installer try to run it !

Code:
 Installing (1 of 1) x11-libs/gdk-pixbuf-2.26.1
^[[AGLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.  Aborting.
/usr/portage/tmp/portage/x11-libs/gdk-pixbuf-2.26.1/temp/environment: line 2389: 21335 Aborted                 gdk-pixbuf-query-loaders > "${tmp_file}"
 * Cannot update loaders.cache, gdk-pixbuf-query-loaders failed to run


Code:
gdk-pixbuf-query-loaders
GLib (gthread-posix.c): Unexpected error from C library during 'pthread_setspecific': Invalid argument.  Aborting.


PS also just rebuilt glibc and glib, problem is identical !

Ideas ?
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Thu Jun 21, 2012 11:41 am    Post subject: Reply with quote

Tried rebuilding librsvg thinking that may help but it fails:

[EDIT showing correct output, both 2.36.0 and 2.36.1 show same breakage]

Code:
Making all in gdk-pixbuf-loader
make[2]: Entering directory `/usr/portage/tmp/portage/gnome-base/librsvg-2.36.0/work/librsvg-2.36.0/gdk-pixbuf-loader'
  CC       libpixbufloader_svg_la-io-svg.lo
io-svg.c: In function 'gdk_pixbuf__svg_image_load_increment':
io-svg.c:127:17: warning: 'rsvg_handle_set_size_callback' is deprecated (declared at ../rsvg.h:205)
  CCLD     libpixbufloader-svg.la
  CC       rsvg_loader-test.o
  GEN      gdk-pixbuf-loaders
make[2]: *** [gdk-pixbuf-loaders] Error 134
make[2]: Leaving directory `/usr/portage/tmp/portage/gnome-base/librsvg-2.36.0/work/librsvg-2.36.0/gdk-pixbuf-loader'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/portage/tmp/portage/gnome-base/librsvg-2.36.0/work/librsvg-2.36.0'
make: *** [all] Error 2
 * ERROR: gnome-base/librsvg-2.36.0 failed (compile phase):

make[2]: *** [gdk-pixbuf-loaders] Error 134

Not much help but it seems to be pointing the same direction...

Still no wiser as to what is required.
:(
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Fri Jul 06, 2012 12:25 pm    Post subject: Reply with quote

Ok, I've sync'ed several times run emerge -uD world ; done revdep-rebuild .... the whole damn lot (took me about five days to clear all the problems and build it all cleanly.

STILL NOT FRIGGIN ICONS !

The most problematic is the file open dialogue no longer has icons for directories so it's very hard to see where the directories end and file names start.

Not having back , forward and reload is also a pain.

What do I need to do to fix this mess. :evil:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Fri Jul 20, 2012 10:52 am    Post subject: Reply with quote

Jaglover wrote:
Have you tried switching desktop themes.


yes I have tried this as well. Still no icons !

The problem seems deeper than that.

Note the following warnings : failed to load from stock then render_fallback_image both failures.

Code:

(firefox:13534): Gtk-WARNING **: Error loading theme icon 'process-stop' for stock: Failed to load icon

(firefox:13534): Gtk-CRITICAL **: render_fallback_image: assertion `pixbuf != NULL' failed


It does not say it cannot find my theme but that it fails to get stock icons THEN the fallback is NULL as well.


Both Ffox and Tbird, with similar code base are showing exactly the same problem .

What can I do to find the cause ? :cry:

TIA.
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Sun Jul 22, 2012 2:37 pm    Post subject: Reply with quote

now moved to ffux-14 , it seems the place that had the icon less buttons has gone altogether now. Not that that is helpful but it seems less buggy.

I think I had a config from ff 3.6.x that was not properly integrated when moving to ff-13.

I also found out that firefox depends of gtk+:2 not gtk+:3 , so I was messing around rebuilding the wrong version.

There was a recognised but in <GTK+2.10 that was returning a null pointer when it shouldn't , this was the cause of most of the errors.

updating to gtk+-2.11.0 got rid of all the mess on the console and the dialogues now icons for directory entries, which is a great help in clarity.

It seems that the "new tab" button is no longer available, so what I found missing , really is missing in newer ffux, call it a "feature" if you will.

The bugginess that had me running around for the last couple of weeks seems to be the untidy way this feature was removed in ffux-13 , compounded by the gkt+ bug producing console output that looked related and probably was a separate issue. .

Phew !
8)
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Gentree
Watchman
Watchman


Joined: 01 Jul 2003
Posts: 5164
Location: France, Old Europe

PostPosted: Sun Jul 22, 2012 7:54 pm    Post subject: Reply with quote

Getting a better understand of what Mozilla have done to confuse the hell out of the user and make life harder (and how to fix it).

Forward and Back icons was a bug, now fixed as stated above.

Disappearing Home , Reload and 'New tab' buttons was simply Mozilla being stupid and inept about UI design.

Stop/Reload in now INSIDE the address bar and end of the URL input box.
Home is at the far RHS after the google search input box.
New Tab button is the little plus sign tab that floats along just after the last tab.

The fundamental thing they get wrong here is that ergonomic means having stuff in a consistent position that does not require visual re-evaluation of the whole browser window to see where the controls for repetitive tasks currently are each time you need to use them.

Not having to sweep the mouse from extreme left to extreme right would be good too.

All these can be moved to a consistent and easily accessed (like where they were before they started messing around) via the usual customise functions:

right-click on an empty bit of any tool-bar and select customise from the menu. Then drag the icons where you want them and click "Done".


This starting to smack of Microsoft tactics. Move stuff around, shuffle the deck, confuse the hell out of everyone and pretend you have written an upgrade.

Don't you just love updating software? :roll:
_________________
Linux, because I'd rather own a free OS than steal one that's not worth paying for.

KX7-333 , AthlonXP1800+ @2.3GHz
AthlonXP-M on A7N8X @ 2.6/2.4GHz (winter/summer)
2.6.32-hh1 : portage ~x86
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum