".ico" icon files are shown as random noise

Bug #1787294 reported by Damiön la Bagh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gtk+3.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Steps to reproduce
Create an .ico file (for using the same icon between multiple platforms)
create a desktop file linking to the ico file.

here is an example of the one that doesn't work

[Desktop Entry]
Type=Application
Version=0.9.4
Name=ChromisPos
Comment=Chromis Point of Sale
Icon=/opt/chromispos/pos.ico
Exec=/opt/chromispos/start.sh
Terminal=false
Path=/opt/chromispos

gnome-shell (possibly dashtodock) displays this icon as a wash of noise. (see screenshot)

In 16.04 the .ico works fine, and switching to Unity desktop also shows the .ico just fine.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: gnome-shell 3.28.2-0ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-32.35-generic 4.15.18
Uname: Linux 4.15.0-32-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7.2
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Aug 16 00:29:47 2018
DisplayManager: lightdm
GsettingsChanges:
 b'org.gnome.shell' b'favorite-apps' redacted by apport
 b'org.gnome.desktop.interface' b'gtk-im-module' b"'gtk-im-context-simple'"
InstallationDate: Installed on 2015-11-15 (1004 days ago)
InstallationMedia: Ubuntu 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
SourcePackage: gnome-shell
UpgradeStatus: Upgraded to bionic on 2018-08-15 (0 days ago)

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :
Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

Here is a screenshot of the icon in gnome-hell

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

And here is the actual .ico file

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

And interestingly enough. Nautilus also displays the preview of the file as noise.

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

Here is a PNG of the icon so you can see what it looks like if you are also on 18.04 with this bug.

I used icotool -x pos.ico
to extract the icons from the .ico file as PNGs

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

If nautilus also shows noise then this is a lower level bug, not in gnome-shell. Reassigning to GTK to start with...

affects: gnome-shell (Ubuntu) → gtk+3.0 (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

I'm not sure what the right component to assign this bug is. To progress this issue please open a bug with the GTK developers here:

https://gitlab.gnome.org/GNOME/gtk/issues

and the let us know the new bug ID.

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

Here is the Upstream Bug report

https://gitlab.gnome.org/GNOME/gtk/issues/1279

side note: When will Launchpad be updated with rich images and header templates like the gitlab bug tracker?

Revision history for this message
Damiön la Bagh (kat-amsterdam) wrote :

Upstream moved the bug to gtk-pixbuf as they knew of some problems with ico's in gdk-pixbuf

https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/86

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.