Summary: | Drag and drop with Alt key modifier (link) moves files without warning. | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | pbhj |
Component: | general | Assignee: | David Faure <faure> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | adawit, cfeck, frank78ac |
Priority: | NOR | Keywords: | triaged |
Version: | 4.9.3 | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
pbhj
2013-01-17 14:15:49 UTC
> The move modifier is Ctrl on it's own.
Should of course read shift, oops.
Moving bug to target of drag operation Thanks for the report, but I cannot reproduce the problem. Note that Dolphin does not perform the detection of modifiers and moving/linking/copying itself, it relies on lib/konq and KIO for that -> reassigning. Where is the data loss? As far as I understand the bug, data is moved, not deleted. And I think the "source" application (digiKam in this case) has to pass the selected modifiers to kio somehow. (In reply to comment #4) > And I think the "source" application (digiKam in this case) has to > pass the selected modifiers to kio somehow. lib/konq reads the modifiers in the "destination" application in KonqOperations *KonqOperations::doDrop( const KFileItem & destItem, const KUrl & dest, QDropEvent * ev, QWidget * parent, const QList<QAction*> & userActions ) ... which means the modifiers are only evaluated, when the mouse button is released, not when the drag is started. Intended? I think it is intended, yes. The idea is that you can press the modifier key *after* the drag has been started. Note that even the indicator next to the mouse curser changes if you do that, and that happens outside our control inside Qt, I think. So it seems to me that the way it is supposed to work is that the modifier state at the time of the drop is important. This works just fine when you drag and drop files while pressing the Alt key in Dolphin or Konqueror. If I split a window and drag and drop selected files from one folder into another while pressing the Alt key (Note you can only press the Alt key after starting the drag even), symlinks are created in the destination folder. No move operation is performed. Hence something else must be happening in Digikam or this issue has already been resolved. Do you still see this issue in KDE 4.10 or higher? Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |