opening image with ristretto from a folder containing lots of files shows bad performance

Bug #965541 reported by ray
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ristretto (Debian)
New
Undecided
Unassigned
ristretto (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

it seems like ristretto has a problem opening an image from a folder which contains lots of image files. maybe it loads or calculates all the thumbnails - which isn't really necessary. so in comparison to eog ristretto shows some serious hunger for cpu and it takes a long time until it shows the image it's supposed to open. this also happens if one flips to the next image. it gets super slow then also.

ray (arkibott)
description: updated
Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this to Ubuntu. Which release and which version of ristretto is this?

Changed in ristretto (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for ristretto (Ubuntu) because there has been no activity for 60 days.]

Changed in ristretto (Ubuntu):
status: Incomplete → Expired
Revision history for this message
jesus2099 (jesus2099) wrote :

I have the same here on Debian 10.4 Xfce with ristretto 0.8.3.
I open an image in a 188 image folder on a distant CIFS mount, it takes 20 seconds before I can see the image.
During this time, ristretto is frozen.
If I set up ristretto to not show thumbnails (Ctrl+M), it still takes the same time as it wants to preload them anyway.

Reducing the amount of images in the folder opens faster but I see it depends on other images, it's not very convenient when I quickly want to see an image.

I thought of some ideas:

- Reuse already calculated thumbnails (reuse of Tumbler ones? or of previous ristretto session?).
- Load thumbnails after main image in asynchronous mode. Don't load them if they are not shown.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.