Bug 440815 - In KDE Wayland, the mouse leaving the remote desktop window triggers the meta key.
Summary: In KDE Wayland, the mouse leaving the remote desktop window triggers the meta...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 5.23.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-10 03:27 UTC by 狄昵称
Modified: 2023-09-06 10:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description 狄昵称 2021-08-10 03:27:09 UTC
SUMMARY
The meta key will be captured by all desktops

STEPS TO REPRODUCE
1. Use remmina's rdp to remotely connect to windows in workspace 2 and use full screen.
2. Move the mouse to the toolbar at the top of remmina to enable grab all keys.
3. Press the desktop grid shortcut and use the mouse to switch to another desktop.
4. Press the meta key or the shortcut key containing meta.
5. Switch to the desktop where remmina is located.

OBSERVED RESULT
A pop-up menu pops up on the remote windows desktop.

EXPECTED RESULT
When switching to another desktop and pressing meta, the remmina on desktop 2 no longer receives meta,windows no longer pop up menu.

SOFTWARE/OS VERSIONS
Windows: 11
macOS: 
Linux/KDE Plasma: Archlinux
(available in About System)
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Remmina does not have this problem on gnome, so I think it may be a problem with kde. If it is not, I am sorry for my mistake.
Comment 1 狄昵称 2021-12-19 03:36:50 UTC
I know that wayland has fixed the problem of remmian and other software grabbing all the keys, but I found that when the mouse leaves the window of the remote system and presses the meta key, the remote system can still grab the action to make a pop-up start menu, etc. Xorg also has the same problem, but xorg can’t grab all the keys. I only tested the problem on remmina. I think it’s not a problem with remmina because it works fine on gnome.
Comment 2 David Edmundson 2023-09-06 10:38:57 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.