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

Marco Martin <notm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/libplasma/-/commit/f8ebf
                   |                            |febdf5ea11e456120d2afe12f2c
                   |                            |0f0443e3
         Resolution|---                         |FIXED

--- Comment #18 from Marco Martin <notm...@gmail.com> ---
Git commit f8ebffebdf5ea11e456120d2afe12f2c0f0443e3 by Marco Martin.
Committed on 26/05/2025 at 10:00.
Pushed by mart into branch 'master'.

Fix drag and drop of item on containments

ContainmentItem::createApplet wants a position relative to the containment,
while sendng dropPoint() is an absolute screen coordinate position

Drop will be broken for centered panels and containments in screens not
at 0,0 position.
transform the coordinates to be relative to the contaiment

M  +15   -9    src/plasmaquick/plasmoid/containmentitem.cpp
M  +6    -6    src/plasmaquick/plasmoid/dropmenu.cpp
M  +3    -3    src/plasmaquick/plasmoid/dropmenu.h

https://invent.kde.org/plasma/libplasma/-/commit/f8ebffebdf5ea11e456120d2afe12f2c0f0443e3

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

Reply via email to