elementary / elementary/files

"Cannot copy a file over itself" dialog should include the file paths

Open
#1,359 4 comments 1 reaction 0 assignees View on GitHub
Priority: Medium
Dominant language
Vala
Stars
365
Forks
82
Avg merge
4d 2h
Merged PRs (30d)
3

Description

## 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](https://user-images.githubusercontent.com/2385329/83966906-723e4880-a900-11ea-8332-7ba2c0329b9b.png)

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
![](https://user-images.githubusercontent.com/2385329/83958077-10a2bd80-a8b1-11ea-8f63-2ce2c3cd6558.png)

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.