[Bug 41544] New: Pressing L-ALT key loses focus from game

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 41544] New: Pressing L-ALT key loses focus from game

Wine - Bugs mailing list
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: [hidden email]
          Reporter: [hidden email]
                CC: [hidden email], [hidden email],
                    [hidden email]
      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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key loses focus from game

Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #1 from Dmitry Timoshkov <[hidden email]> ---
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-SC_KEYMENU

--
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key loses focus from game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #2 from [hidden email] ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key loses focus from game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

Dmitry Timoshkov <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |[hidden email]
           Keywords|                            |regression
     Ever confirmed|0                           |1

--- Comment #3 from Dmitry Timoshkov <[hidden email]> ---
(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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

Alex Henrie <[hidden email]> 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 <[hidden email]> ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

Alex Henrie <[hidden email]> 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #5 from Michael Müller <[hidden email]> ---
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.

Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

Michael Müller <[hidden email]> 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.

Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #6 from Dmitry Timoshkov <[hidden email]> ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing L-ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #7 from [hidden email] ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing left ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

[hidden email] 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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing left ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #8 from [hidden email] ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing left ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #9 from Alex Henrie <[hidden email]> ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing left ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #10 from [hidden email] ---
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.


Reply | Threaded
Open this post in threaded view
|

[Bug 41544] Pressing left ALT key takes focus from World of Tanks game

Wine - Bugs mailing list
In reply to this post by Wine - Bugs mailing list
https://bugs.winehq.org/show_bug.cgi?id=41544

--- Comment #11 from Alex Henrie <[hidden email]> ---
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.