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

Akseli Lahtinen <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |7fc477efadc783ba352bd3fbf11
                   |                            |ee129fd237cfe

--- Comment #31 from Akseli Lahtinen <[email protected]> ---
Git commit 7fc477efadc783ba352bd3fbf11ee129fd237cfe by Akseli Lahtinen.
Committed on 30/07/2025 at 09:51.
Pushed by akselmo into branch 'master'.

FolderModel: If screen is not used, clear dropTargetPositions

If screen is not in use, we are not certain what our
current coordinates for the icons are, especially for desktop icons.

In these cases we should just clear the drop target positions and
return,
since this action only makes sense when the screen is in use
anyway.

This was also never cleared after dragging, except for the 10 second
timer.

This would cause edgecases where an icon is dragged around, something
causes rowsInserted to be emitted and we would reuse the drag
operation, which would move the icon around further.

Instead we should always clear it after any drag operation.

M  +8    -0    containments/desktop/plugins/folder/foldermodel.cpp

https://invent.kde.org/plasma/plasma-desktop/-/commit/7fc477efadc783ba352bd3fbf11ee129fd237cfe

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

Reply via email to