Taskbar buttons missing in Wine 0.9.59

Bug #216235 reported by Miklos Juhasz
20
Affects Status Importance Assigned to Milestone
wine (Baltix)
Fix Released
Undecided
Unassigned
wine (Ubuntu)
Fix Released
Medium
Scott Ritchie

Bug Description

Binary package hint: wine

Some of my apps have no taskbar button and after minimizing the app it can only be closed by killing the process. I'm on Kubuntu 8.04 (Hardy) with wine version 0.9.59-0ubuntu4.
It seems that Gnome is also affected by this bug: http://www.winehq.org/pipermail/wine-users/2008-April/031757.html
There was a regression of systray icon and the fix was backported to Hardy since 0.9.60 will not be in it. The systray bug is described here: http://bugs.winehq.org/show_bug.cgi?id=12362

Apparently this bug has been fixed in git (wine-0.9.59-250-g0b64b86) so this fix should be backported as well.

Affected apps on my system (no taskbar button): ImgBurn, DvdDecrypter, IsoBuster.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Do you know which patch fixes the issue?

Revision history for this message
Miklos Juhasz (mjuhasz) wrote :

Based on the comments in the mailing lists I supposed that the bug has been fixed, but I was wrong. I have just checked out the entire Wine source tree with git and compiled it on a fresh Kubuntu Hardy (in VirtualBox), installed ImgBurn and experienced the same behaviour.
Half of my applications in wine produce this behaviour but some of them not. It is even more interesting that I can make ImgBurn somehow go "out of focus": I start ImgBurn (I can drop down menus, the app is alive as it should). Then I try to open a project file and it makes the Imgburn window grey and after that I cannot activate it anymore, not even close it. The only way is to kill the process. If I start writing a disc, a dialog should be popped up, but instead the ImgBurn window becomes grey and I have to kill it again.

Revision history for this message
Bernhard Schuster (drahnr) wrote :

A specific patch does not exist, its only updated in the git version.

Changed in wine:
status: New → Confirmed
Revision history for this message
Miklos Juhasz (mjuhasz) wrote :

I do not have comprehensive knowledge about wine so I simply guessed that the missing taskbar buttons problem may come from winex11.drv. I checked the diffs between 0.9.58 and 0.9.59 and noticed a potential reason. I commented out line 202-203 in winpos.c, built a new package. As far as I can tell this solved the problem. I can use all my wine apps again!
This might be just an ugly hack since I do not see the reason behind adding these lines to the source. I can only hope that I could give you a hint about where to start.

The uncommented lines:

if (!(ex_style & WS_EX_APPWINDOW) && GetWindow( data->hwnd, GW_OWNER ))
        new_state |= (1 << NET_WM_STATE_SKIP_TASKBAR);

Revision history for this message
Greg Schneider (greg-schneider) wrote :

I can confirm that I am also seeing this with FTPRush in Gutsy. v0.9.59

Revision history for this message
Miklos Juhasz (mjuhasz) wrote :

In the changelog I found:

Dmitry Timoshkov:
      winex11.drv: Don't add owned windows to the taskbar.

Hwang YunSong:
winex11: Add owned windows to the taskbar if it has WS_EX_APPWINDOW style.

Related patches (not the corrections but the ones which are the root cause of this bug):
http://www.winehq.org/pipermail/wine-patches/2008-March/052089.html
http://www.winehq.org/pipermail/wine-patches/2008-March/052161.html
http://www.winehq.org/pipermail/wine-patches/2008-March/052423.html

Patches were meant to fix the following bug: http://bugs.winehq.org/show_bug.cgi?id=12160
They might fix bug 12160 but are causing serious regression in other apps. In my opinion an LTS release should not be shipped with a wine version containing a bug like this.

Revision history for this message
Baptiste Lafontaine (magnetik) wrote :

Any idea if the bug will be fixed in hardy ?

Revision history for this message
Motin (motin) wrote :

Running Hardy LTS here and having this issue. Version 0.9.59 ...
Hopefully 0.9.60 will be available as a general Hardy upgrade very soon.

Revision history for this message
Motin (motin) wrote :

For those who are looking for a direct solution, add the official wine repository following the instructions at http://www.winehq.org/site/download-deb then
sudo apt-get update
sudo apt-get upgrade -V

...in order to install wine 0.9.60, in which this issue is resolved.

Revision history for this message
Scott Ritchie (scottritchie) wrote :

I'm willing to do a stable release update to fix this, however I'll need to figure out which specific patch fixes the problem; simply upgrading to 0.9.60 isn't a good idea, as that likely introduces other regressions. Thank you.

Changed in wine:
importance: Undecided → Medium
Revision history for this message
Miklos Juhasz (mjuhasz) wrote :

I built a Hardy package from 0.9.60 sources as soon as it was released and experienced the same issue. Taskbar buttons were still missing.

Revision history for this message
Magnentius (nieuwsgroep222) wrote :

@motin@2008-04-28: I must agree with you. 0.9.60 corrects this bug. But shouldn't that version of Wine appear in the repos? I mean, version 0.9.59 is quite useless so it was a wrong choice to include it in Ubuntu 8.04 as the "stable release".

Revision history for this message
brucehd (n1hnj) wrote :

I can confirm this issue occurs under Hardy Heron x86_64 running Gnome+Compiz, with ED2k Hash Builder by HiEv. If the application is minimized, or placed in the background 'behind' other windows, it vanishes, becomes inaccessible, and can only be closed by killing it within System Monitor.

It does _not_ happen with Irfan View, Power Poat A&A, QuickPar, or DVDFab HD Decrypter.

Revision history for this message
joe_d (joseph-d) wrote :

I can confirm that this problem exists on Hardy x86_64 running Gnome/Compiz too. I have tried running two programs via Wine 0.9.59:

Nusphere phpEd: 5.2.0 (Build 5240): Program does not show in taskbar

Macromedia Fireworks 8 : Works Fine

As previous people have noted with other programs, the only way to close Nusphere phpEd after minimizing it is to kill the process from the CLI or System Monitor.

Revision history for this message
joe_d (joseph-d) wrote :

Update: Just installed the newly-released Wine 1.0-rc3 and am happy to report that Nusphere phpEd 5.2.0 (Build 5240) now displays properly in the taskbar on Hardy x86_64 running Gnome/Compiz.

Revision history for this message
Miklos Juhasz (mjuhasz) wrote :

I also have been using the release candidates for a while and they all work fine. I gave up searching for the patch to make 0.9.59 to work. I do not know if it would be possible to backport the 1.0 as soon as it is released (or include it in 8.04.1).

Revision history for this message
Scott Ritchie (scottritchie) wrote :

I will indeed backport 1.0 into Hardy as soon as it's released.

Changed in wine:
assignee: nobody → scottritchie
Revision history for this message
Yves Glodt (yglodt) wrote :

I can confirm that the taskbar problems disappear after upgrading wine to 1.0 from your ppa

Revision history for this message
Scott Ritchie (scottritchie) wrote :

Fixed in Intrepid. Hopefully the backports team can quickly import Wine 1.0 into hardy-backports soon: https://bugs.launchpad.net/bugs/240755

Changed in wine:
status: Confirmed → Fix Released
Przemek K. (azrael)
Changed in wine (Baltix):
status: New → Fix Released
Revision history for this message
=0yP)F]|L(0YNrv (ccgjsz8xdbdyyvy-deactivatedaccount) wrote :

I'm getting this problem in Esword and a few other applications.

Revision history for this message
=0yP)F]|L(0YNrv (ccgjsz8xdbdyyvy-deactivatedaccount) wrote :

Forgot to say. Ubuntu Natty, Wine from the Wine PPA (1.3.21?)

Revision history for this message
Jack Leigh (leighman) wrote :

Since this bug is Fix Released please file a new bug.

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.