Bug 508312

Summary: Panel widgets become jumbled upon hitting escape in edit mode
Product: [Plasma] plasmashell Reporter: Daniel Cleaver <daninshed>
Component: Edit ModeAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kdedev, nate, niccolo
Priority: HI    
Version First Reported In: 6.4.4   
Target Milestone: 1.0   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.4.5
Sentry Crash Report:
Attachments: example 1: apps
example 2: pager
example 3: startmenu

Description Daniel Cleaver 2025-08-15 22:00:50 UTC
SUMMARY
Upon hitting escape while moving a widget in the panel, it becomes so jumbled to the point of being unrecoverable.

STEPS TO REPRODUCE
1. Enter "Show Panel Configuration" mode.
2. Grab one of the widgets by holding left click. (You do not have to drag it. You can move it very slightly or not at all)
3. While still holding left click, hit the escape key.

OBSERVED RESULT
The position of the widgets changes to a strange, jumbled, and unusable state. It is then difficult or impossible to put them back how they were before.

EXPECTED RESULT
For this not to happen. 

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.1
Kernel Version: 6.15.9-201.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × 12th Gen Intel® Core™ i5-12400F
Memory: 16 GiB of RAM (15.5 GiB usable)
Graphics Processor: AMD Radeon RX 6700 XT
Manufacturer: Micro-Star International Co., Ltd.
Product Name: MS-7D43
System Version: 1.0
Comment 1 Daniel Cleaver 2025-08-15 22:01:13 UTC
Created attachment 184119 [details]
example 1: apps
Comment 2 Daniel Cleaver 2025-08-15 22:01:54 UTC
Created attachment 184120 [details]
example 2: pager
Comment 3 Daniel Cleaver 2025-08-15 22:02:14 UTC
Created attachment 184121 [details]
example 3: startmenu
Comment 4 TraceyC 2025-08-15 23:03:41 UTC
I can reproduce this on git-master with the default panel
Comment 5 Nate Graham 2025-08-18 20:20:14 UTC
Can also reproduce. Restarting plasmashell fixes things.

Raising to HI priority anyway since that's not obvious, and the panel looks (and is) completely broken while in this state.
Comment 6 Niccolò Venerandi 2025-08-20 07:43:42 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 508269

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

https://invent.kde.org/plasma/plasma-desktop/-/commit/c1fc05b5e46def227baf384b6d085b89337e9355
Comment 7 Niccolò Venerandi 2025-08-20 07:44:05 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 508269


(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