Skip to content

Fix progress bar dialog for trash, restore and empty trash file operations - #2827

Draft
vjr wants to merge 12 commits into
mainfrom
vishal/trash-progress
Draft

Fix progress bar dialog for trash, restore and empty trash file operations#2827
vjr wants to merge 12 commits into
mainfrom
vishal/trash-progress

Conversation

@vjr

@vjr vjr commented Sep 4, 2026

Copy link
Copy Markdown
Member

Fixes #137

  • Sync files for trash, restore from trash and empty trash.
  • Trash files progress dialog working as before.
  • Restore from trash progress dialog now shows up.

Very embarrassingly rough work.
Sync likely working for trash, restore from trash and empty trash.
Trash files progress dialog working as before.
Restore from trash progress dialog still does not show up.
@vjr vjr self-assigned this Sep 4, 2026
@vjr
vjr requested review from a team and jeremypw September 6, 2026 12:00
@vjr

vjr commented Sep 6, 2026

Copy link
Copy Markdown
Member Author

@jeremypw there's some improvement towards fixing the issue.

With this branch on occasion the progress bar dialogs do not show up and I get the process-not-responding busy dialog "wait or kill" especially if I perform multiple steps in the same app lifetime - meaning if I close and restart the app for each step (trash files, restore files, empty trash) it seems to work.

You mentioned an "undo manager" here -> #137 (comment) which I'm not familiar with nor any other subsystems that might be slowing down/interacting when there are large number of files - I've been testing with 10,000 files of 100k each.

I've disabled options such as local/remote thumbnailing, file previews etc.

One other issue (existing on main branch too) I see is there is no confirmation dialog popup when you empty trash with large number of files (in my test with 10,000 files) but if I empty with just a few it shows up.

@jeremypw

jeremypw commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

@vjr Thanks for your continued work on this! I'll have a look at it tomorrow.

@jeremypw

jeremypw commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

@vjr On reflection, it would be better to wait for your existing sync PR to be merged before looking at this so we can focus on one thing and fix any conflicts then.

I am also touching some of the same code in my port to Vala of delete/trash operations. I may be able to fix the progress in Vala.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No progress indication when trashing many small files after a restoring a large number of files

2 participants