Bug 752698 - The icon is packaged, but it doesn't show on Gnome 3.2.
Summary: The icon is packaged, but it doesn't show on Gnome 3.2.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: perl-Padre
Version: 16
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Marcela Mašláňová
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 746449 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-10 07:12 UTC by gatlibs
Modified: 2013-02-14 02:04 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-14 02:04:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Refresh Gnome's icon cache on post/postun/posttrans (1.27 KB, patch)
2012-05-02 14:25 UTC, Emmanuel Seyman
no flags Details | Diff

Description gatlibs 2011-11-10 07:12:47 UTC
Description of problem:
The icon does not show on Activities/Applications.

Version-Release number of selected component (if applicable):
perl-Padre-0.86-5.f16.noarch

How reproducible:
Install perl-Padre.

Steps to Reproduce:
1. Install.
2. Hit windows key.
3. Type "perl Padre".
  
Actual results:
The generic gear of a script/program is shown.

Expected results:
The butterfly representing the program being shown is expected.

Additional info:
There seem to be icons in /usr/share/icon/*

Comment 1 Marcela Mašláňová 2011-11-10 07:25:59 UTC
I'll try to find someone with Gnome. Did it work after next login? I'm not sure how are icons updated.

Comment 2 Marcela Mašláňová 2011-11-15 13:00:08 UTC
It's most probably bug of gnome-shell.

Comment 3 Karel Klíč 2011-11-22 16:31:35 UTC
*** Bug 746449 has been marked as a duplicate of this bug. ***

Comment 4 Emmanuel Seyman 2011-11-22 17:11:26 UTC
FWIW, if I take the file /usr/share/applications/fedora-padre.desktop and replace :
Icon=padre
with
Icon=/usr/share/icons/hicolor/64x64/apps/padre.png

the icon shows up in gnome-shell.

Comment 5 Marcela Mašláňová 2011-11-23 13:01:55 UTC
It should be changed in packaging guidelines if it doesn't work in short form.

http://fedoraproject.org/wiki/PackagingGuidelines#Icon_tag_in_Desktop_Files

Comment 6 Iain Arnell 2011-11-23 13:12:34 UTC
I noticed other packages are touching /usr/share/icons/hicolor in %post and then managed to find 
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#Icon_Cache

Padre needs updating to include the relevant scriptlets.

Comment 7 Emmanuel Seyman 2012-05-02 14:25:33 UTC
Created attachment 581635 [details]
Refresh Gnome's icon cache on post/postun/posttrans

(In reply to comment #6)
>
> Padre needs updating to include the relevant scriptlets.

Confirmed on F17.
Installing perl-Padre gives me the gear icon and running 'sudo /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor' gives me the Padre icon.

I'm attaching the patch to the spec file needed to make it work (and it would be really cool if Padre was updated while we're at it).

Comment 8 Marcela Mašláňová 2012-05-02 16:21:06 UTC
I wanted to fix it with update, but I run into new dependency perl-Wx-Scintilla, which is bundling and modifying original scintilla. I didn't have time to go through the whole exception process yet.

Comment 9 Fedora End Of Life 2013-02-14 02:04:31 UTC
Fedora 16 changed to end-of-life (EOL) status on 2013-02-12. Fedora 16 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.