Bug 392677 - "Pointer motion confined to the current window. To release pointer hold Escape for 3 seconds." notification upon trying to move XWayland app window
Summary: "Pointer motion confined to the current window. To release pointer hold Escap...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.12.3
Platform: Netrunner Rolling Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-03 14:40 UTC by Alexander Mentyu
Modified: 2018-08-08 15:23 UTC (History)
3 users (show)

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 Alexander Mentyu 2018-04-03 14:40:00 UTC
Steps:
1. Launch XWayland app.
2. Press and hold left mouse button on app window - but not on the app titlebar.
3. Without moving of the app window - release the mouse button.
4. Take a look at top left corner with the notification.

Tried with Chromium, Firefox, VLC.

The notification is displayed almost every time.

Plasma: 5.12.3
Apps: 17.12.3
Frameworks: 5.44.0
Qt: 5.10.1
Kernel: 4.14.30-1-MANJARO
OS: Netrunner Rolling
wayland-protocols 1.13-1
wayland 1.14.0-1
Comment 1 Martin Flöser 2018-04-03 17:07:05 UTC
That is correct: the apps grab the mouse and KWin reacts accordingly.
Comment 2 Xu Zhao 2018-05-20 23:27:46 UTC
Is there a way to disable the notification in kwin?
Comment 3 Martin Flöser 2018-05-21 06:11:07 UTC
(In reply to Xu Zhao from comment #2)
> Is there a way to disable the notification in kwin?

No
Comment 4 Xu Zhao 2018-05-21 14:25:56 UTC
(In reply to Martin Flöser from comment #3)
> (In reply to Xu Zhao from comment #2)
> > Is there a way to disable the notification in kwin?
> 
> No

Here is a workaround that I found today.
Change the /usr/share/kwin/onscreennotification/plasma/main.qml:
visible: osd.visible to:
visible: osd.invisible

can hide this and all osd notifications.
Comment 5 Igor Poboiko 2018-08-08 13:46:57 UTC
(In reply to Martin Flöser from comment #1)
> That is correct: the apps grab the mouse and KWin reacts accordingly.

Could you please elaborate on that? I still can move my pointer wherever I want, and as far as I can see it isn't confined to the current window at all.
And why does it affect only XWayland windows if it is correct behavior?

In this particular case this notification seems to be at least misleading.
Comment 6 David Edmundson 2018-08-08 15:23:34 UTC
There are upcoming changes to pointer grabbing in next Plasma.