Wine application opens as another one

Bug #552396 reported by Pierre Quillery on 2010-03-31
This bug affects 2 people
Affects Status Importance Assigned to Milestone
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.

Pierre Quillery (dandelionmood) wrote :
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
Pierre Quillery (dandelionmood) wrote :

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

[Desktop Entry]
Exec=env WINEPREFIX="/home/pierre/.wine" wine "C:\\Program Files\\Spotify\\spotify.exe"
Path=/home/pierre/.wine/dosdevices/c:/Program Files/Spotify

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

[Desktop Entry]
Exec=env WINEPREFIX="/home/pierre/.wine" wine "C:\\Program Files\\Safari\\Safari.exe"
Path=/home/pierre/.wine/dosdevices/c:/Program Files/Safari/

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

Pierre Quillery (dandelionmood) wrote :

There you are :)

pierre@pierre-maison:~/.local/share$ grep -ril "StartupWMClass" *
applications/wine/Programmes/sfArk/License Agreement.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

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

Robert Dyer (psybers) wrote :

I think rev 1230 fixes this.

Changed in docky:
status: Incomplete → Fix Committed
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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments