Bug 416915

Summary: broken keep of destination coordinates in drag-and-drop operations
Product: [Plasma] plasmashell Reporter: painless roaster <painless.roaster>
Component: FolderAssignee: Eike Hein <hein>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate, plasma-bugs
Priority: NOR    
Version: 5.17.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.20
Attachments: drag&drop fix

Description painless roaster 2020-01-29 16:17:39 UTC
SUMMARY

broken keep of destination coordinates in drag-and-drop operations


STEPS TO REPRODUCE

1. open folder in desktop
2. try copy file from folder to desktop

OBSERVED RESULT

the position of the copied file is aligned to the first free position


EXPECTED RESULT

the position of the copied file must match the drop coordinates
Comment 1 painless roaster 2020-01-29 16:19:51 UTC
Created attachment 125521 [details]
drag&drop fix

fix is very simple
Comment 2 Nate Graham 2020-01-31 20:46:24 UTC
Thank you for attaching a patch! Could you please submit it using https://phabricator.kde.org? h easiest way would be to simply paste your diff into https://phabricator.kde.org/differential/diff/create/, or you can do the full setup in https://community.kde.org/Infrastructure/Phabricator.
Comment 3 Nate Graham 2020-05-26 20:16:28 UTC
Git commit e8f0ded578183a375be205086f689455f52e54bf by Nate Graham, on behalf of Radek Bucek.
Committed on 26/05/2020 at 20:16.
Pushed by ngraham into branch 'master'.

Drag-and-drop files at the right coordinates

Summary: BUG: 416915

Reviewers: hein, #plasma, ngraham

Reviewed By: ngraham

Subscribers: ngraham, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D27078

M  +6    -0    containments/desktop/plugins/folder/positioner.cpp
M  +1    -0    containments/desktop/plugins/folder/positioner.h

https://invent.kde.org/plasma/plasma-desktop/commit/e8f0ded578183a375be205086f689455f52e54bf