Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370059 - net-print/cups-1.4.6-r1 doesn't update icon cache
Summary: net-print/cups-1.4.6-r1 doesn't update icon cache
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal trivial (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-04 19:20 UTC by Jani Kananen
Modified: 2012-01-15 18:51 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 Jani Kananen 2011-06-04 19:20:52 UTC
Cups web interface icon is missing from Gnome menu.

Reproducible: Always

Steps to Reproduce:
1. Go to applications -> System tools -> Manage Printing
Actual Results:  
Icon missing.

Expected Results:  
Icon available.

Gnome icon theme version: x11-themes/gnome-icon-theme-3.0.0
Comment 1 Pacho Ramos gentoo-dev 2011-06-04 19:25:44 UTC
Are you referring to /usr/share/applications/system-config-printer.desktop ?

In that case, it's looking for /usr/share/icons/gnome/48x48/devices/printer.png icon that is being properly provided by x11-themes/gnome-icon-theme-3.0.0
Comment 2 Jani Kananen 2011-06-04 19:35:26 UTC
I'm referring to /usr/share/applications/cups.desktop
Comment 3 Jani Kananen 2011-06-04 19:56:26 UTC
OK, seems like =net-print/cups-1.4.6-r1 provides the cups.desktop file and the icon files provided by cups package are:
/usr/share/icons/hicolor/128x128/apps/cups.png
/usr/share/icons/hicolor/16x16/apps/cups.png
/usr/share/icons/hicolor/32x32/apps/cups.png
/usr/share/icons/hicolor/64x64/apps/cups.png

But Gnome is not picking the icons. Maybe because it's missing 48x48 icon file?
Comment 4 Pacho Ramos gentoo-dev 2011-06-04 20:01:25 UTC
I can see the icon properly :-/, have you tried to add it to the panel and see if icon is shown there?
Comment 5 Pacho Ramos gentoo-dev 2011-06-04 20:01:54 UTC
Also show gnome-panel version and try with 2.32.1-r2
Comment 6 Pacho Ramos gentoo-dev 2011-06-05 09:28:10 UTC
Also note that I am using net-print/cups-1.3.11-r4, maybe it's a cups-1.4.6-r1 problem
Comment 7 Jani Kananen 2011-06-05 12:40:55 UTC
Strangest thing, I emerged libreoffice and after that the cups icon popped out of nowhere. Now it is showing the cups icon normally. I had logged out, rebooted and re-emerged cups and nothing but after emerging libreoffice the icon appeared. Also on a sidenote it didn't show the libreoffice icons until I had logged out. Well the cups is now showing atleast. :)
Comment 8 Pacho Ramos gentoo-dev 2011-06-05 12:50:56 UTC
cups ebuild needs to call 
gnome2_icon_savelist
gnome2_icon_cache_update

and co (they can see opera ebuilds to see how to call them)
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2012-01-15 18:51:15 UTC
+*cups-1.5.0-r3 (15 Jan 2012)
+*cups-1.4.8-r23 (15 Jan 2012)
+
+  15 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org>
+  +cups-1.4.8-r23.ebuild, +cups-1.5.0-r3.ebuild:
+  Update icon cache etc, bug 370059
+

Implemented, thanks.