Slingshot / Unity 3D dash does not display icons specified as relative path to XDG_DATA_DIRS

Bug #1018148 reported by Jonathan Alfonso
20
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Slingshot
Fix Released
Low
Andrea Basso
Unity
Fix Released
Low
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Slingshot is not showing an icon for a game called "Minecraft". I am using an installer I created ( located here - http://dl.dropbox.com/u/54213557/MIFU/mifu.sh ). Plank/Unity's launcher are both capable of showing the SVG, however it is not shown in Slingshot or Unity 3D Dash.

Dragging the shortcut onto the Unity 3D launcher fixes the issue.

The problem is in the mojang-Minecraft.desktop file, the line "Icon=minecraft.svg" should have been "minecraft". This can be fixed by the package owners however it's unlikely in closed source packages that are affected by the same bug such as Skype.

ProblemType: Bug
DistroRelease: elementary 0.2
Package: elementary-desktop 1.271-0~341~precise1 [origin: LP-PPA-elementary-os-daily]
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
ApportVersion: 2.0.1-0ubuntu8+elementary3~precise1
Architecture: amd64
CrashDB: elementary_meta
Date: Tue Jun 26 17:35:48 2012
InstallationMedia: elementary OS 0.2 "Luna" - Build amd64 LIVE Binary 20120624-16:17
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: elementary-meta
SuspiciousXErrors:

ThirdParty: True
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :
Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :

I apologise, I meant slingshot, too familiar with iOS devices.

affects: elementaryos → slingshot
description: updated
summary: - Springboard does not display SVG icons
+ Slingshot does not display SVG icons
Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote : Re: Slingshot does not display SVG icons

This sounds like a bug in the installation script - the icon should be installed to /usr/share/icons/hicolor/scalable/apps/, not /usr/share/icons/

Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :

I'll modify the script and see if that does anything

Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :

I modified the script to use the proper icon folder however this bug still persists.

Revision history for this message
Danielle Foré (danrabbit) wrote :

Well this bug is definitely invalid because all of our icons are SVG.

This line in your script is incorrect "Icon=minecraft.svg" remove the ".svg" part.

Changed in slingshot:
status: New → Invalid
Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :

My apologies

Revision history for this message
Danielle Foré (danrabbit) wrote :

Hey no worries. Did that fix your issue?

Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :

Yep. Thanks guys, I'm new to shell scripting and didn't notice any wrong-doings.

Revision history for this message
Sergey "Shnatsel" Davidoff (shnatsel) wrote : Re: Slingshot does not display icons specified as relative path to XDG_DATA_DIRS

Looks like this is indeed a bug. At least FBReader and XaraLX from Ubuntu repos as well as the official Skype client use entries like "Icon=skype.png" or "Icon=FBReader.png". I don't really care about Xara, but FBReader and Skype are serious business.

summary: - Slingshot does not display SVG icons
+ Slingshot does not display icons specified as relative path to
+ XDG_DATA_DIRS
Changed in slingshot:
status: Invalid → Confirmed
milestone: none → luna-beta1
tags: added: bitesize
summary: - Slingshot does not display icons specified as relative path to
- XDG_DATA_DIRS
+ Slingshot / Unity 3D Panel does not display icons specified as relative
+ path to XDG_DATA_DIRS
description: updated
summary: - Slingshot / Unity 3D Panel does not display icons specified as relative
+ Slingshot / Unity 3D dash does not display icons specified as relative
path to XDG_DATA_DIRS
Changed in unity:
status: New → Confirmed
importance: Undecided → Low
description: updated
Changed in slingshot:
importance: Undecided → Low
assignee: nobody → Andrea Basso (voluntatefaber)
status: Confirmed → In Progress
Revision history for this message
Jonathan Alfonso (alfonsojon1997) wrote :

It looks like this isn't present in Unity 3D 6.2 (on 12.10 Quantal)

Changed in slingshot:
status: In Progress → Fix Committed
Changed in slingshot:
status: Fix Committed → Fix Released
Changed in unity:
status: Confirmed → Fix Released
Changed in unity (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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