Update File Commander file lists on Move and Copy completion

Issue #686 resolved
prl created an issue

The GREEN Move and YELLOW Copy commands in File Commander update the file lists after they have added their FileTransferJobs, but at that time the jobs will not have completed (or even started).

Add callbacks to the FileTransferJobs to refresh the file lists when the jobs complete, taking care to not do the update if the FileCommander has closed and that if the copy or move is done in FileCommanderScreenFileSelect, the refresh must be done in FileCommanderScreen.

Comments (5)

  1. Peter Urbanec

    Some sort of "in progress" indication might be nice, too.

    Other than what you would normally get with the BLUE button for active jobs?

  2. Peter Urbanec

    [FileCommander] Refresh automatically after jobs

    Move and copy operations are done via jobs and removing a directory is done via a console container. This generally means that a manual refresh is necessary to update the list. Use a callback on completion to refresh automatically. Update the title with the number of active jobs (started by the current FC, not in general; it's also not present during multiselection). Resolves #686.

    → <<cset 40db5549c01c>>

  3. Log in to comment