! 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 !
Filenames converts to numbers when copying files from Nexus 4
Status:
RESOLVED: WORKSFORME

Comments

Description Hasse Nordin 2013-05-13 20:55:44 CEST
Xubuntu 13.04
Thunar 1.6.2-0ubuntu1

When I copying files from Nexus 4, I expect that target names is the same as source names.

What happened instead: The target filename converts to a number.

If I do the same with Nautilus, it works as expected, Target name is same as source name.
Comment 2 André Klitzing 2013-09-23 14:46:43 CEST
Created attachment 5156 
Ugly and unfinished hack (copy only)

I looked into it and tried an ugly hack for it. I tested it and it works if you COPY a file from MTP device to standard filesystem (ext4). It does not work if you MOVE a file because I didn't change g_file_move operation in that file. ;-)

It's just to give a pointer to the problem. I don't know gio or thunar good enough to send a professional patch. ;-) There should be a much more better solution for that problem.

Let me know if I can help you. :-)
Comment 3 Nick Schermer editbugs 2013-09-23 19:07:52 CEST
Good one, will get to this later with a sane patch.
Comment 4 André Klitzing 2013-10-02 11:40:27 CEST
By the way.... nautilus works correct here. But I didn't know why because they do not use G-FILE-ATTRIBUTE-STANDARD-COPY-NAME:CAPS.

https://git.gnome.org/browse/nautilus/tree/libnautilus-private/nautilus-file-operations.c
Comment 5 Harald Judt editbugs 2015-04-17 17:11:43 CEST
*** Bug 10230 has been marked as a duplicate of this bug. ***
Comment 6 Harald Judt editbugs 2015-05-13 22:01:07 CEST
Last time I tried gvfs mtp everything was slow but worked correctly. Is this still a problem?
Comment 7 Harald Judt editbugs 2015-05-25 16:08:17 CEST
No feedback, closing.

Bug #10085

Reported by:
Hasse Nordin
Reported on: 2013-05-13
Last modified on: 2015-05-25
Duplicates (1):
  • 10230 [thunar] Not using correct GFile attribute which makes filename not correct from gvfs-mtp

People

Assignee:
Jannis Pohlmann
CC List:
4 users

Version

Attachments

Ugly and unfinished hack (copy only) (818 bytes, text/plain)
2013-09-23 14:46 CEST , André Klitzing
no flags

Additional information