After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 324656 - Thumbnail options in file management preferences are not accurate
Thumbnail options in file management preferences are not accurate
Status: RESOLVED WONTFIX
Product: nautilus
Classification: Core
Component: Preferences
2.16.x
Other All
: Normal minor
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-20 23:40 UTC by Dennis Jacobfeuerborn
Modified: 2008-03-20 10:35 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Better file-size limits based on mime type (1.64 KB, patch)
2008-03-19 20:26 UTC, Michael Chudobiak
none Details | Review

Description Dennis Jacobfeuerborn 2005-12-20 23:40:57 UTC
The thumbnail options suggest that setting the file size limit to X mb will stop
Nautilus from creating thumbnails for large video files however this is not the
case. The option should be changed to indicate more exactly what it actually does.


Other information:
I filed this in Red Hat Bugzilla before and John Palmieri said the following
(which I agree with):

"I aggree, it should be file upstream though.  It is hard to come up with
precise verbage though.  Thumbnail is Capture < MB?  I even dislike having the
user determine a threshold.  Perhaps just a slider   fast <-------------> flashy"

(see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=172043 for reference)
Comment 1 Ben Williams 2006-04-20 01:05:37 UTC
I have this problem with large PDFs, as well. I have a folder full of large (25MB+) PDF files and set the preview threshold to 3MB. When I open the folder nautilus attempts to thumbnail every PDF in the folder and pegs the CPU for many minutes.
Comment 2 Daniel Holbach 2006-09-28 14:42:45 UTC
https://launchpad.net/distros/ubuntu/+source/nautilus/+bug/40874 mentions the same problem.
Comment 3 Marius Andreiana 2007-01-03 19:02:43 UTC
The option is ignored by nautilus.

I've set it to files smaller than 3 mb, local files only. However it shows previews for large PDFs on mounted CD drives. Same for videos.

Bug #46070 is related. 
Comment 4 Michael Chudobiak 2008-03-19 20:26:57 UTC
Created attachment 107646 [details] [review]
Better file-size limits based on mime type

Nautilus only applied the size limit to certain image mime types. It did not apply them to PDF files. A patch is attached to apply the limit to everything except video files (which are so large that "normal" limits should not apply to them).

- Mike
Comment 5 Alexander Larsson 2008-03-20 10:35:43 UTC
In general its a bad idea to limit thumbnailing based on file size for most non-image formats, because the size of the file does not generally indicate how much you have to read or how much work you have to do to thumbnail it. So, a 500 megabyte pdf with 500 pages is likely as fast to thumbnail as a 1 megabyte file with one page.

Therefore we do not artificially limit out-of-process thumbnailers. If a particular thumbnailer requires it it can enforce the limits itself.