Thunar segfaults when renaming a directory that contains files
Version information
4.20.1
Arch
Steps to reproduce
- Create a directory.
- Touch an empty file within that directory.
- Open thunar and browse to the directory you just created.
- From a shell, rename that directory.
- Thunar crashes.
Current behavior
Whenever Thunar is displaying a folder that contains files, if that directory is renamed (or deleted) from outside Thunar (shell, python script, easytag), Thunar segfaults. My testing shows that if the folder is empty, no segfault.
I've tested this on three different Arch desktops, so don't think it's anything particular to one device. Behavior only appeared with this latest version, 4.20.1, iirc.
Expected outcome
Default Thunar behavior should just return you to the parent directory.