Bug 377336

Summary: Weird behaviour of mouse cursor in games
Product: [Plasma] kwin Reporter: Aleksey Samoilov <samoilov.lex>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: git master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot
Screenshot2
Screenshot3

Description Aleksey Samoilov 2017-03-07 14:10:20 UTC
Hello. I'm running Open Arena (first-person shooter game) in Plasma-Wayland session. In game menu mouse cursor are disappear, but in the game itself cursor all the time pointing down ("looks at the floor"). In Xonotic (both glx and sdl versions) same issue.

My system: KDE Neon Developer Unstable, Intel Pentium 2020M with Intel HD Graphics, Xwayland 1.19, modesetting-driver.
Comment 1 Martin Flöser 2017-03-07 20:31:37 UTC
I'm having problems to understand the problem not knowing the game. Can you please attach screenshots to illustrate?
Comment 2 Aleksey Samoilov 2017-03-08 13:21:13 UTC
Created attachment 104450 [details]
Screenshot

Weapons all the time pointing down. Sometimes an inscription appears: "Pointer motion confined to the current window"
Comment 3 Aleksey Samoilov 2017-03-08 13:21:49 UTC
Created attachment 104452 [details]
Screenshot2
Comment 4 Aleksey Samoilov 2017-03-08 13:22:19 UTC
Created attachment 104453 [details]
Screenshot3
Comment 5 Aleksey Samoilov 2017-03-09 13:56:38 UTC
Update: after last updates from KDE Neon repo, Xonotic works fine in window and fullscreen mode. OpenArena works fine in window mode to, but in fullscreen still have an this issue. And in order to navigate in game menu (for example to normal quit) you have to press and hold the "Esc" button (when appear "Pointer motion confined to the current window"). It's annoying.
Comment 6 Martin Flöser 2017-07-22 16:11:25 UTC
The escape key not working should also be fixed by now.