Description of problem: eg, photos, it mounts & you can see the files but not as miniatures, also properties of files are unavailable. Location: mtp://[usb:003,002]/Card/DCIM/Camera Access: unknown Further it is impossible to open any file directly from mount. In Image Viewer: "Could not load image: xxxx Failed to open input stream for file" This goes for any type of file. You can copy the file though and open it later successfully. gvfs-mount -l Drive(0): SAMSUNG SSD PM830 mSATA 256GB Type: GProxyDrive (GProxyVolumeMonitorUDisks2) Volume(0): SAMSUNG Android Type: GProxyVolume (GProxyVolumeMonitorMTP) Mount(0): SAMSUNG Android -> mtp://[usb:003,002]/ Type: GProxyShadowMount (GProxyVolumeMonitorMTP) Mount(1): mtp -> mtp://[usb:003,002]/ Type: GDaemonMount Version-Release number of selected component (if applicable): gvfs-1.22.3-1.fc21.x86_64 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Hey, thanks for your bug report. Miniatures aren't shown by default for remote mounts, but you can enable it. If you are using "Files" you can do this by "Preferences" -> "Preview" -> "Show thubmnails: Always". There isn't so much properties which we can get from MTP. But you can compare it with my output (which should be complete), just replace my path by yours: $ gvfs-info mtp://[usb:002,005]/Karta\ SD/DCIM/Camera/IMG_20150121_131454.jpg display name: IMG_20150121_131454.jpg name: IMG_20150121_131454.jpg type: regular size: 624662 uri: mtp://[usb:002,005]/Karta%20SD/DCIM/Camera/IMG_20150121_131454.jpg attributes: standard::type: 1 standard::name: IMG_20150121_131454.jpg standard::display-name: IMG_20150121_131454.jpg standard::icon: image-jpeg, image-x-generic standard::content-type: image/jpeg standard::size: 624662 id::filesystem: mtp:host=%5Busb%3A002%2C005%5D access::can-read: TRUE access::can-write: TRUE access::can-execute: FALSE access::can-delete: TRUE access::can-trash: FALSE access::can-rename: TRUE time::modified: 1421842494 time::modified-usec: 0 preview::icon: GVfsIcon:0x7fc9e0009260 Opening files directly works for me correctly. Could you try (replace the path by yours): gvfs-cat mtp://[usb:002,005]/Karta\ SD/DCIM/Camera/IMG_20150121_131454.jpg Does it print some errors or just raw data?
$ gvfs-info mtp://[usb:003,005]/Card/Pictures/screenshot_2014-10-10_2250.png display name: screenshot_2014-10-10_2250.png name: screenshot_2014-10-10_2250.png type: regular size: 147514 uri: mtp://[usb:003,005]/Card/Pictures/screenshot_2014-10-10_2250.png attributes: standard::type: 1 standard::name: screenshot_2014-10-10_2250.png standard::display-name: screenshot_2014-10-10_2250.png standard::icon: image-png, image-x-generic standard::content-type: image/png standard::size: 147514 id::filesystem: mtp:host=%5Busb%3A003%2C005%5D access::can-read: TRUE access::can-write: TRUE access::can-execute: FALSE access::can-delete: TRUE access::can-trash: FALSE access::can-rename: TRUE time::modified: 1412981460 time::modified-usec: 0 preview::icon: GVfsIcon:0x7fb420009560 $ gvfs-cat mtp://[usb:003,005]/Card/Pictures/screenshot_2014-10-10_2250.png gvfs-cat: mtp://[usb:003,005]/Card/Pictures/screenshot_2014-10-10_2250.png: error opening file: Operation unsupported right-click properties in Files shows nothing Show Thumbnails - Always - show no thumbnails.
ok, tried different usb port (might have been just a fluke), I have thumbnails but properties in Files -> Image = nothing, still cannot open directly off the phone.
Thanks for the output. All supported attributes seems to be set correctly by gvfs. Information in Files->Image isn't provided by gvfs, but it is probably connected with your problem with reading. Seems android extensions aren't detected from some reason. Could you install "libmtp-examples" package and provide output of "mtp-detect" command (with the connected device), please?
Created attachment 982822 [details] mtp detect log
Thanks for the log. The device doesn't support android.com extension, so the reading/writing support is disabled. But I think reading support should be possible if some changes will be made. Lets move it upstream...
*** Bug 1239174 has been marked as a duplicate of this bug. ***
*** Bug 1204907 has been marked as a duplicate of this bug. ***