Support queued copy (configurable e.g. for remote devices)
@jrd
Submitted by Cyrille Pontvieux Assigned to Xfce Bug Triage
Description
Created attachment 9715 patch based on rename-on-fail-copy branch
patched based on rename-on-fail-copy branch.
A transfer job register the device id for the first file to copy (source and destination path). Then when another transfer job is started, it checks if any of its source/target device id match another running job (it also depends on user preferences). If yes, it will kind of freeze the job until all other jobs with matching device id are either finished, canceled or paused. A frozen transfer job could also be forced to do the transfer with a GUI button. Preferences for freeze on same source/target device or not have been added in Thunar Preferences, under Behavior tab.
The idea is to lesser IO pressure on devices when doing multiple copies/moves, especially on slow devices (USB, network, …)
The attached patched is based on my previous patch/bug (https://bugzilla.xfce.org/show_bug.cgi?id=16686) The commit can also be found in a git branch (url attached to this bug).
Patch 9715, "patch based on rename-on-fail-copy branch":
multi-copies-on-same-device.patch
Version: git