Bug 390617 - Pointer gets stuck in Xwayland windows
Summary: Pointer gets stuck in Xwayland windows
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.12.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
: 390753 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-02-17 17:13 UTC by Fabian Vogt
Modified: 2021-12-06 04:39 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: Wayland+
mgraesslin: X11-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Vogt 2018-02-17 17:13:37 UTC
I'm running virt-manager using Xwayland.
When the cursor gets grabbed, the usual "Press Esc to release" message appears.
However, neither Ctrl-Alt nor holding Esc for several seconds release the pointer.

Only Ctrl-Alt and then Alt-Tab works.
Comment 1 Martin Flöser 2018-02-18 16:08:04 UTC
Could it be that just the mouse cursor is not shown due to the application setting an empty cursor? Can you try using the track mouse effect to highlight whether the mouse actually moves?
Comment 2 Fabian Vogt 2018-02-18 20:37:17 UTC
(In reply to Martin Flöser from comment #1)
> Could it be that just the mouse cursor is not shown due to the application
> setting an empty cursor? Can you try using the track mouse effect to
> highlight whether the mouse actually moves?

When I ungrab from virt-manager with Ctrl-Alt, I see my cursor and it does not move until I alt-tab.
Comment 3 Martin Flöser 2018-02-19 20:48:16 UTC
*** Bug 390753 has been marked as a duplicate of this bug. ***
Comment 4 Fabian Vogt 2018-03-26 12:20:14 UTC
I have a way to reliably reproduce this:

Open an application which allows to grab/ungrab the pointer (like virt-viewer).

- Click into the area to confine the pointer
- Move the invisible pointer outside of the window
- Ungrab the pointer
- It's now stuck until Alt-Tab is pressed
Comment 5 Roman Gilg 2018-05-31 22:35:34 UTC
By "ungrab" you mean Ctrl-Alt? Is this the shortcut for "ungrabbing" by virt-manager?
Comment 6 Fabian Vogt 2018-06-01 09:54:32 UTC
(In reply to Roman Gilg from comment #5)
> By "ungrab" you mean Ctrl-Alt? Is this the shortcut for "ungrabbing" by
> virt-manager?

Yes.
Comment 7 Roman Gilg 2018-06-12 22:03:54 UTC
I'm currently running a QEMU image and can reproduce the problem on master. Until now I was always able though through either pressing ESC or switching to another Xwayland window to let the cursor appear again (it's not reliable though).

Any way Crtl-Alt should be made usable as well.
Comment 8 kde.org 2021-11-06 21:14:49 UTC
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Comment 9 Bug Janitor Service 2021-11-21 04:40:05 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 10 Bug Janitor Service 2021-12-06 04:39:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!