[Xfce-bugs] [Bug 15385] New: Suppress generating thumbnail for large images (vector graphics)

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Fri May 10 20:21:54 CEST 2019


https://bugzilla.xfce.org/show_bug.cgi?id=15385

            Bug ID: 15385
           Summary: Suppress generating thumbnail for large images (vector
                    graphics)
    Classification: Xfce Core
           Product: Thunar
           Version: unspecified
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: Core
          Assignee: xfce-bugs at xfce.org
          Reporter: thangalin at gmail.com
  Target Milestone: 1.8.5

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list