Bug 416915 - broken keep of destination coordinates in drag-and-drop operations
Summary: broken keep of destination coordinates in drag-and-drop operations
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Folder (show other bugs)
Version: 5.17.5
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-29 16:17 UTC by painless roaster
Modified: 2020-05-26 20:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.20


Attachments
drag&drop fix (1.59 KB, patch)
2020-01-29 16:19 UTC, painless roaster
Details

Note You need to log in before you can comment on or make changes to this bug.
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