Update File Commander file lists on Move and Copy completion
The GREEN Move and YELLOW Copy commands in File Commander update the file lists after they have added their FileTransferJob
s, but at that time the jobs will not have completed (or even started).
Add callbacks to the FileTransferJob
s 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)
-
-
reporter Sounds reasonable. Would you like to raise it on the forum?
-
Some sort of "in progress" indication might be nice, too.
Other than what you would normally get with the BLUE button for active jobs?
-
Yes, within the File Commander file list itself.
-
- changed status to resolved
[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>>
- Log in to comment
Some sort of "in progress" indication might be nice, too.