Hang up when deleting 6000 files 1GB from Trash
Affected version
3.36.3-stable "Files" as shipped with latest Ubuntu LTS
Steps to reproduce
- Create a folder with 1GB of files, roughly 6000 files, or use an old folder such as a Chrome user profile folder as I did.
- Remove the folder to Trash
- Try and empty Trash
Current behavior
Observe that mouse cursor becomes stuck on the window resize (while over Nautilus) windows. Lock up is for three minutes. killall nautilus stops it and can re-open, but the folder is still there in Trash
Lock up is for three minutes.
Expected behavior
Should empty trash steadily. It could do it in batches of 100 files if it really struggles to do 6000. Any rough estimation of the duration is enough. It doesn't need to be precise.
Additional information
Easy to reproduce.