Icon not always extracted during install

Questions about Wine on Linux
Locked
KenSharp
Level 4
Level 4
Posts: 120
Joined: Mon Jul 13, 2009 8:52 pm

Icon not always extracted during install

Post by KenSharp »

When installing the SlingPlayer I have noticed that the icon for the .desktop file isn't always extracted, and the default Wine icon is used.

This seems to occur around 50% of the time.

I haven't opened a bug report because I'm not sure if this would be a Wine bug or a WM bug.

The .desktop file is the same in both cases:

Code: Select all

$ cat ~/Desktop/Launch\ SlingPlayer.desktop 
[Desktop Entry]
Name=Launch SlingPlayer
Exec=env WINEPREFIX="/home/test/.wine.sling1.5" wine C:\\\\Program\\ Files\\\\Sling\\ Media\\\\SlingPlayer\\\\SlingPlayer.exe 
Type=Application
StartupNotify=true
Path=/home/test/.wine.sling1.5/dosdevices/c:/users/test/Desktop/
Icon=BDA8_SlingPlayer.exe11_1A1E3AC99C164779B2618A033937AA5E.0
Given that the .desktop file is always the same it seems odd that the correct icon is chosen only half the time. In cases where the incorrect icon is chosen, the correct icon is never chosen (such as following a refresh or a reboot), yet the .desktop Icon= parameter always point to the same place.

I have created logs for both cases, one for successfully using the correct icon, and one for failing to do so.

Fail log: http://pastebin.com/RidRBMGr
Success log: http://pastebin.com/WmhkSzF0

Running Ubuntu Precise with Unity 2D.

Anyone any ideas?
Locked