Bug 1157534 - Application icon is too small and no AppData for usage in the software center
Summary: Application icon is too small and no AppData for usage in the software center
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnurobbo
Version: rawhide
Hardware: All
OS: Unspecified
unspecified
low
Target Milestone: ---
Assignee: Raphael Groner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1149423
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-27 10:56 UTC by Richard Hughes
Modified: 2014-11-05 03:55 UTC (History)
3 users (show)

Fixed In Version: gnurobbo-0.66-4.20141028svn412.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-03 20:23:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Better icon from Debian (1.35 KB, image/x-xpixmap)
2014-10-28 10:48 UTC, Raphael Groner
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 726357 0 None None None Never

Description Richard Hughes 2014-10-27 10:56:02 UTC
Description of problem:

In Fedora 21 we show any valid application in the software center with an application icon of 32x32 or larger. Currently a 32x32 icon has to be padded with 16 pixels of whitespace on all 4 edges, and *also* has to be scaled x2 to match other UI elements on HiDPI screens.

This looks fuzzy, out of alignment and lowers the quality of an otherwise beautiful installing experience. For Fedora 22 we are planning to increase the minimum icon size to 48x48, with recommended installed sizes of 24x24, 48x48, 64x64 and 256x256 (or SVG).

Modern desktop applications typically ship multiple sizes of icons in known locations, and it's very much the minority of packages in Fedora (69 out of 1042) that only ship such small icons.

I'm asking package maintainers to install a larger icon than 32x32 in the Fedora package. Most of the time this will involve just installing a different icon from the tarball, but could also mean contacting upstream and asking them for larger icons and a new tarball release.

If you're asking upstream, please ask for a 256x256 or 64x64 icon, as the latter will probably be the minimum size for F23 and beyond. If you want to fix up F20 and F21 too that would be great, but not expected.

At the end of November I'll change the minimum icon size in the AppStream generator so that applications not fixed will not be shown in the software center. You can of course install this application in F22 with dnf on the command line, but it won't be visible in the software center until they are installed manually.

Additional info:
If you're unclear on what needs to be done in order to be listed in the software center, refer to this https://github.com/hughsie/appstream-glib#what-is-an-application or comment here.

Thanks!

Richard.

Comment 1 Raphael Groner 2014-10-27 11:46:17 UTC
Sorry, I do not have any Gnome. Think about delegation to software center instead to handle small icons properly.

Alternatively, feel free to submit patches. :o)

Comment 2 Raphael Groner 2014-10-27 11:52:49 UTC
The pixelation is intentionally, because the RETRO factor is a main feature.

See also for 122x122:
http://www.zwodnik.com/media/cache/4b/51/4b511bd606f0708278c0990b61ba64d6.png

Another idea: Use a level screenshot as big icon? Just kidding.

Comment 3 Richard Hughes 2014-10-27 12:02:25 UTC
(In reply to Raphael Groner from comment #1)
> Sorry, I do not have any Gnome. Think about delegation to software center
> instead to handle small icons properly.

AppStream is used by the KDE software center too.

> Alternatively, feel free to submit patches. :o)

http://www.xenoterracide.com/2010/05/dont-say-patches-welcome.html

Comment 4 Raphael Groner 2014-10-27 12:36:05 UTC
(In reply to Richard Hughes from comment #3)
…
> http://www.xenoterracide.com/2010/05/dont-say-patches-welcome.html

Your link is not very helpful for a possible patch or bugfix, I see only a lot of blabla there.

Again from my comment #2:
> The pixelation is intentionally, because the RETRO factor is a main feature.

I guess that upstream sees that in a similiar opinion.

Comment 5 Matthias Runge 2014-10-27 12:48:29 UTC
Raphael, may I remind to on our code of conduct? 

http://fedoraproject.org/de/code-of-conduct

-> Be respectful. Not all of us will agree all the time, but disagreement is no excuse for poor behaviour and poor manners.

Comment 6 Raphael Groner 2014-10-27 13:16:40 UTC
https://sourceforge.net/p/gnurobbo/feature-requests/9/

Comment 7 Raphael Groner 2014-10-27 14:29:32 UTC
% find /usr/share/icons/hicolor /usr/share/pixmaps -name gnurobbo.png |xargs file
/usr/share/icons/hicolor/16x16/gnurobbo.png: PNG image data, 16 x 16, 2-bit colormap, non-interlaced
/usr/share/icons/hicolor/32x32/gnurobbo.png: PNG image data, 32 x 32, 8-bit/color RGBA, non-interlaced
/usr/share/icons/hicolor/48x48/gnurobbo.png: PNG image data, 48 x 48, 2-bit colormap, non-interlaced
/usr/share/pixmaps/gnurobbo.png:             PNG image data, 32 x 32, 8-bit/color RGBA, non-interlaced

Comment 8 Richard Hughes 2014-10-27 15:18:50 UTC
Great, thanks!

Comment 10 Raphael Groner 2014-10-28 10:48:27 UTC
Created attachment 951350 [details]
Better icon from Debian

Comment 12 Raphael Groner 2014-10-28 14:46:06 UTC
Please test with putting the 48x48 icon from hicolor path into /usr/share/applications, what is the result?

Comment 13 Richard Hughes 2014-10-29 18:50:35 UTC
(In reply to Raphael Groner from comment #12)
> Please test with putting the 48x48 icon from hicolor path into
> /usr/share/applications, what is the result?

I'm not sure what you're asking me to do, sorry.

Comment 14 Raphael Groner 2014-10-29 20:16:46 UTC
(In reply to Richard Hughes from comment #13)
> I'm not sure what you're asking me to do, sorry.

Do you understand comment #7? Please use the 48x48 png file as the desktop icon, and tell me if it satisfies your need. I can not find any bigger one, sorry.

Comment 15 Richard Hughes 2014-10-30 13:03:29 UTC
(In reply to Raphael Groner from comment #14)
> (In reply to Richard Hughes from comment #13)
> > I'm not sure what you're asking me to do, sorry.
> 
> Do you understand comment #7? Please use the 48x48 png file as the desktop
> icon, and tell me if it satisfies your need. I can not find any bigger one,
> sorry.

The install destination is incorrect in the RPM; you need to install the icon to /usr/share/icons/hicolor/48x48/apps/gnurobbo.png -- i.e. with the "apps" subfolder. Thanks.

Comment 16 Raphael Groner 2014-10-30 15:21:28 UTC
(In reply to Richard Hughes from comment #15)
> The install destination is incorrect in the RPM; you need to install the
> icon to /usr/share/icons/hicolor/48x48/apps/gnurobbo.png -- i.e. with the
> "apps" subfolder. Thanks.

Thanks for this useful hint. I'll fix it in the next official release. We're still waiting for legalization of the review, see bug #1149423.

Comment 18 Fedora Update System 2014-11-03 21:18:01 UTC
gnurobbo-0.66-4.20141028svn412.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/gnurobbo-0.66-4.20141028svn412.fc21

Comment 19 Fedora Update System 2014-11-03 21:46:08 UTC
gnurobbo-0.66-4.20141028svn412.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/gnurobbo-0.66-4.20141028svn412.fc20

Comment 20 Fedora Update System 2014-11-05 03:55:19 UTC
gnurobbo-0.66-4.20141028svn412.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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