Bug 435909 - Dragging files onto themselves should be ignored, and not asked for overwrite/rename
Summary: Dragging files onto themselves should be ignored, and not asked for overwrite...
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Albums-IconView (show other bugs)
Version: 7.2.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-19 09:45 UTC by Jens
Modified: 2021-04-19 11:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2021-04-19 09:45:58 UTC
SUMMARY
see $SUBJECT

STEPS TO REPRODUCE
1. open any folder
2. select some images
3. start dragging (not ctrl-drag)
4. release onto same folder

OBSERVED RESULT
dialog pops up asking if we want to rename or ovewrite

EXPECTED RESULT
no dialog. I wanted to move the images, this should be ignored if the target is the same folder/album because the exact same files are already there.

If ctrl-drag is used and released on the same folder/album, it is debatable whether the user should be asked if s?he wants to create duplicates. I think no, in 99% of all cases. There are other options for rare cases where it makes sense to duplicate files (Ctrl-C + Ctrl-V, versioning, etc). Maybe we can add a checkbox "[x] Don't ask again when target and source are identical" to the dialog, and a settings option? 

Using Digikam appimage with KDE Neon and all available updates applied.
Comment 1 Maik Qualmann 2021-04-19 10:37:53 UTC
This is normal file manager behavior. Dolphin shows no other behavior.

Maik
Comment 2 Jens 2021-04-19 11:51:52 UTC
Yes, it does.

Dolphin shows a popup context menu allowing to copy, link or cancel. Move is not shown as an option since it would not make sense. You can click anywhere to dismiss it.

Digikam already assumes you want to move (which totally doesn't make sense here), and shows a modal dialog (!) asking you to rename or overwrite (which would be a null action, overwrite files with themselves).

If the behaviour really were the same, I would not complain. :-)