gvfsd-gphoto2 loads previews for all files regardless of settings in Nautilus for previewed file size

Bug #673140 reported by Lukáš Chmela on 2010-11-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)

Bug Description

Binary package hint: gvfs

gvfsd-gphoto2 seems to not follow settings in Nautilus and loads previews for all files regardless of their size.

With my Canon EOS 500D camera, I have videos with thousands of MBs and gvfsd-gphoto2 loads their previews although I have set in Nautilus that it should load previews for media files with less than 100MB only.

I am using Ubuntu 10.10, latest gvfs package from repository version 1.6.4-0ubuntu1.1

Pedro Villavicencio (pedro) wrote :

Thanks for the report, it has been some time without any response or feedback in this bug report and we are wondering if this is still an issue for you with the latest release of Ubuntu the Natty Narwhal, May you please test with that version and comment back if you're still having or not the issue? Please have a look at http://www.ubuntu.com/download to know how to install that version. Thanks in advance and sorry for the late response.

Changed in gvfs (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Lukáš Chmela (lukaschmela) wrote :

Thanks for the response.

I have tried that with Ubuntu 11.04 (gvfsd-gphoto2 is no longer in the repository nor installed?) and the problem persists.
It turned out that not only previews of image/video files stored in my camera kept loading although size of those files is more than the limit selected in Nautilus but that this problem concerns also local files. I was not able to find any file on my HDD without a preview loaded immediately (when I set the limit to 10MB in Nautilus) , neither image nor video. The only files that stood without preview were TIFFs. Maybe this is a wider problem of Nautilus or the file preview isn't even that hard to obtain?

I will change the pckage affected from gvfs to Nautilus.

Lukáš Chmela (lukaschmela) wrote :

Sorry for my mistake with the package name - I have gvfs version 1.8.0-0ubuntu2 from natty repository installed.

I also have to mention that Nautilus respects the settings for video files - they are whole loaded into system memory by gvfsd-gphoto2 (uselessly) after what the memory is freed up with the only result that Nautilus shows the default video icon (showing a cine-film) instead of the file icon with clock signalizing that the preview is being loaded, respecting the 100MB file limit for previews (!!). Trying that with a 3GB video file in my camera connected through USB, gvfsd-gphoto2 crashed (?) after it loaded the video file into memory for the purpose of image preview - I think so, because it was no longer listed in the process list in system-monitor and the camera became unmounted in Nautilus.

Trying it with the same video stored already on my HDD, the default video icon was displayed immediately without any use of system memory. When I changed the file preview limit in Nautilus from 100MB to 4GB, preview for the video file became available immediately (I only had to move it to another folder as the preview for the original video file in the concrete path was already fixed to be the default video icon - this is probably another issue with Nautilus) and again, without any use of memory - so even loading whole (video) files for the purpose of file preview is useless and should never be done.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers