http://bugs.winehq.org/show_bug.cgi?id=21770
Summary: Keyboard doesn't work in games launched from Steam Product: Wine Version: 1.1.37 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: pitlicek@gmail.com
When I try to launch any game from Steam I can't use keyboard in those games.
Tested with Counter-Strike, Counter-Strike Source, Team Fortress 2, Left 4 Dead, GTA: Vice City and Psychonauts. However, no problem with Abe's Oddyssee.
I have no problems with games without Steam. Eg. Warcraft 3, Guild Wars or C&C Tiberian Sun.
The problem appears only when using virtual desktop and it's present since Wine 1.1.37. It also happens in current 1.1.39.
I'm using Ubuntu 9.10 64bit and Wine from PPA.
http://bugs.winehq.org/show_bug.cgi?id=21770
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression Alias|steamkeyboard |
--- Comment #1 from Vitaliy Margolen vitaliy@kievinfo.com 2010-02-20 19:02:21 --- Works fine here. You sure you didn't change something in your system?
Perform regression testing as described here: http://wiki.winehq.org/RegressionTesting
http://bugs.winehq.org/show_bug.cgi?id=21770
Bas Koopmans winebugs@badako.nl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winebugs@badako.nl
--- Comment #2 from Bas Koopmans winebugs@badako.nl 2010-03-04 03:17:49 --- I have this issue as well, but I have noticed it in other games such as EVE online as well. Judging from the issues I see this is likely another version of bugs 9320 and/or 21564.
Are you running these games in a VD on a separate X server? I work around these issues by starting a new X server and running the application _only_ on it. That way there is nothing else there to take focus away from the main window.
Unfortunately Steam may sometimes pop up windows after you have already started the game, and they may still take the keyboard focus away. The only solution for that seems to be to kill the wine instance and re-launch, hoping that this time steam will keep it's mouth shut.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #3 from Jan Kalab pitlicek@gmail.com 2010-03-04 03:28:10 --- It happens only when using VD. Running Steam and CS full-screen works.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #4 from Jan Kalab pitlicek@gmail.com 2010-03-04 03:36:09 --- I guess Bug 9320 is not duplicate. The keyboard works in Steam windows before and after starting and quiting the game. But the keyboard does not work in the game.
But I agree it's probably problem with apps focuses inside VD.
http://bugs.winehq.org/show_bug.cgi?id=21770
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Keyboard doesn't work in |Keyboard doesn't work in |games launched from Steam |games launched from Steam | |when using virtual desktop Severity|normal |minor
--- Comment #5 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-04 09:07:02 --- http://bugs.winehq.org/page.cgi?id=fields.html#bug_severity No workaround required - default configuration works.
Still waiting for regression testing results.
http://bugs.winehq.org/show_bug.cgi?id=21770
edward savage epssyis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |epssyis@gmail.com
--- Comment #6 from edward savage epssyis@gmail.com 2010-03-06 13:18:33 --- I cannot recreate this on Ubuntu 9.10 64bit using Wine from the PPA or GIT using either the new Steam Beta UI or the Classic Steam UI.
This bug does seem to outline the need for an ability to 'alt tab' between applications open on a VD how ever. Is this already possible?
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #7 from Jan Kalab pitlicek@gmail.com 2010-03-11 12:26:12 --- I found workaround: Start game from steam, wait till it starts, click away from VD so it lose focu, click to VD again, keyboard works.
http://bugs.winehq.org/show_bug.cgi?id=21770
Pavel Valach valach.pavel@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |valach.pavel@gmail.com
--- Comment #8 from Pavel Valach valach.pavel@gmail.com 2010-03-13 07:22:06 --- I ran a regression test few minutes ago. The result? The bug has appeared for first time in Wine 1.1.33 and it's because of this commit:
6823f4aaf8b91b729062573e4eef94f9e29b7792 is first bad commit commit 6823f4aaf8b91b729062573e4eef94f9e29b7792 Author: Vincent Povirk vincent@codeweavers.com Date: Wed Nov 11 14:37:51 2009 -0600
winex11.drv: Allow explorer to focus other process windows.
When explorer gets a take focus message, it tries to focus the foreground window, but this doesn't work because set_focus can only focus windows in the current process. We have to look for the focus window in the foreground thread, not the current one, or we won't find the other process's windows.
Since the other process may crash at any time, causing its windows to be destroyed, we also have to ignore the BadWindow error that will occur if that happens at a critical time.
:040000 040000 7ca0c85867d8b49b2517a15524c6d9b6325fd583 8d1b6d81f597ae375c5f42b61ddf660078177a6f M dlls
http://bugs.winehq.org/show_bug.cgi?id=21770
Vitaliy Margolen vitaliy@kievinfo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1
--- Comment #9 from Vitaliy Margolen vitaliy@kievinfo.com 2010-03-13 09:19:27 --- Confirming per comment 2.
http://bugs.winehq.org/show_bug.cgi?id=21770
Vincent Povirk madewokherd@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |madewokherd@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #10 from Vincent Povirk madewokherd@gmail.com 2010-03-13 13:29:15 --- Yep, I can reproduce this with Portal, and the workaround in comment 7 works.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #11 from Vincent Povirk madewokherd@gmail.com 2010-03-13 14:29:41 --- Setting the timestamp in X11DRV_SetFocus to CurrentTime also works around this issue. It seems the adjustment for EVENT_x11_time_to_win32_time hasn't been set yet.
This problem likely already existed for unmanaged windows; now it applies to virtual desktops too, because they care about X focus.
Possible solutions: * Just use CurrentTime if we don't have a timestamp yet. * At startup, make some X calls that force us to get an event with a timestamp. (XPropertyEvent is common for this.)
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #12 from Vincent Povirk madewokherd@gmail.com 2010-03-13 15:51:01 --- Patch sent: http://www.winehq.org/pipermail/wine-patches/2010-March/085761.html
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #13 from Pavel Valach valach.pavel@gmail.com 2010-03-14 05:27:12 --- I'm sorry but the patch doesn't work here. Ubuntu 9.10, Wine-git. Workaround described in comment 7 works though.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #14 from Vincent Povirk madewokherd@gmail.com 2010-03-17 12:34:10 --- Patch attempt two sent: http://www.winehq.org/pipermail/wine-patches/2010-March/085957.html
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #15 from Vincent Povirk madewokherd@gmail.com 2010-03-19 12:06:48 --- My second try patch (I've learned the first was flawed) has been committed. Please retest in Wine from Git or 1.1.41 when it's released.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #16 from Pavel Valach valach.pavel@gmail.com 2010-03-19 13:14:57 --- Uh, sorry, my bad. The patch didn't break compilation, it only didn't solve the problem. And neither the second one did :( This time tested on Gentoo Linux KDE4 as well, I hope there isn't any difference when I'm using virtual desktop. Can please anyone else test it and add some (console, debug) outputs? I'm going out tommorow and I have no time for that...
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #17 from Jan Kalab pitlicek@gmail.com 2010-03-21 03:12:43 --- I still have this issue in Wine 1.1.41 and workaround still works too.
http://bugs.winehq.org/show_bug.cgi?id=21770
Jeff Cook cookiecaper@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cookiecaper@gmail.com
--- Comment #18 from Jeff Cook cookiecaper@gmail.com 2010-07-04 17:33:06 --- What window manager are all of you people using? This happens on my brother's computer with KDE 4. We work around it by pressing Alt+F2 to bring up the KDE runline and then Esc out of it, and then the keyboard works in games. I use awesome, however, and experience no problems with the virtual desktop.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #19 from Jan Kalab pitlicek@gmail.com 2010-07-05 02:01:11 --- (In reply to comment #18)
What window manager are all of you people using?
I'm using GNOME, and I still have to click outside and back inside of virtual desktop to get focus.
http://bugs.winehq.org/show_bug.cgi?id=21770
noname 5p4md00d@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |5p4md00d@gmail.com
--- Comment #20 from noname 5p4md00d@gmail.com 2010-07-05 08:21:50 --- (In reply to comment #18)
What window manager are all of you people using? This happens on my brother's computer with KDE 4. We work around it by pressing Alt+F2 to bring up the KDE runline and then Esc out of it, and then the keyboard works in games. I use awesome, however, and experience no problems with the virtual desktop.
I use KDE 4.4.4 with compositing (using kwin) enabled.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #21 from Jan Kalab pitlicek@gmail.com 2010-10-09 03:07:38 CDT --- This is still an issue for me, as of Wine 1.3.4.
http://bugs.winehq.org/show_bug.cgi?id=21770
Peter Norell bithir@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |bithir@gmail.com
--- Comment #22 from Peter Norell bithir@gmail.com 2011-07-07 14:47:01 CDT --- I can confirm this bug exists with wine 1.3.23
The work around described in comment 7 does not resolve my issues.
http://bugs.winehq.org/show_bug.cgi?id=21770
sTaTic st.a.tic@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |st.a.tic@web.de
--- Comment #23 from sTaTic st.a.tic@web.de 2011-07-31 14:08:58 CDT --- I have the same bug with wine-1.3.24 under Fedora 15 when I use VD. Without Virtual-Desktop the mouse cursor is always on top and in the center (annoying).
Comment 7 does help me but I have to start the game in windowed mode and click on any other window before focusing the game window again.
http://bugs.winehq.org/show_bug.cgi?id=21770
Henri Verbeet hverbeet@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Regression SHA1| |6823f4aaf8b91b729062573e4ee | |f94f9e29b7792
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #24 from Austin English austinenglish@gmail.com 2013-11-13 16:50:33 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #25 from Drakes_Den@live.com --- Created attachment 47379 --> http://bugs.winehq.org/attachment.cgi?id=47379 Message that appears when it crashes
This message pops up when the game crashes after pressing any key on the keyboard. The attachment is what I get when I click Show more info on this message.
The prgram SporeApp.exe has encountered a serious problem and needs to close. We are sorry for the inconvenience. This can be caused by a problem in the program or a deficiency in Wine. You may want to check the Application Database for tips about running this application.
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #26 from Ken Thomases ken@codeweavers.com --- (In reply to comment #25)
This message pops up when the game crashes after pressing any key on the keyboard.
What you're seeing is bug 35361, which is a different thing than this bug. (Bug 35361 is due to a recent Steam update, while this bug is much older).
http://bugs.winehq.org/show_bug.cgi?id=21770
--- Comment #27 from Peter Norell bithir@gmail.com --- I can confirm that I cannot duplicate this issue with Wine 1.7.8 anymore.
https://bugs.winehq.org/show_bug.cgi?id=21770
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |focht@gmx.net Resolution|--- |FIXED
--- Comment #28 from Anastasius Focht focht@gmx.net --- Hello folks,
same as Peter (comment #27): I can't reproduce this with TF2, resolving 'fixed'.
$ wine --version wine-1.7.16-134-g0ff879b
Regards
https://bugs.winehq.org/show_bug.cgi?id=21770
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.17.