Improve responsiveness of the app when performaning IO operations (Create/Delete/Remove)
Currently, thunar freezes for the following use case.
- Open a folder in thunar
- In that folder itself create 10,000 files using
for i in {1..10000}; do touch $i; done
- Thunar will freeze for more 10 secs. & this is for all views.
What should happen
- IO operations should not block the main thread of thunar i.e the UI should remain responsive even when the view is updating.
- If the view is updating with new files or deleting visible files then the UI should show a spinner but never freeze.