! 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 !
Suppress generating thumbnail for large images (vector graphics)
Status:
RESOLVED: DUPLICATE

Comments

Description thangalin 2019-05-10 20:21:54 CEST
Replicate

1. Create a large, complex vector graphic, at least 10 MB in size (e.g., illustration.svg).
1. Start a program (e.g., Inkscape).
1. Use the program to select a file.
1. Browse to directory containing the graphic.
1. Select the graphic.
1. Press Enter immediately to open it.

Expected Results

User can select and open the file (illustration.svg) instantly.

Actual Results

User has to wait for the thumbnail to render, which can take several seconds on a slower computer.

Additional Details

Consider that no preview should be shown for large vector graphics (> 1MB?) unless the user deliberately clicks on the "generate thumbnail" placeholder image. Another improvement would be to time how long it takes to render an image on the computer and use that as a threshold  to determine the maximum file that can be rendered in less than 300ms.

In either case, it would be nice if there was a way to configure the thumbnail setting by right-clicking on the thumbnail for a context menu... Or double-clicking it... Or a tooltip over the image with an explanation on how to change the settings... Or some other indicator.

This could apply to all images, or have different thresholds for different file types (based not on the filename extension, but the actual type of file from its header).
Comment 1 alexxcons editbugs 2019-05-10 22:01:03 CEST
Thanks for reporting !

Thumbnail generation is the job of thumbler.

You can tune the MaxFileSize in tumbler.rc, see https://docs.xfce.org/xfce/thunar/tumbler

There is already a open bug fo it:

*** This bug has been marked as a duplicate of bug 4955 ***

Bug #15385

Reported by:
thangalin
Reported on: 2019-05-10
Last modified on: 2019-05-10

People

Assignee:
Xfce Bug Triage
CC List:
1 user

Version

Version:
unspecified

Attachments

Additional information