Skip to content

Restored trashed files have backslash and hex codes in name

Submitted by xyz..@..il.com

Assigned to Xfce Bug Triage

Link to original bug (#12637)

Description

How to reproduce:

  • start Thunar
  • go to a mounted path, e.g. /media/d/
  • create new file 'te st'
  • trash that file
  • go trash and copy/paste or drag&drop that file back to /media/d/

What happens:

  • A file named '\media\d.Trash-1000\files\te%20st' is created in /media/d

What should happen:

  • A file named 'te st' should have been created

Notes:

  • When going to Thunar trash and clicking 'Restore' there the bug won't appear, it only appears for drag&drop / copy/cut&paste
  • Deleting a file in my home folder or in general from my primary partition which is the only one using extfs4 and also the only one whose trash is in '~/.local/share/Trash' (the other trashs are in '/media//.Trash', won't lead to this bug. Even deleting from primary and restoring to another mounted partition
  • Deleting from mounted partition and restoring to primary also leads to this bug.

Version: 1.6.10