Summary: | Pressing escape while dragging an applet causes it to get stuck | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Waldo <pugonfireyt> |
Component: | Panel | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | isma.af, nate |
Priority: | NOR | ||
Version: | 5.23.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/commit/71a017faf3e817d857ce06fae0f52242ad2c6143 | Version Fixed In: | 5.24 |
Description
Waldo
2021-12-11 06:09:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/742 Git commit 71a017faf3e817d857ce06fae0f52242ad2c6143 by Ismael Asensio. Committed on 16/12/2021 at 20:50. Pushed by iasensio into branch 'master'. containments/panel: Fix state when dragging gets canceled In panel edition, when dragging an applet to reorder the layout, we were not handling the case when the dragging operation gets canceled. Dragging cancelation can be triggered by pressing <Esc> or other focus-intrusive operations like a delayed screenshot. This led to an unconsistent state of the panel where the dragged applet would just stay out the layout, floating in the last position it was dragged to. For now, acting on the `canceled` signal just as if the dragging was `released` seems the simpler to avoid a messed-up panel. M +6 -2 containments/panel/contents/ui/ConfigOverlay.qml https://invent.kde.org/plasma/plasma-desktop/commit/71a017faf3e817d857ce06fae0f52242ad2c6143 |