Bug 396265 - applications that activate mouse lock will not receive mouse events anymore
Summary: applications that activate mouse lock will not receive mouse events anymore
Status: RESOLVED DUPLICATE of bug 395815
Alias: None
Product: kwin
Classification: Plasma
Component: platform-wayland-nested (show other bugs)
Version: 5.13.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-06 19:23 UTC by farmboy0
Modified: 2018-07-07 05:46 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description farmboy0 2018-07-06 19:23:55 UTC
This happens only with kwin_wayland not kwin_x11.

A good application to test this with is shockolate but needs external game data.
https://github.com/Interrupt/systemshock

1. start shockolate
2. start a new game
3. press space to get rid of the keybinding view
4. press f to enable mouselook (activates mouse lock)

Under wayland the following behaviour can be observed:
1. moving the mouse will not change the camera view in game
(works on X11, my guess is the window doesnt receive mouse events anymore)
2. pressing f again to deactivate mouse look doesnt work
(might be an engine bug, should work on X11, need to recheck)

If the shockolate window isnt fullscreen(the default):
3. switching to another non fullscreen window will not make the
cursor usable again depending on where the (invisible) cursor is atm
(if it is within the switched to window it will appear and be usable otherwise it wont)
Comment 1 farmboy0 2018-07-06 19:42:00 UTC
Point 2 works on X11
Comment 2 Martin Flöser 2018-07-07 05:46:28 UTC

*** This bug has been marked as a duplicate of bug 395815 ***