https://bugs.kde.org/show_bug.cgi?id=446814

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/commit/71
                   |                            |a017faf3e817d857ce06fae0f52
                   |                            |242ad2c6143
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #2 from Ismael Asensio <isma...@gmail.com> ---
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to