Filenames converts to numbers when copying files from Nexus 4

Bug #1179625 reported by Hans-Olof Nordin
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Thunar File Manager
Invalid
Medium
thunar (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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.

Revision history for this message
In , Hans-Olof Nordin (h-o-nordin) wrote :

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunar (Ubuntu):
status: New → Confirmed
Revision history for this message
k7k0 (k7k0) wrote :

Same here using a Samsung S3 device

Revision history for this message
In , André Klitzing (misery) wrote :
Revision history for this message
In , André Klitzing (misery) wrote :

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. :-)

Revision history for this message
In , 8-nick (8-nick) wrote :

Good one, will get to this later with a sane patch.

Revision history for this message
In , André Klitzing (misery) wrote :

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

Revision history for this message
In , Hjudt-l (hjudt-l) wrote :

*** Bug 10230 has been marked as a duplicate of this bug. ***

Changed in thunar:
importance: Unknown → Medium
status: Unknown → In Progress
Revision history for this message
In , Hjudt-l (hjudt-l) wrote :

Last time I tried gvfs mtp everything was slow but worked correctly. Is this still a problem?

Changed in thunar:
status: In Progress → Incomplete
Revision history for this message
In , Hjudt-l (hjudt-l) wrote :

No feedback, closing.

Changed in thunar (Ubuntu):
status: Confirmed → Incomplete
Changed in thunar:
status: Incomplete → Invalid
Changed in thunar (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.