Wine application opens as another one

Bug #552396 reported by Pierre Quillery
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Docky
Fix Released
Low
Robert Dyer

Bug Description

I've been using Docky from the dev ppa (daily builds) for a few weeks and I used to have no problems. (I'm on Ubuntu Karmic x86_64)

However, I've been having a strange bug for a few days : when I click on Spotify icon (which is installed via Wine) the program launches, but creates a new icon in Docky and appears as a random entry of the Wine menu, for instance as an installator or as Safari, in my screenshot.

I can interact with Spotify via this icon and apart from the fact that it's duplicated and uses the wrong icon, it's working perfectly well.

I hope I made myself clear, it's a bit hard to explain ^^ ! Again, it used to work just fine, so I assume this must be some sort of regression.

Revision history for this message
Pierre Quillery (dandelionmood) wrote :
Revision history for this message
Robert Dyer (psybers) wrote :

Please attach the .desktop file for Spotify and as the 'random entry' that it appears as.

Changed in docky:
status: New → Incomplete
assignee: nobody → Robert Dyer (psybers)
importance: Undecided → Low
Revision history for this message
Pierre Quillery (dandelionmood) wrote :

Here is the content of the "Spotify.desktop" file :

[Desktop Entry]
Name=Spotify
Exec=env WINEPREFIX="/home/pierre/.wine" wine "C:\\Program Files\\Spotify\\spotify.exe"
Type=Application
StartupNotify=true
Path=/home/pierre/.wine/dosdevices/c:/Program Files/Spotify
Icon=/home/pierre/.local/share/icons/bdbf_spotify.0.png

And this is the "Safari.desktop" file Spotify appears as :

[Desktop Entry]
Name=Safari
Exec=env WINEPREFIX="/home/pierre/.wine" wine "C:\\Program Files\\Safari\\Safari.exe"
Type=Application
StartupWMClass=Wine
Path=/home/pierre/.wine/dosdevices/c:/Program Files/Safari/
Icon=54e5_safariico.0

Revision history for this message
Robert Dyer (psybers) wrote :

Yup, exactly as I suspected. It's that StartupWMClass attribute in the 2nd file! I did not have Wine installed when I tested that new feature.

Can you do a grep in your wine applications directory (with all the .desktop files) for "StartupWMClass" and paste the results?

grep "StartupWMClass" *.desktop

Revision history for this message
Pierre Quillery (dandelionmood) wrote :

There you are :)

pierre@pierre-maison:~/.local/share$ grep -ril "StartupWMClass" *
applications/wine/Programmes/sfArk/ReadMe.desktop
applications/wine/Programmes/sfArk/License Agreement.desktop
applications/wine/Programmes/sfArk/Visit melodymachine.com.desktop
applications/wine/Programmes/sfArk/sfArk SoundFont Compression.desktop
applications/wine/Programmes/sfArk/Join sfArk Mailing List.desktop
applications/wine/Programmes/sfArk/Re-install sfArk file associations.desktop
applications/wine/Programmes/sfArk/Uninstall.desktop

I remember the file "Uninstall.desktop" is used as a replacement for Spotify at home (and Safari.desktop at work) ...

Revision history for this message
Robert Dyer (psybers) wrote :

I think rev 1230 fixes this.

Changed in docky:
status: Incomplete → Fix Committed
Revision history for this message
Pierre Quillery (dandelionmood) wrote :

Thanks a lot, now everything's fine with wine apps (I tried a few and they all open once with the right icon).

Changed in docky:
status: Fix Committed → Fix Released
Changed in docky:
milestone: none → 2.0.2
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.