Bug 494744 - KRDC now grabs all keys even when the window is not in focus
Summary: KRDC now grabs all keys even when the window is not in focus
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: 24.08.1
Platform: Manjaro Linux
: NOR normal
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-14 14:32 UTC by Robert
Modified: 2025-01-21 15:00 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert 2024-10-14 14:32:59 UTC
SUMMARY
Since the latest update to 24.08.1, KRDC only accepts keyboard input when the button "Grab Keys" is selected but it then steals all input, even when the focus is on a different window. This has caused multiple issues with my ability to work well as I continually forget to deselect the "Grab Keys" button when move to a different window and my keyboard input doesn't go where I mean it to go.

STEPS TO REPRODUCE
1. Open an rdp connection
2. Check that the "Grab Keys" button in the toolbar is unchecked
3. Try to type in the window - there should be no input received
4. Now enable the "Grab Keys" option
5. You should be able to type in RDP session
6. Open a new text editor in your local session
7. Try to type into the local text editor 

OBSERVED RESULT
key presses will continue to go to the RDP session instead of the locally selected window

EXPECTED RESULT
keys presses should go to the window with focus

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro 24.1
KDE Plasma Version: 6.1.5
KDE Frameworks Version:  6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
Comment 1 eugene 2024-10-27 05:58:30 UTC
Same issue. Manjaro Linux 24.1.1, krdc 24.08.1 or 24.08.2, Plasma6 6.2.2, KF6 6.7.0

Last relatively working version of krdc is 24.08.0

Is Grab Keys button really necessary for the krdc to function?

In my opinion, if the window krdc just in focus, input should be possible. And no special switches are needed to enable input in the krdc window.
Comment 2 Robert 2024-12-10 07:55:20 UTC
I updated to 24.11.90 and this issue seems to be fixed now.