[Xfce-bugs] [Bug 15447] Should use G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME as filename instead of ID when copying from GVFS mounted file systems

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu May 23 15:08:14 CEST 2019


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

--- Comment #2 from Myk <politas at gmail.com> ---
> Possibly it would help to set G_FILE_COPY_ALL_METADATA as copy_flag. Could you check if that helps ?

I'm not aware how to do that. and have not looked at the code at all. 

> Can you reproduce the problem as well with nautilus ? (There is the chance that gvfs or google-gvfs is to blame )

Sorry, should have said that I tested using Nautilus, and it copies the files
across making the copied filename the G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME
instead of the ID. Using Nautilus, I do not experience the same problem, thus I
believe the issue is with Thunar, since both Thunar and Nautilus are using the
same GVFS libraries as far as I know.

I think the direction to maintain the attributes is within the GVFS filesystem,
perhaps? Thunar's internal representation of the file object should use the ID,
and that should be used when interacting with the GVFS remote system. But in
order to maintain the displayed filename when copying to a non-GVFS filesystem,
the display name needs to be used for the filename, since in local filesystems,
they are the same thing. I'm making some assumptions based on general knowledge
rather than any specific knowledge of GFile or Thunar code.

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


More information about the Xfce-bugs mailing list