Drag and drop of images in SSHFS-mounted dir from another program makes Thunar UI unresponsive
Version information
$ thunar --version
thunar 4.20.2 (Xfce 4.20)
This is on Debian unstable w/XFCE DE, so apt-installed version 4.20.2-1.
Steps to reproduce
I haven't managed to reliably reproduce this issue, but it eventually happens roughly like this:
- mount a remote dir via SSHFS
- open it in Thunar
- open an image in Firefox (maybe other programs are also affected)
- drag and drop the image to the dir opened in step 2 using the left mouse button. If Thunar works (i.e. does not hang), a "+" sign should appear when before releasing the mouse button.
- at some point (usually after saving a bunch of images), the "+" sign will no longer appear in Thunar and the entire UI will stop responding. The only way to "fix" this is to
pkill Thunarand start all over again. Sometimes, it will fail again on the first image. Note that I sincerely doubt this is a connection problem since a) it's to a machine that's on the same network, b) the behavior happens even if the number of files in the currently-opened dir is small (I've seen it stop responding with 2 images in the dir), and the total size of the dir is also small (a couple of MB)
Current behavior
The entire UI locks up. Only way to fix it is to pkill Thunar and start it again.
Expected outcome
The UI should not lock up at all. I would not be surprised if this happened under any of the following conditions:
- a slow network connection
- a dir with a large number of files
- a dir with a small number of large files
but as explained above, it happens under normal conditions as well.