Bug 448535

Summary: Gwenview doesn't show images with width or height of 2 pixels or smaller.
Product: [Applications] gwenview Reporter: Artem Kliminskyi <artemklim50>
Component: generalAssignee: Gwenview Bugs <gwenview-bugs-null>
Status: REPORTED ---    
Severity: minor CC: idontfeelcomfygivingyoumyemail
Priority: NOR    
Version First Reported In: 21.12.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: 1x1 white pixel
2x2 black and white pixels
2x800 black and white pixels

Description Artem Kliminskyi 2022-01-15 16:47:26 UTC
SUMMARY
If I try to open an image with size 2x2, 1x1 and 2x800, no one of them are visible in the main view of gwenview. However, they are visible in the thumbnails panel and in the dolphin preview.
Works fine with images with size 3x3, 4x4, 8x8.

STEPS TO REPRODUCE
1. Create the image with size {x <= 2}x{y <= 2}.
2. Open this image with Gwenview.
3. Make sure that nothing is visible, even using maximum zoom.

OBSERVED RESULT
Nothing is visible, even using maximum zoom. Just background color.

EXPECTED RESULT
Small image in the center of viewport.

SOFTWARE/OS VERSIONS
Arch linux (15.01.2022)
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Gwenview version: 21.12.1
Comment 1 A Linux User 2025-08-21 00:15:51 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue with Gwenview 25.08.0?
Comment 2 Bug Janitor Service 2025-09-05 03:48:05 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Artem Kliminskyi 2025-09-05 13:45:39 UTC
Yes, this is still an issue. I will attach the sample images to this report.

SOFTWARE/OS VERSIONS
Arch linux (05.09.2025)
KDE Plasma Version: 6.4.4
KDE Frameworks Version: 6.17.0
Qt Version: 6.9.2
Gwenview version: 25.08.0
Comment 4 Artem Kliminskyi 2025-09-05 13:46:34 UTC
Created attachment 184741 [details]
1x1 white pixel
Comment 5 Artem Kliminskyi 2025-09-05 13:46:56 UTC
Created attachment 184742 [details]
2x2 black and white pixels
Comment 6 Artem Kliminskyi 2025-09-05 13:47:10 UTC
Created attachment 184743 [details]
2x800 black and white pixels