Bug #531

avatar

Install application icon in correct places

Added by Michael Monreal 5179 days ago. Updated 4766 days ago.

Status:Closed Start:10/17/2010
Priority:Urgent Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend GNOME
Target version:0.8.9
Complexity:

Medium

Found in Version:

Votes: 0

Description

Right now the application icon referenced in the .desktop file is $PREFIX/share/pixmaps/smuxi-frontend-gnome.svg which is a 48x48 scalable vector.

GNOME (and most other DEs) ask for the application icon to be available in the following sizes:
- 16x16: window icon, panel window list
- 22x22/24x24: panel menu
- 32x32: some launchers
- 48x48: some launchers
- 256x256: used in GNOME3

The icons should be pixel-perfect PNG images (not just scaled down/up from the existing SVG) installed in $PREFIX/share/icons/hicolor/$SIZE/apps/smuxi-frontend-gnome.png (there should not be an icon installed in $PREFIX/share/pixmaps/)

History

Updated by Mirco Bauer 5176 days ago

avatar
  • Category set to Frontend GNOME
  • Assigned to set to Mirco Bauer
  • Target version set to 0.8.9
  • Complexity set to Low

I didn't know this, thanks for this information!

Updated by Michael Monreal 5176 days ago

avatar

Mirco Bauer wrote:

I didn't know this, thanks for this information!

Some "official" information on this can be found hereĀ¹. Hopefully this will soon make its way into the HIG. Be aware that this guide is already a bit outdated (it does not list the 256x256 size and still lists 48x48 as SVG, while all should be installed as PNG only now)

[1] http://live.gnome.org/GnomeGoals/AppIcon

Updated by Mirco Bauer 5119 days ago

avatar

KDE also doesn't like the SVG without PNGs at all either, see: http://darkstar.ist.utl.pt/slackware/addon/slackbuilds/13.1/network/smuxi/smuxi.SlackBuild

Updated by Mirco Bauer 4815 days ago

avatar
  • Assigned to deleted (Mirco Bauer)

Updated by Mirco Bauer 4769 days ago

avatar

The connect button and tab icons (*-chat.svg, connect-button.svg) found in: http://git.qnetp.net/?p=smuxi.git;a=tree;f=images;hb=HEAD also need scaled PNGs but in 16x16 and 22x22 should be sufficient for those.

Updated by Mirco Bauer 4769 days ago

avatar
  • Priority changed from Normal to Urgent

This is also needed for GTK# 2.12.10 and Mono support on Windows as the installers are not shipping SVG pixbuf loaders there!

Updated by Mirco Bauer 4768 days ago

avatar
  • Assigned to set to Mirco Bauer
  • Complexity changed from Low to Medium

Updated by Mirco Bauer 4768 days ago

avatar

Ok, we now have scaled PNG images. I am not sure if these PNGs are pixel-perfect, if they aren't and someone can do so, please do:
http://git.qnetp.net/?p=smuxi.git;a=tree;f=images;hb=refs/heads/experiments/no_svg

Updated by Michael Monreal 4768 days ago

avatar

Mirco Bauer wrote:

Ok, we now have scaled PNG images. I am not sure if these PNGs are pixel-perfect, if they aren't and someone can do so

To achieve pixel-perfection you need one SVG per target size because only this way you can make sure the vectors are aligned to the pixel grid. So hopefully some art person can help out at some point.

Updated by Mirco Bauer 4766 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF