Bug 2165576

Summary: raw-thumbnailer for Nautilus creates full-size thumbnails for sizes > 160
Product: [Fedora] Fedora Reporter: tommy4st
Component: raw-thumbnailerAssignee: Julian Sikorski <belegdol>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: belegdol
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: raw-thumbnailer-3.0.0-25.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-29 00:16:40 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
fixes large thumbnails and urls in spec file none

Description tommy4st 2023-01-30 13:13:33 UTC
Description of problem:
Generating thumbnails with sizes > 160 pixels result in the full-size images as thumbnail. For thumbnails sizes ≤ 160 it works as expected. Nautilus is requesting a size of 256, which results in a terrible performance for the preview generation and preview display.

Version-Release number of selected component (if applicable):
3.0.0

How reproducible:
always

Steps to Reproduce:
1. $ raw-thumbnailer -s 256 input.raw output.png

Actual results:
The thumbnail is as big as the original image.

Expected results:
The thumbnail should have a maximal size of 256 in any direction.

Additional info:
"raw-thumbnailer.c" has a size check for 128 (line: 50), when changed to 256 it works as expected.

Comment 1 tommy4st 2023-01-31 15:53:04 UTC
Created attachment 1941341 [details]
fixes large thumbnails and urls in spec file

Comment 2 Fedora Update System 2023-03-19 21:19:43 UTC
FEDORA-2023-f593682e67 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f593682e67

Comment 3 Fedora Update System 2023-03-19 21:20:09 UTC
FEDORA-2023-15ad325315 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-15ad325315

Comment 4 Fedora Update System 2023-03-20 02:37:44 UTC
FEDORA-2023-f593682e67 has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-f593682e67`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-f593682e67

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2023-03-20 02:50:28 UTC
FEDORA-2023-15ad325315 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-15ad325315`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-15ad325315

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2023-03-20 17:50:27 UTC
FEDORA-2023-5f825b0c17 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-5f825b0c17

Comment 7 Fedora Update System 2023-03-21 01:37:14 UTC
FEDORA-2023-5f825b0c17 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-5f825b0c17

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-03-28 01:58:53 UTC
FEDORA-2023-f593682e67 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2023-03-28 02:04:59 UTC
FEDORA-2023-15ad325315 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2023-03-29 00:16:40 UTC
FEDORA-2023-5f825b0c17 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 tommy4st 2023-04-29 10:29:19 UTC
The problem reemerged because the maximum thumbnail size probably increased with GNOME 44 to at least 512 as "x-large".

Comment 12 Julian Sikorski 2023-04-29 11:26:15 UTC
Well, such issues should be best solved upstream, but the project appears abandoned.

Comment 13 Julian Sikorski 2023-04-29 19:58:12 UTC
Apparently https://github.com/dbrgn/miniaturo/ is a replacement for raw-thumbnailer but it has not been packaged for fedora so far. I have retired raw-thumbnailer.

Comment 14 Julian Sikorski 2023-05-02 18:45:54 UTC
Try this: https://copr.fedorainfracloud.org/coprs/decathorpe/miniaturo/