files icon indicating copy to clipboard operation
files copied to clipboard

"Cannot copy a file over itself" dialog

Open ghost opened this issue 5 years ago • 3 comments

Prerequisites

  • [x] I have searched open and closed issues for duplicates.

Describe the bug

I was copying a bunch of files from one directory to another, and I didn't realise that two of the files I was copying were actually symlinks to the directory I was copying them to. So I got this message popup:

Screenshot from 2020-06-07 20-46-45

Ok, no worries, except that it doesn't tell me what file(s) it's referring to. I had to manually check the source and destination files to see what was different before I realised what the issue was.

A simple addition of the filename in question to this dialog would be a good idea.

Platform Information

  • [ ] I'm using the latest version from git that I've manually compiled
  • [x] I'm using the latest released stable version

ghost avatar Jun 07 '20 10:06 ghost

Sounds reasonable. Need to decide on suitable wording.

jeremypw avatar Jun 08 '20 07:06 jeremypw

Yup I seem to have the same issue, I think because of the latest Files update, Paste into a selected folder when using Ctrl + V

mrbvrz avatar Jun 13 '20 10:06 mrbvrz

The relevant code appears unchanged so this needs addressing.

jeremypw avatar Jun 09 '25 15:06 jeremypw