Copying a file/folder, renaming it, then pasting its path pastes the post-renamed path

Version information

  • Thunar 4.20.9
  • openSUSE Tumbleweed 2026.09.12 (Xfce live ISO)

Steps to reproduce

  1. open Thunar
  2. navigate to somewhere you can create or rename files/folders e.g. your home directory
  3. create a file/folder named test
  4. right-click on the file/folder and select copy
  5. rename the file/folder you created in step3 to testing
  6. open a text editor e.g. mousepad
  7. paste your text
  8. the resulting text will be the path to testing instead of the expected test

Current behavior

Despite copying before renaming the file/folder, the paste action reflects what the path of the file/folder is at the time of pasting rather than at the time of copying.

Expected outcome

Pasting should reflect the path of the file/folder at the time of copying, not at the time of pasting.

Additional information

This does not seem to occur with files/folders on the desktop, and having xfce4-clipman running during step4 actually shows that the clipboard does actually correctly copy the original file/folder path despite the paste not following that (yet if you manually click the entry in clipman, it'll have the original file/folder path).

Edited by NM64