Undo of rename operation fails when navigating directories before rename
Version information
d9f6e2bf on Arch Linux
Steps to reproduce
mkdir -p test-rename/foo/
touch test-rename/foo/bar.py
thunar test-rename/
- Enter the
foo
directory - Right-click on
bar.py
and select Properties... - Leave the Properties dialog open and navigate up one directory in Thunar
- In the Properties dialog, rename
bar.py
tobar
and close the dialog - Press ctrl + z to trigger an error:
Failed to undo operation 'Rename'
Current behavior
The undo operation fails
Expected outcome
I would expect undo to change the filename back to bar.py
. (The undo succeeds in 4.18.10.)