[Bug 41544] New: Pressing L-ALT key loses focus from game
https://bugs.winehq.org/show_bug.cgi?id=41544 Bug ID: 41544 Summary: Pressing L-ALT key loses focus from game Product: Wine-staging Version: 1.9.20 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: xkendy(a)gmail.com CC: erich.e.hoover(a)wine-staging.com, michael(a)fds-team.de, sebastian(a)fds-team.de Distribution: --- Uppon started game, after I press button L-ALT, the game lose mouse focus. Focus mouse pointer is in system (above the game window). After another pressing L-ALT, or mouse click focus is returned to game. Affected (tested) games: World Of Tanks (patch 0.9.16), World Of Warplanes (patch 1.9.6). How to reproduce: Fresh instalation WOT and WOWP using this guide for WOT: https://www.youtube.com/watch?v=CTU0vICF9O4 WOT: 1.9.20-staging L-ALT problem present 1.9.19-staging (or lower): wot not work WOWP: 1.9.20-staging L-ALT problem present 1.9.19-staging (or lower): L-ALT work correctly Tested on: - old installed game WOT - fresh installed WOT (using guid on youtube) - fresh installed WOWP (using guid on youtube for WOT) System: UBUNTU 14.04 LTS x86_64, Graphics: GeForce GT640 (driver 340, tested also version 372), 8GB RAM, CPU: i5 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #1 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- Does this happen with a not staging wine build? If the behaviour is wine-staging specific, I'd guess that the culprit is the following patch: https://github.com/wine-compholio/wine-staging/tree/master/patches/winex11-S... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #2 from xkendy(a)gmail.com --- No, it doesn't happen. L-ALT in WOT run under 1.9.20 (non staging) is working correctly. Was this mentioned patch applied in the build 1.9.19-staging (or earlier) ? Or has it been applied in 1.9.20-staging for the first time ? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 Dmitry Timoshkov <dmitry(a)baikal.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |alexhenrie24(a)gmail.com Keywords| |regression Ever confirmed|0 |1 --- Comment #3 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- (In reply to xkendy from comment #2)
No, it doesn't happen. L-ALT in WOT run under 1.9.20 (non staging) is working correctly.
Was this mentioned patch applied in the build 1.9.19-staging (or earlier) ? Or has it been applied in 1.9.20-staging for the first time ?
Adding author of the patch to CC, so that he could comment on this regression. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Pressing L-ALT key loses |Pressing L-ALT key takes |focus from game |focus from World of Tanks | |game --- Comment #4 from Alex Henrie <alexhenrie24(a)gmail.com> --- Xkendy, I installed World of Tanks and ran it with vanilla Wine 1.9.20 and with Wine Staging 1.9.20, but I didn't notice any mouse problems. Can you add more detailed instructions (e.g. click this, then click that...)? Please also try enabling "Emulate a virtual desktop" in winecfg, and let me know if that makes a difference. The SC_KEYMENU patch has been included in Wine Staging since 1.9.12, and it sounds like 1.9.19 worked, so maybe the problem was caused by one of the new patches in 1.9.20. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 Alex Henrie <alexhenrie24(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |http://worldoftanks.com/en/ | |content/docs/update/ Keywords| |download -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #5 from Michael Müller <michael(a)fds-team.de> --- I was able to reproduce the problem. With vanilla Wine the issue does not appear, after applying the mentioned patch, the problem shows up. In order to reproduce the issue, start WOT through the launcher, press L + ALT (not ALT + L). You can test it directly in the login screen. It is a bit unreliable and often pressing ALT itself is sufficient. The application creates the game window with a (invisible/popup?) menu. When you press L + ALT, the invisible menu gets the focus and you should see the system cursor. The patch itself is not really the problem though as notepad++ shows that the application can receive the key press. It seems that the menu code should ignore the event under specific conditions. I didn't have time to debug it further. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 Michael Müller <michael(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.winehq.org/sho | |w_bug.cgi?id=21918 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #6 from Dmitry Timoshkov <dmitry(a)baikal.ru> --- https://bugs.winehq.org/show_bug.cgi?id=41508 is also related to Alt key handling in the menu code. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #7 from xkendy(a)gmail.com --- Thx Alex and Michael to try find this bug. This is version specific bug. It's only happen when I use wine version 1.9.20-staging, but not earlier. From my side (I'm a layman on coding wine) is error on new patch(es), that wine team used for build 1.9.20-staging and this patch(es) isn't on 1.9.19-st. or earlier. Therefore, I think that this mentioned patch (SC_KEYMENU) not causing the problem with losing focus from the game after pressing L-ALT. To be precise: "L-ALT" I mean Left ALT. With not any other combination keys. L-ALT is one of inbattle WOT keys. Sorry for disinformation. Alex: I tried run WOT with desktop emulated window and L-ALT problem is not present. Mouse is locked in emulated window and work correctly. Can you please try run tests in non emulated mode ? As Michael wrote: "You can test it directly in the login screen", yes here is happend too. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 xkendy(a)gmail.com changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Pressing L-ALT key takes |Pressing left ALT key takes |focus from World of Tanks |focus from World of Tanks |game |game -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #8 from xkendy(a)gmail.com --- Today I try run WOT in 1.9.21-staging. Problem with losing focus after press Left ALT is still present. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #9 from Alex Henrie <alexhenrie24(a)gmail.com> --- I still can't reproduce this with any version of Wine or Wine Staging. What window managers are you guys using? I have Openbox, the same as Lubuntu. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #10 from xkendy(a)gmail.com --- Hello, I'm using (in my Ubuntu 14.04 LTS) window manager: Gnome Shell ~$ gnome-shell --version GNOME Shell 3.10.4 I was discovering another bug: If I'm using virtual emulated desktop, then Right-ALT work correctly, but in game (WOT) some numeric keys /used for controls in game keys: 1,2,3,4,5/ sometimes didn't work. For few first played games is worked normally, but after 5-10 played games they stopped work. Because that, I can't using virtual emulated desktop. Alex: What window manager is used for OpenBOX ? I suppose you were using in Lubuntu LXDE (as default) ? Regards xkendy -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #11 from Alex Henrie <alexhenrie24(a)gmail.com> --- I was able to reproduce the bug with Ubuntu in a virtual machine. It'd be fine with me if this patch is dropped from staging. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 Zebediah Figura <z.figura12(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |z.figura12(a)gmail.com Regression SHA1| |08e221b30cf286f52bfbe764f13 | |d329edaa74618 Status|NEW |RESOLVED Fixed by SHA1| |d3bcb6143632d35c8ce62db3b7d | |ea25b7fe862ab Resolution|--- |FIXED --- Comment #12 from Zebediah Figura <z.figura12(a)gmail.com> --- (In reply to Alex Henrie from comment #11)
I was able to reproduce the bug with Ubuntu in a virtual machine. It'd be fine with me if this patch is dropped from staging.
I've dropped the patch from staging: https://github.com/wine-staging/wine-staging/commit/d3bcb6143632d35c8ce62db3... In that case I am assuming we want to mark bug #21918 a WONTFIX? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 --- Comment #13 from Alex Henrie <alexhenrie24(a)gmail.com> --- (In reply to Zebediah Figura from comment #12)
In that case I am assuming we want to mark bug #21918 a WONTFIX?
No, there should be a way to fix both bugs. Michael thought that the World of Tanks regression was actually a second bug involving when the Alt key should and should not put focus on a menu. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=41544 Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #14 from Alistair Leslie-Hughes <leslie_alistair(a)hotmail.com> --- Closing Fixed Staging 3.14 -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
wine-bugs@winehq.org