Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533996 - app-editors/bluefish-2.2.3-r1 - missing icons with kde-base/oxygen-icons
Summary: app-editors/bluefish-2.2.3-r1 - missing icons with kde-base/oxygen-icons
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-30 09:48 UTC by MickKi
Modified: 2015-03-29 11:42 UTC (History)
1 user (show)

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 MickKi 2014-12-30 09:48:20 UTC
It may be more than a year now that the main menu icons of bluefish do not show up in KDE.  The button functionality (open/save/etc.) works and hovering over the buttons pops up the relevant text tool-tip, but no button icons are shown.

Reproducible: Always




The USE flags are +qt +kde -gtk -gnome.  I have tried this on 32bit and 64bit PCs, new OS installations and new user profiles.  

I have also tried updating the icon cache in /usr/share/icons, but no success.  Interestingly, starting bluefish when using a different desktop manager, like e17 works as expected with menu icons showing up.

This is what is shown in a terminal, when launched on a 32bit box:
============================================
$ bluefish 
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

(bluefish:27529): Gtk-WARNING **: Error loading theme icon 'window-close' for stock: Failed to load icon 

(bluefish:27529): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

(bluefish:27529): Gtk-WARNING **: Error loading theme icon 'window-close' for stock: Failed to load icon 

(bluefish:27529): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

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

(bluefish:27529): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

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

(bluefish:27529): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

(bluefish:27529): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Failed to load icon 

(bluefish:27529): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

(bluefish:27529): Gtk-WARNING **: Error loading theme icon 'document-new' for stock: Failed to load icon 

(bluefish:27529): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

(bluefish:27529): Gtk-WARNING **: Error loading theme icon 'document-open' for stock: Failed to load icon 

(bluefish:27529): Gtk-CRITICAL **: render_fallback_image: assertion 'pixbuf != NULL' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_ref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): Gdk-CRITICAL **: gdk_cairo_surface_create_from_pixbuf: assertion 'GDK_IS_PIXBUF (pixbuf)' failed 

(bluefish:27529): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed 

(bluefish:27529): GLib-GIO-CRITICAL **: g_loadable_icon_load: assertion 'G_IS_LOADABLE_ICON (icon)' failed 

(bluefish:27529): Gtk-WARNING **: Error loading theme icon 'document-open' for stock: Failed to load icon 

(bluefish:27529): Gtk-CRITICAL **: render_fallback_
============================================

Please let me know if you need addtional info.
-- 
Regards,
Mick
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-12-30 10:32:14 UTC
It might need an RDEPEND on virtual/freedesktop-icon-theme. Does it help to emerge that?
Comment 2 MickKi 2014-12-30 10:38:40 UTC
(In reply to Jeroen Roovers from comment #1)
> It might need an RDEPEND on virtual/freedesktop-icon-theme. Does it help to
> emerge that?

Thanks Jeroen, at least on the 32bit box the virtual is installed:

$ eix -l virtual/freedesktop-icon-theme
[I] virtual/freedesktop-icon-theme
     Available versions:  
            0
     Installed versions:  0(19:10:17 02/09/12)
     Description:         A virtual to choose between different icon themes

I recall emacs having some similar problem with icons, mentioned in the forums, but I don't know if relevant.
-- 
Regards,
Mick
Comment 3 MickKi 2015-01-10 11:32:11 UTC
I installed x11-themes/gnome-icon-theme and the missing menu icons problem is gone. Shouldn't this be a dependency on bluefish, or configured to use hicolor-icon-theme, or some default system icon theme?
-- 
Regards,
Mick
Comment 4 Pacho Ramos gentoo-dev 2015-02-07 11:58:21 UTC
I guess some of the providers of virtual/freedesktop-icon-theme are not supplying that icons :/

At least on my system, it could be supplied by x11-themes/gnome-icon-theme x11-themes/faenza-icon-theme x11-themes/mate-icon-theme 

What icon set are you running? The list of icon sets that should provide that icons are:
        x11-themes/gnome-icon-theme
        x11-themes/faenza-icon-theme
        lxde-base/lxde-icon-theme
        x11-themes/tango-icon-theme
        kde-apps/oxygen-icons
        kde-base/oxygen-icons
        x11-themes/mate-icon-theme
Comment 5 MickKi 2015-02-07 13:27:34 UTC
(In reply to Pacho Ramos from comment #4)
 
> What icon set are you running? 

Unitl I installed x11-themes/gnome-icon-theme to fix this problem, I had these installed which did not bring any icons up:

x11-themes/hicolor-icon-theme
kde-base/kdeartwork-iconthemes
kde-base/kdebase-menu-icons
kde-base/kdepim-icons
kde-base/oxygen-icons

-- 
Regards,
MIck
Comment 6 Pacho Ramos gentoo-dev 2015-02-07 13:45:21 UTC
it's strange, per:
https://www.archlinux.org/packages/extra/any/oxygen-icons/files/

oxygen-icon-theme can provide window-close.png icon, but looks like they have a newer version than us (the same on Fedora):
https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/oxygen-icons
Comment 7 MickKi 2015-02-07 15:59:46 UTC
FYI, this is a production machine, so I'm running stable packages:

kde-base/oxygen-icons-4.14.3

-- 
Regards,
Mick
Comment 8 Michael Palimaka (kensington) gentoo-dev 2015-02-11 14:00:34 UTC
oxygen-icons does provide those icons - you need to use kde-gtk-config to select the Oxygen icon style.
Comment 9 MickKi 2015-02-11 18:05:52 UTC
(In reply to Michael Palimaka (kensington) from comment #8)
> oxygen-icons does provide those icons - you need to use kde-gtk-config to
> select the Oxygen icon style.

Thanks Michael, but in the past (some months ago) this was not necessary.  Also, other gtk apps do not have this problem.
-- 
Regards,
Mick
Comment 10 Michael Palimaka (kensington) gentoo-dev 2015-02-12 11:21:24 UTC
Are you able to get any logs by running under strace? Would be interesting to see what paths it's trying to load from.
Comment 11 Johannes Huber (RETIRED) gentoo-dev 2015-03-29 11:42:08 UTC
(In reply to Michael Palimaka (kensington) from comment #10)
> Are you able to get any logs by running under strace? Would be interesting
> to see what paths it's trying to load from.