Bug 444817

Summary: Keystrokes should not be send to a window while resizing it
Product: [Plasma] kwin Reporter: xilef4040
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: p.r.worrall
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description xilef4040 2021-11-02 10:11:44 UTC
SUMMARY
When resizing a window, either by clicking More Actions -> Resize from the title bar's context menu or by using a global keyboard shortcut, keystrokes are still send to the window that is being resized. This is unexpected and undesired, especially when the resizing of the window is done using the arrow /enter / escape keys. 

STEPS TO REPRODUCE
1. Open a window, preferebly one reacting to arrow key presses like e.g. Konsole.
2. Enter the resize mode. 
3. Use the arrow keys to resize the window.

OBSERVED RESULT
The window is resized, but additionally the keystrokes are send to Konsole. So e.g. arrow up recalls the last command, and hitting enter to finish the resize procedure runs the current command. Thus, one may accidently run a command or change the content of the prompt.

EXPECTED RESULT
The keystrokes entered in resize mode should not be send to the window. 

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version:  5.18.5
KDE Frameworks Version:  5.68.0
Qt Version: 5.12.8
Comment 1 Paul Worrall 2021-11-02 12:48:02 UTC

*** This bug has been marked as a duplicate of bug 368827 ***