Bug 392706 - Image preview predictably fails for half-uploaded images but then doesn't address the problem later
Summary: Image preview predictably fails for half-uploaded images but then doesn't add...
Status: RESOLVED WORKSFORME
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Thumbnails and previews (show other bugs)
Version: 17.12.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-04 10:37 UTC by David Tonhofer
Modified: 2022-12-21 05:19 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Example of failed previews (50.24 KB, image/png)
2018-04-04 10:37 UTC, David Tonhofer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Tonhofer 2018-04-04 10:37:02 UTC
Created attachment 111812 [details]
Example of failed previews

If you upload an jpg image and Dolphin grabs it to generate a preview, it may stay "half gray" as the preview fails mid-way.

This is not so bad, but Dolphin should be back later for a re-take on the preview - this does not happen (how do into explicitly telling Dolphin to redo the previews?)

Fixing this would mean keeping a database about temporarily failed previews somewhere (a portable SQL database or something)
Comment 1 Rog131 2018-04-04 12:12:42 UTC
(In reply to David Tonhofer from comment #0)
> Created attachment 111812 [details]
> Example of failed previews
> 
> If you upload an jpg image and Dolphin grabs it to generate a preview, it
> may stay "half gray" as the preview fails mid-way.
> 
> This is not so bad, but Dolphin should be back later for a re-take on the
> preview - this does not happen (how do into explicitly telling Dolphin to
> redo the previews?)
> 
> Fixing this would mean keeping a database about temporarily failed previews
> somewhere (a portable SQL database or something)

The Dolphin is using KDE KIO to create and manage the thumbnails. Resetting the product to the kio-extras as the jpg thumbnailer is part of the kio-extras.

The KDE is following the Freedesktop standards and specifications. There is Thumbnail Managing Standard: https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html . The standard has 'Thumbnail Creation Failures': https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html#FAILURES. I'm not sure if the KDE has implement it ?

To redo the thumbnails the user can clean the thumbnail cache:

- Gwenview has this in the advanced settings.
- Sweeper ( https://www.kde.org/applications/utilities/sweeper/ ) has this option - needs Git commit 9c9586579f6f0dc7c0db73cf7683e94ab61526d7 - https://bugs.kde.org/show_bug.cgi?id=361482#c12

There is also an option to make a servicemenu to remove single thumbnails.
Comment 2 Justin Zobel 2022-11-21 08:21:36 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 3 Bug Janitor Service 2022-12-06 05:17:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-12-21 05:19:27 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!