Wine application opens as another one

Reported by Pierre Quillery on 2010-03-31
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Docky
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.

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]
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

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/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) ...

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