Skip to content

"confirm to replace files" dialog shows wrong size for symbolic links

Affected version

thunar 1.8.15

Steps to reproduce

  1. copy a symbolic link to a folder which already contains a file with that name
  2. the popup dialog that informs you that there is already a file with that name shows the size of the link target
  3. if you click yes the symbolic link is copied and not the link target

Current behavior

If you have the following files:

Folder1/some_file -> some_other_file (this is a symbolic link)

Folder2/some_file

If you copy Folder1/some_file to Folder2 the "confirm to replace files" dialog shows the file size for some_other_file and indicates that you are copiyng a link.

I think showing the size of the link target is misleading and should be changed

Expected behavior

  1. copy a symbolic link to a folder which already contains a file with that name
  2. the popup dialog that informs you that there is already a file with that name shows the size of the link itself
  3. if you click "Replace", the symbolic link is copied