http://bugs.winehq.org/show_bug.cgi?id=30583
Bug #: 30583 Summary: keyboard input does not work after focus-out and focus-in Product: Wine Version: unspecified Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: hramrach@gmail.com Classification: Unclassified
Since upgrade to wine 1.4-rc6 keyboard input does not work after focus is lost and restored.
0) switch to focus-follows-mouse 1) run notepad 2) enter some text 3) point to another window and back to notepad 4) type
no text appears.
http://bugs.winehq.org/show_bug.cgi?id=30583
--- Comment #1 from Michal Suchanek hramrach@gmail.com 2012-05-03 10:40:33 CDT --- This does not work with wine 1.5 and goes as long back as wine 1.0.1 so I guess this is incompatibility with something else.
There were some input changes in Xorg so maybe that's the issue.
X.Org X Server 1.12.0.902 (1.12.1 RC 2)
http://bugs.winehq.org/show_bug.cgi?id=30583
--- Comment #2 from Michal Suchanek hramrach@gmail.com 2012-05-03 11:32:42 CDT --- I tried running the X server without a WM and then I can type text in notepad after moving focus away from it and back.
I also downgraded my WM to a very old version (from Debian stable) but this does not fix the issue.
Since I was able to experience Bug 27232 earlier there must be a configuration in which this worked but I cannot tell what it was.
Any insight in debugging this issue would be welcome.
http://bugs.winehq.org/show_bug.cgi?id=30583
eshep shepherdem@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |shepherdem@gmail.com
--- Comment #3 from eshep shepherdem@gmail.com 2012-12-27 01:38:27 CST --- I have only found one way to resolve this so far. In winecfg under the Graphics tab, set "Allow the window manager to control the windows." to disabled. By doing this it allows you to change focus and retain keyboard input in the wine window.
The one problem with it being set this way is that now when you minimize the wine window it puts an icon on the screen that is on top of any other normal wm window.
I am using wine-1.5.19 and e16 for wm. I have confirmed that this problem is not restricted to e16 nor does it care if compositing is enabled. This problem has persisted since (at least from my confirmation) wine v1.3.
http://bugs.winehq.org/show_bug.cgi?id=30583
--- Comment #4 from eshep shepherdem@gmail.com 2012-12-27 02:00:51 CST --- I forgot to add in that it does not seem to be program specific either. This problem has happened no matter what I load in wine. Also, with the windows not being controlled by the wm, the wine windows act as if they were "sticky".
Michal, have you noticed that this only happens when you use sloppy-focus? It happens to me no matter what focus type my wm is using.
http://bugs.winehq.org/show_bug.cgi?id=30583
--- Comment #5 from Michal Suchanek hramrach@gmail.com 2012-12-27 05:10:45 CST --- I no longer experience this in wine 1.4.1, 1.5.17 and 1.5.19.
X server 1.12.4.
Note however that due to bug in XInput all the XInput libraries have been upgraded on Debian/Ubuntu also.
http://bugs.winehq.org/show_bug.cgi?id=30583
--- Comment #6 from Michal Suchanek hramrach@gmail.com 2012-12-27 05:19:25 CST --- This is because I am using virtual desktop.
Without one the keyboard input is still lost after wine gets focus back.
http://bugs.winehq.org/show_bug.cgi?id=30583
--- Comment #7 from eshep shepherdem@gmail.com 2012-12-28 04:09:05 CST --- When I use a Virtual Desktop I still get the problem even if wm control id disabled. The only way programs work for me is to enable "allow wm to decorate windows", disable "allow wm to control windows" and disable "virtual desktop". The "mouse grab" option seems to have no effect either way, other than being annoying.
Also, my distro is SMP Debian 3.2.35-2 x86_64 GNU/Linux.
http://bugs.winehq.org/show_bug.cgi?id=30583
--- Comment #8 from Michal Suchanek hramrach@gmail.com 2012-12-28 06:21:01 CST --- I have "allow wm to decorate windows" and "allow wm to control windows" enabled.
With "virtual desktop" enabled notepad works as expected. Without keyboard input is lost after focus-in and focus-out. I am running Debian wheezy.
http://bugs.winehq.org/show_bug.cgi?id=30583
Michal Suchanek hramrach@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |winex11.drv
https://bugs.winehq.org/show_bug.cgi?id=30583
mrdeathjr28@yahoo.es changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |mrdeathjr28@yahoo.es