Bug 498258

Summary: Keyboard Shortcut does not capture character when exiting Overview
Product: [Plasma] kwin Reporter: MZD <leftjoin>
Component: effects-overviewAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.1.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description MZD 2025-01-04 19:53:06 UTC
SUMMARY

Using the "Toggle Overview" keyboard shortcut to exit the Overview, the character is not prevented from being entered into the active window.

STEPS TO REPRODUCE
1. Open a window that accepts text and ensure it is the active window
2. Use the shortcut to enter Overview
3. Use the shortcut (which is supposed to toggle)
4. Observe: Overview exits correctly, but the active window has the character input.

OBSERVED RESULT
My documents are strewn with random "/"'s (my shortcut is Meta+/).

EXPECTED RESULT
Overview should exit while capturing the key-stroke and preventing it as input to the active window.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux Ubuntu Studio 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
It's a simple thing that I trip on about 20 times per minute.
Comment 1 MZD 2025-01-04 20:06:04 UTC
Okay, ashamed to realize this only happens when the active window is VS Code. Kate (text editor) and Thunderbird don't input the character.
I'm surprised that this could be dependent on the active window, but I don't have any idea how keyboard shortcuts for the desktop are handled.

VS Code
Version: 1.96.2
Commit: fabdb6a30b49f79a7aba0f2ad9df9b399473380f
Date: 2024-12-19T10:22:47.216Z
Electron: 32.2.6
ElectronBuildId: 10629634
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Linux x64 6.11.0-13-generic
Comment 2 Nate Graham 2025-01-04 21:05:07 UTC

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