Bug 508269 - While in edit mode, ESC key doesn't do anything if the pointer is over a Panel widget
Summary: While in edit mode, ESC key doesn't do anything if the pointer is over a Pane...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Edit Mode (other bugs)
Version First Reported In: 6.4.4
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2025-08-15 05:37 UTC by Fernando Marcelino Muniz
Modified: 2026-11-07 23:46 UTC (History)
3 users (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 Fernando Marcelino Muniz 2025-08-15 05:37:49 UTC
STEPS TO REPRODUCE
1. Open Edit Mode by clicking on the option on the Panel's Context Menu.
2. Without moving the pointer, which should be over the panel, press the ESC key.

OBSERVED RESULT
Nothing happens until you move away from the Panel.

EXPECTED RESULT
ESC should be able to exit Edit Mode while the pointer is over the Panel.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.16.0-arch2-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i5-11300H @ 3.10GHz
Memory: 9 GB of RAM (8.1 GB usable)
Graphics Processor 1: NVIDIA GeForce GTX 1650
Graphics Processor 2: Intel® Iris® Xe Graphics
Manufacturer: LENOVO
Product Name: 82MG
System Version: IdeaPad Gaming 3 15IHU6

ADDITIONAL INFORMATION
Does the ESC key have a special function when the pointer is over the Panel?
Comment 1 Nate Graham 2025-08-15 16:45:49 UTC
Can reproduce. The pointer needs to be above the desktop or the panel configuration dialog for Escape to have an effect.
Comment 2 Niccolò Venerandi 2025-08-20 07:43:50 UTC
Git commit c1fc05b5e46def227baf384b6d085b89337e9355 by Niccolò Venerandi.
Committed on 20/08/2025 at 07:08.
Pushed by niccolove into branch 'master'.

Handle esc key press in panel edit mode
Related: bug 508312

M  +4    -0    containments/panel/ConfigOverlay.qml
M  +3    -0    containments/panel/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/c1fc05b5e46def227baf384b6d085b89337e9355
Comment 3 Niccolò Venerandi 2025-08-20 07:43:57 UTC
Git commit 02c0ab806208eb12078fecc5a5671f5dfef7fc5d by Niccolò Venerandi.
Committed on 20/08/2025 at 07:43.
Pushed by niccolove into branch 'Plasma/6.4'.

Handle esc key press in panel edit mode
Related: bug 508312


(cherry picked from commit c1fc05b5e46def227baf384b6d085b89337e9355)

Co-authored-by: Niccolò Venerandi <niccolo@venerandi.com>

M  +4    -0    containments/panel/contents/ui/ConfigOverlay.qml
M  +3    -0    containments/panel/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/02c0ab806208eb12078fecc5a5671f5dfef7fc5d
Comment 4 Fernando Marcelino Muniz 2026-11-07 19:57:37 UTC
Is it intentional that it has to be pressed twice?
Comment 5 Nate Graham 2026-11-07 23:46:33 UTC
Well each press of the Escape key is clearly doing something different, right? The first press closes the panel configuration dialog, and the second one exits from edit mode.

That said, I can still reproduce the original bug in the case where the pointer is hovering over a panel widget while in edit mode. As long as that widget's hover popup thingy is visible, the Escape key doesn't do anything. I suspect this is what was going on in the original report.