[Xfce-bugs] [Bug 15727] Replacing a file via Cut and Paste in the same filesystem makes a copy

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Mon Jul 22 14:35:01 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15727

Reuben Green <reubengreen73 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |reubengreen73 at gmail.com

--- Comment #2 from Reuben Green <reubengreen73 at gmail.com> ---
The g_file_move documentation says that "If native move operations are
supported then this is used, otherwise a copy + delete fallback is used". So it
seems that in this case, the fallback is being used rather than a "native move
operation". Thus this behaviour comes from g_file_move itself, perhaps (?)
triggered by the size of the file.

I think that the G_FILE_COPY_OVERWRITE flag just tells g_file_move to perform
the move even if the destination file already exists, rather than telling
g_file_move *how* to perform the operation (i.e. native move vs fallback).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list