[Pkg-gpe-maintainers] Bug#531941: gpe-gallery: missing gpe-gallery.png icon for .the desktop file
Luca Capello
luca at pca.it
Sat Jun 6 15:06:02 UTC 2009
Hi there!
On Fri, 05 Jun 2009 16:31:59 +0200, Emilio Pozuelo Monfort wrote:
> Neil Williams escribió:
>> On Fri, 05 Jun 2009 08:02:20 +0200
>> Luca Capello <luca at pca.it> wrote:
>>> the .desktop file looks for gpe-gallery.png while only the .xpm version
>>
>> Bah - this is getting really annoying. If Debian is going to stick with
>> two menu systems, why do we also have to stick with two icon formats?
>> (And why did we choose the *BIGGER* icon format of XPM? It's *double*
>> the size of the equivalent PNG for foo sake.)
IIRC XPM was preferred over PNG because not all the WMs in Debian
support PNG icons: is this still true in squeeze? If not, my preference
goes to PNG, since this is the mostly used upstream.
>> The other mystery is that the desktop icon shows up fine on my own Sid
>> systems. Has something changed to allow the XPM to show up when a PNG
>> doesn't exist in some cases?
Are you sure we are talking about a menu strictly based on the .desktop
file alone? I have tried with GNOME, matchbox-desktop and lxpanel
(these latter on a system where there is no menu nor menu-xdg installed)
and indeed the icon is there, the XPM one: you can recognize it because
it is uglier due to its geometry of 32x32, while the PNG one has 48x48.
Thus, it seems that the three above look for the alternative XPM icon: I
would not surprise if they just look for the icon name, i.e. skipping
the extension as per the .desktop specification Emilio pointed out
below.
>> $ grep Icon /usr/share/applications/gpe-gallery.desktop
>> Icon=gpe-gallery.png
>
> Note that the .desktop specification discourages putting an extension to the
> Icon field. It will Just Work if you write Icon=gpe-gallery, and if there are
> various it will choose the better one. That way, the xpm should be enough for
> everyone.
This was my first solution to the problem and indeed it is an upstream
bug to be solved. However, in this case upstream *provides* a PNG icon
and I consider not offering it a lack of respect for upstream work
(since this icon is DFSG-free). Moreover, upstream icon geometry is
48x48, while the XPM one is 32x32 (IIRC this is the geometry required by
the Debian Policy), which means that with the XPM one only we are
losing quality.
Thx, bye,
Gismo / Luca
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 314 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gpe-maintainers/attachments/20090606/ccdc45b1/attachment.pgp>
More information about the Pkg-gpe-maintainers
mailing list