Bug 477444 - Pressing `ESC` in the `Set Window Shortcut` dialog should close that dialog
Summary: Pressing `ESC` in the `Set Window Shortcut` dialog should close that dialog
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.27.80
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-11-24 04:17 UTC by Jin Liu
Modified: 2023-11-24 20:16 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 Jin Liu 2023-11-24 04:17:17 UTC
Since the user is very unlikely to set `ESC` as the shortcut, it's better that the usual way to close a dialog still works.

STEPS TO REPRODUCE
1. In the window menu, select `set window shortcut`.
2. Press `ESC`.

OBSERVED RESULT
The shortcut is set to `ESC`.

EXPECTED RESULT
The dialog is closed.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.245.0
Qt Version: 6.6.0
Kernel Version: 6.6.2-arch1-1 (64-bit)
Graphics Platform: offscreen
Processors: 12 × AMD Ryzen 5 5600H with Radeon Graphics
Memory: 13.5 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Comment 1 fanzhuyifan 2023-11-24 20:16:25 UTC
Some users actually want to set it to ESC...