Thumbnail sidebar shows error icons in place of some images.

Bug #1756191 reported by Alistair Buxton
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
Ristretto
Fix Released
Medium
ristretto (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

To reproduce:
    cd /usr/share/icons/gnome/16x16/categories
    xdg-open system-help.png

Result:
    ristretto opens the icon and displaysit, and opens a sidebar which displays other images in the folder. But some of those images just show errors. See screenshot.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ristretto 0.8.2-1
ProcVersionSignature: Ubuntu 4.15.0-12.13-generic 4.15.7
Uname: Linux 4.15.0-12-generic x86_64
ApportVersion: 2.20.8-0ubuntu10
Architecture: amd64
CurrentDesktop: XFCE
Date: Thu Mar 15 21:57:41 2018
InstallationDate: Installed on 2018-03-15 (0 days ago)
InstallationMedia: Xubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180315)
SourcePackage: ristretto
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
In , Sergey Orloff (sergeyorloff) wrote :

Instead of thumbnails, the same icons with a crossed red circle

Revision history for this message
In , Sergey Orloff (sergeyorloff) wrote :

Created attachment 7049
Instead of thumbnails, the same icons with a crossed red circle

Hello!
Is it possible to somehow correct this display so that instead of signs there are real thumbnails?

Revision history for this message
In , Bza-10-juebo (bza-10-juebo) wrote :

Same problem here with Ristretto 0.8.2.
When there are some thumbnails for a folder (i.e. generated by Thunar) then Ristretto will display them. But Ristretto 0.8.2 will not start generation of thumbnails.

With Ristretto 0.8.0 this worked well.

Revision history for this message
Alistair Buxton (a-j-buxton) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ristretto (Ubuntu):
status: New → Confirmed
Revision history for this message
In , Willem Hobers (whobers) wrote :

Testing Bionic, Ristretto 0.8.2.
Same here. Please see: http://i.imgur.com/7EAoxRm.png

Revision history for this message
Sean Davis (bluesabre) wrote :

It appears that ristretto is not automatically generating thumbnails for these icons. If you open Thunar in the same directory, then open ristretto, the thumbnails are present.

Revision history for this message
Sean Davis (bluesabre) wrote :

I can confirm that this affects files in the home directory as well. Does ristretto create thumbnails, or is it maybe creating them in a legacy location?

Revision history for this message
slumbergod (slumbergod) wrote :

Is this a problem with ristretto or tumbler? I can delete the caches at ~/.cache/thumbails and ~/thumbnails and it seems to work properly for a while but then stops again.

Revision history for this message
miguel lopes (miguellopes01) wrote :

to install (trumbler-plugins-extra) and that solves the problem

Changed in ristretto:
importance: Unknown → Medium
status: Unknown → Confirmed
Revision history for this message
Sean Davis (bluesabre) wrote :

I tested install tumbler-plugins-extra, and it made no difference when opening the file directly with ristretto.

Revision history for this message
Sean Davis (bluesabre) wrote :

I did some additional testing on a fresh install.

1. ~/.thumbnails and ~/.cache/thumbnails do not exist.
2. Open existing images with ristretto, no thumbnails, no thumbnails generated.
3. Open existing images with thunar, thumbnails are generated.
4. Open new images with ristretto, no thumbnails are generated.
5. Manually create ~/.thumbnails
6. Open new images with ristretto, no thumnbnails are generated in either directory.

Based on this, I can conclude that thumbnail generation is not happening in ristretto.

Revision history for this message
In , Bluesabre-1 (bluesabre-1) wrote :

brainwash, from the Xubuntu Bugs team found that reverting https://git.xfce.org/apps/ristretto/commit/?id=69b7459957427aed16caddb699c5b496dfb6deee seems to resolve this issue. I have tested and confirmed. Can we go ahead and do this to restore thumbnail generation?

Revision history for this message
In , Bluesabre-1 (bluesabre-1) wrote :

*** Bug 14790 has been marked as a duplicate of this bug. ***

Revision history for this message
In , Bluesabre-1 (bluesabre-1) wrote :

Igor, can you revert the commit mentioned above, and maybe follow up with a new release? Lots of translations and a few fixes since 0.8.3. Thanks!

Revision history for this message
In , Gitbot (gitbot) wrote :

Igor referenced this bugreport in commit caf6b19e1eeafe8a1fa219a4c27d37c77563ee3c

Revert "Fix memory leak in thumbnailer if image file not found"

https://git.xfce.org/apps/ristretto/commit?id=caf6b19e1eeafe8a1fa219a4c27d37c77563ee3c

Revision history for this message
In , Igor Zakharov (f2404) wrote :

Sean, thanks for pointing out the problematic commit!

Revision history for this message
In , Kurakin Alexander (kuraga333) wrote :

But... Does memory leak present now? Should we re-open Bug #12034?

Revision history for this message
In , Igor Zakharov (f2404) wrote :

(In reply to Alexander Kurakin from comment #9)
> But... Does memory leak present now? Should we re-open Bug #12034?
I've reopened the bug, thanks.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ristretto - 0.8.3-1ubuntu1

---------------
ristretto (0.8.3-1ubuntu1) disco; urgency=medium

  * d/patches/lp1756191.patch:
    - Fix thumbnail generation from upstream (LP: #1756191)

 -- Sean Davis <email address hidden> Sun, 07 Apr 2019 16:31:49 -0400

Changed in ristretto (Ubuntu):
status: Confirmed → Fix Released
Changed in ristretto:
status: Confirmed → Fix Released
Revision history for this message
Mi-La (mi-la) wrote :

Hi, I have new installation of Ubuntu 18.04.3 LTS (xubuntu). It has ristretto 0.8.2 and the bug still occurs there. It's nice to have fixed the bug, but I don't understand why the LTS users should have work with the buggy version until next LTS. Any plans to fix it in current LTS? Or do I miss an easy way how to install ristretto 0.8.3 (the fixed version) in my current system? Thanks.

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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