| Summary: | Pointer lock interferes with games | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Sandeep <sandy.8925> |
| Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | normal | CC: | rickard.gerthsson |
| Priority: | NOR | Flags: | mgraesslin:
Wayland+
mgraesslin: X11- |
| Version First Reported In: | 5.10.95 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Sandeep
2017-09-24 19:16:22 UTC
It is not KWin automatically locking the pointer. It is the application requesting it for each window. If it requests for a menu KWin will do so as that is what was requested. If that is wrong the bug is with the application. Well, when I say menu, it's not the usual context menu that you get when you use the right mouse button click. It's more like a separate screen that shows game menu with options like settings, resume, quit etc. Is there any way for me to capture these requests? If I build KWin debug build, are there any logs I can enable to find out if the app is requesting it a second time? You can be absolutely sure that the app is requesting the lock. KWin would not lock if it were not requested. To figure out you can run with WAYLAND_DEBUG=1 environment variable, it will tell every request. Please remove pointer lock if you won't add a disable feature very soon. The lock behaviour is very limiting to the work flow. Actually, the bug was fixed in kwayland 5.48+. If you upgrade to that and kwin 5.13.0+, the pointer lock problem is mostly solved. (In reply to Sandeep from comment #5) > Actually, the bug was fixed in kwayland 5.48+. > > If you upgrade to that and kwin 5.13.0+, the pointer lock problem is mostly > solved. I use kwayland 5.48 and kwin 5.13.4 under Solus. Are you facing this bug? https://bugs.kde.org/show_bug.cgi?id=388885 I still get that from time to time. The patch (https://phabricator.kde.org/D13466) to fix that is supposedly in kwin 5.13.1+, but kwin 5.13.1+ still exhibits that buggy behaviour from time to time. I compiled kwin 5.13.3 with that patch, and that seemed to conclusively fix that problem for me. Maybe you can try compiling 5.13.4 with that patch and see if it works for you. (In reply to Sandeep from comment #7) > Are you facing this bug? https://bugs.kde.org/show_bug.cgi?id=388885 I don't think I have experienced that I am not able at to release the pointer lock. > I still get that from time to time. The patch > (https://phabricator.kde.org/D13466) to fix that is supposedly in kwin > 5.13.1+, but kwin 5.13.1+ still exhibits that buggy behaviour from time to > time. > > I compiled kwin 5.13.3 with that patch, and that seemed to conclusively fix > that problem for me. > > Maybe you can try compiling 5.13.4 with that patch and see if it works for > you. Unfortunately I am not very knowledgeable about compiling. |