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

Johannes Zarl-Zierl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/grap
                   |                            |hics/kphotoalbum/-/commit/4
                   |                            |172ea10e2c592f80578588c2acf
                   |                            |f6b660059a80

--- Comment #3 from Johannes Zarl-Zierl <[email protected]> ---
Git commit 4172ea10e2c592f80578588c2acff6b660059a80 by Johannes Zarl-Zierl.
Committed on 15/11/2026 at 17:14.
Pushed by johanneszarl into branch 'master'.

Fix ThumbnailViewer drag&drop on Wayland

Wayland has no global cursor position that can be queried, so the
QCursor::pos() works by tracking the position of mouse move events.
While handling mouse events (or context menu events, for that matter),
the mouse position is not updated. Our drag event handler called
mediaIdUnderCursor, which relies on QCursor::pos(), so it did not get
the correct mouse position while dragging the mouse.

See: https://community.kde.org/Guidelines_and_HOWTOs/Wayland_Porting_Notes

M  +3    -1    ThumbnailView/SelectionInteraction.cpp
M  +9    -8    ThumbnailView/ThumbnailDND.cpp
M  +16   -6    ThumbnailView/ThumbnailWidget.cpp
M  +28   -2    ThumbnailView/ThumbnailWidget.h

https://invent.kde.org/graphics/kphotoalbum/-/commit/4172ea10e2c592f80578588c2acff6b660059a80

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

Reply via email to