Skip to content

Trashing many files causes Thunar to hang

Submitted by fuank

Assigned to Alexander Schwinn @alexxcons

Link to original bug (#15871)

Description

When moving dozens of files to trash, and while having lots of files already sitting in the .Trash directories, gvfsd-trash uses 100% of CPU, and Thunar also uses a lot of CPU for minutes while being unresponsive.

I first thought this was a bug with gvfsd, which I have filed a report there: https://gitlab.gnome.org/GNOME/gvfs/issues/416.

It turns out it may just be the way Thunar generates a lot of requests to gvfsd. Please see the linked issue for more details.

Apparently Thunar would need the same fix as Nautilus to avoid generating requests to gvfsd-trash within a short amount of time ( https://github.com/xfce-mirror/thunar/blob/master/thunar/thunar-trash-action.c )

Version: 1.8.9