Bug 358745 - Strange drag and drop behaviour in folder view desktop layout
Summary: Strange drag and drop behaviour in folder view desktop layout
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Desktop icons & Folder View widget (show other bugs)
Version: 5.4.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-29 17:26 UTC by garwol
Modified: 2016-02-25 11:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screen recording of a bug (3.79 MB, video/mp4)
2016-01-29 17:42 UTC, garwol
Details

Note You need to log in before you can comment on or make changes to this bug.
Description garwol 2016-01-29 17:26:08 UTC
Icons placement after dragging on desktop is often unpredictable. Its hard to place icon in desired location, it usually "snaps" to a grid next to it, if its not dropped exactly in the middle of a grid. Icons dragged out of view are placed in random positions, icons dropped under the panel cause extension of view and appearing of scrollbar at the edge of desktop.

Reproducible: Always

Steps to Reproduce:
1. drag icon over the desktop
2. drop out of view or under panel
3. icon is placed in wrong position
Comment 1 garwol 2016-01-29 17:42:33 UTC
Created attachment 96905 [details]
screen recording of a bug
Comment 2 Eike Hein 2016-02-25 11:39:44 UTC
Git commit c7e0335677244cf4c4c0d82701c730c4481aa02c by Eike Hein.
Committed on 25/02/2016 at 11:38.
Pushed by hein into branch 'Plasma/5.5'.

Use the item midpoint when calculating grid drop coords.

Not sure how this got lost.
Related: bug 359755

M  +2    -2    containments/desktop/package/contents/ui/FolderView.qml

http://commits.kde.org/plasma-desktop/c7e0335677244cf4c4c0d82701c730c4481aa02c