http://bugs.winehq.org/show_bug.cgi?id=31916
Bug #: 31916 Summary: Steam in xfce: xfwm4 windows refuse to relinquish focus Product: Wine Version: 1.5.14 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: FinalCrisisSX@Hotmail.com Classification: Unclassified
In xfce (or in kde with xfwm4 instead of kwin), Steam has recently started having an issue where it refuses to relinquish focus. If you were to click inside a chat window and then try to click back into, for example, a terminal window to switch focus, it would work for a split second and then the chat window would pop right back up over it. Ie, it is impossible to switch into another window via click because the active window won't go away.
It is easy to trigger the problem, but I've had a hard time figuring out specifically what steps one must follow in order to do so. However, if I have the main steam window and friends list open and a chat window hovering over a terminal and tinker with moving and minimizing / changing the focus of the main and chat windows for a minute or two (and try to click into the terminal), I can reliably cause it to occur.
This occurs from wine 1.5.12 to 1.5.14, and in both Linux Mint 13 x64 and Arch Linux x64 in a used or fresh wineprefix. Occurs on my machine and a friend's machine as well.
A regression test found the following to be the trouble for me:
$ git bisect good d35fc4369fd9eb7e5fca78cc0d61e241de286ee0 is the first bad commit commit d35fc4369fd9eb7e5fca78cc0d61e241de286ee0 Author: Alexandre Julliard julliard@winehq.org Date: Wed Aug 29 18:08:37 2012 +0200
user32: Always go through set_window_pos when the WS_VISIBLE style is changed.
:040000 040000 2181c83f9671eb18ffb3538e627cce5d2b0bf7e0 cdf5240aa47f26a98421467c50979a84b60c68e7 M dlls
http://bugs.winehq.org/show_bug.cgi?id=31916
hash HASH.DuOrden@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |HASH.DuOrden@gmail.com
--- Comment #1 from hash HASH.DuOrden@gmail.com 2012-10-08 00:49:53 CDT --- Same with compiz-0.8.8 and that happens with main Steam window also, in compiz I can switch from Steam only with Alt+Tab.
http://bugs.winehq.org/show_bug.cgi?id=31916
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Regression SHA1| |d35fc4369fd9eb7e5fca78cc0d6 | |1e241de286ee0
http://bugs.winehq.org/show_bug.cgi?id=31916
--- Comment #2 from Alexandre Julliard julliard@winehq.org 2012-10-08 16:33:58 CDT --- Created attachment 42029 --> http://bugs.winehq.org/attachment.cgi?id=42029 Remove SWP_SHOWWINDOW
Does this make a difference?
http://bugs.winehq.org/show_bug.cgi?id=31916
--- Comment #3 from Brandon Howard FinalCrisisSX@Hotmail.com 2012-10-09 00:10:02 CDT --- Created attachment 42034 --> http://bugs.winehq.org/attachment.cgi?id=42034 Remove SWP_SHOWWINDOW wine 1.5.14
Yes, it does appear to fix the issue when applied to latest git :D. Since it won't apply to 1.5.14, I'm attaching a patch that does the same thing for 1.5.14 (and possibly older versions). I have no trouble with either so far after about 20 minutes of tinkering apiece. Will post if there's any further trouble.
Also, I appear to be able to reproduce this now in a quick/simple way: just set steam to not remember your login info so that it does not log in automatically, and instead shows you the login screen. Doing "switch user" then hitting cancel before logging in, then restarting steam would probably accomplish this. Have a terminal window or something up while running xfwm4, launch steam to get to the login screen, and try to click in the terminal window. The steam login window will flicker then come immediately back into focus.
http://bugs.winehq.org/show_bug.cgi?id=31916
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |b9c847a426ab234c6e1ae5901b3 | |f172b5adaed57 Status|UNCONFIRMED |RESOLVED Resolution| |FIXED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2012-10-09 13:14:33 CDT --- Fixed by b9c847a426ab234c6e1ae5901b3f172b5adaed57.
http://bugs.winehq.org/show_bug.cgi?id=31916
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-10-12 13:35:33 CDT --- Closing bugs fixed in 1.5.15.
https://bugs.winehq.org/show_bug.cgi?id=31916
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net Component|-unknown |user32