D8598: WIP: position files at drop target position in folder
Milian Wolff
noreply at phabricator.kde.org
Wed Nov 1 16:51:26 UTC 2017
mwolff created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
REVISION SUMMARY
Remember the drop target position and move the items once they
become available. This requires us to allow moving while no
drag image is being shown.
TODO:
- how to handle the scenario, where a file gets renamed due to a conflict resolution? the drop target map would be wrong
- similarly, skipped files would remain in the hash and never be cleaned up...
In principle, it would also be way better if we could somehow create
placeholder items for dropped files, which then get updated based
on the drop job... This would also allow us to give the user some
nice visual feedback of what's going on. But that would require
creating items in one of the proxy models, and also tighter
integration with the dropjob, or so I think. I'll have to investigate
more.
REPOSITORY
R119 Plasma Desktop
BRANCH
wip/lim-2
REVISION DETAIL
https://phabricator.kde.org/D8598
AFFECTED FILES
containments/desktop/plugins/folder/foldermodel.cpp
containments/desktop/plugins/folder/foldermodel.h
To: mwolff
Cc: plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20171101/1f22fec2/attachment-0001.html>
More information about the Plasma-devel
mailing list