! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Need a pause button for copy/move files
Status:
RESOLVED: WONTFIX
Severity:
enhancement

Comments

Description Roman V. Nikolaev 2013-01-10 20:41:52 CET
Hello.

How about magic to make pause on copy/move actions? Many of newest file managers lost this magic =(

I have a some network folders mounted by sshfs, nfs, etc. File copy is slow and get all the entire width of channel. In this moment I need answer to skype call ( write to chat; open web page; etc.) and I can`t do it faster.

Please add "Pause" button in "Copy" dialog.
Comment 1 Harald Judt editbugs 2015-04-17 16:23:14 CEST
GIO does not support this, so we can't either.
Comment 2 Cyrille Pontvieux 2016-07-06 11:33:44 CEST
Actually it IS possible, but the https://developer.gnome.org/gio/stable/GFile.html#g-file-copy method actually used cannot be paused.
To implement this, huge code should be added to use https://developer.gnome.org/gio/stable/GFile.html#g-file-read, https://developer.gnome.org/gio/stable/GSeekable.html#g-seekable-can-seek, https://developer.gnome.org/gio/stable/GSeekable.html#g-seekable-tell, https://developer.gnome.org/gio/stable/GSeekable.html#g-seekable-seek, https://developer.gnome.org/gio/stable/GFile.html#g-file-create, https://developer.gnome.org/gio/stable/GInputStream.html#g-input-stream-read, https://developer.gnome.org/gio/stable/GOutputStream.html#g-output-stream-write, …

Briefly, one need to do all the job done by the g_file_copy method by copying by bytes chunks and check for pause in between. This is far from trivial and could cause regressions and errors in a very used feature of a file manager : copying files.

Bug #9736

Reported by:
Roman V. Nikolaev
Reported on: 2013-01-10
Last modified on: 2016-07-06

People

Assignee:
Jannis Pohlmann
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information