Bug 415651

Summary: Absolute icon path in gucharmap desktop file breaks themeability
Product: [Fedora] Fedora Reporter: Joachim Frieben <jfrieben>
Component: gucharmapAssignee: Matthias Clasen <mclasen>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-02-05 17:20:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Joachim Frieben 2007-12-07 13:57:00 UTC
Description of problem:
After upgrading to the latest gucharmap package, GNOME menu item
"Applications > Accessories > Character Map" sports a stock GNOME
icon even though the chosen icon theme is Bluecurve.

Version-Release number of selected component (if applicable):
gucharmap-2.21.3-1.fc9

How reproducible:
Always.

Steps to Reproduce:
1. Upgrade to gucharmap-2.21.3-1.fc9.
2. Set icon theme to Bluecurve.

Actual results:
Menu item "Applications > Accessories > Character Map" uses a stock
GNOME icon.

Expected results:
Menu item "Applications > Accessories > Character Map" uses a suitable
Bluecurve icon [as it did before].

Additional info:
This used to work for earlier versions of the gucharmap package.
The reason for the current misbehaviour is an absolute icon path
in the corresponding desktop file gnome-gucharmap.desktop. By
changing "Icon=/usr/share/icons/hicolor/48x48/apps/gucharmap.png"
to "Icon=gucharmap.png", the correct behaviour is restored. Please
change gnome-gucharmap.desktop accordingly.

Comment 1 Matthias Clasen 2007-12-07 15:29:12 UTC
Icon=gucharmap.png is verboten according to the latest desktop-file-utils, which
is why I changed it in the first place. If somebody wants to change it to
Icon=gucharmap without the extension, that is fine with me.

Comment 2 Joachim Frieben 2007-12-07 20:02:45 UTC
Macht nichts: "Icon=gucharmap" works equally well. Please go ahead ..

Comment 3 Joachim Frieben 2008-01-15 17:21:15 UTC
Still broken in gucharmap-2.21.5-1.fc9.

Comment 4 Matthias Clasen 2008-01-15 17:58:52 UTC
Please file an upstream bug and attach the patch there. Thanks

Comment 5 Joachim Frieben 2008-01-15 18:27:24 UTC
Upstream bug report: https://bugzilla.gnome.org/show_bug.cgi?id=509718

Comment 6 Joachim Frieben 2008-01-15 18:52:10 UTC
Upstream has changed "Icon=gucharmap.png" to "Icon=gucharmap". This
should prevent your sed transformation from inserting an absolute
path, right? I suppose the next round of gucharmap-2.21.x will build
correctly then.

Comment 7 Matthias Clasen 2008-02-05 17:20:20 UTC
Yes, looks fixed to me, modulo conversion to an icon-naming-spec standard name,
but thats an upstream issue.