Bug 491958 - Preview distorted after switching to a display with a different XY ratio
Summary: Preview distorted after switching to a display with a different XY ratio
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SlideShow (other bugs)
Version First Reported In: 8.4.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-20 22:50 UTC by rn+bugs.kde.org@sigpipe.cz
Modified: 2025-04-11 18:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screenshot of the defect in action (709.90 KB, image/jpeg)
2024-08-20 22:50 UTC, rn+bugs.kde.org@sigpipe.cz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rn+bugs.kde.org@sigpipe.cz 2024-08-20 22:50:58 UTC
Created attachment 172795 [details]
screenshot of the defect in action

SUMMARY
Image preview is distorted after switching to a display ("screen" in digiKam) with a different XY ratio.

The attached screenshot shows a preview of a 6000x4000 image after "Switch screen" from the primary output (3440x1440) to the secondary (1080x1920).

STEPS TO REPRODUCE
1. Preview an image
2. "Show Fullscreen"
3. "Switch Screen" to a screen with a different XY ratio

OBSERVED RESULT
Image preview is displayed stretched, disregarding the image XY ratio.

EXPECTED RESULT
Image preview is displayed without stretching.

SOFTWARE/OS VERSIONS
Windows: Microsoft Windows [Version 10.0.19045.4780]

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2024-08-21 05:34:21 UTC
If you select the current horizontal screen to display the slideshow (not the vertical one), the image is shown properly ?

Note: to select target screen, open the Slideshow config dialog (last button on the tool bar on the bottom left).

I suspect that the system do not report the right resolution of the vertical screen to digiKam plugin.

Q : did you use the Qt6 or the Qt5 version of digiKam for Windows ?

Best regards

Gilles Caulier
Comment 2 caulier.gilles 2025-04-11 18:13:35 UTC
Hi,

The 8.7.0 pre-release Windows installer from today have been rebuilt from
scratch with Qt 6.8.3, KDE 6.12, OpenCV 4.11 + CUDA support, Exiv2 0.28.5, ExifTool 13.27, ffmpeg 7, all image codecs updated to last version (jxl, avif, heif, aom, etc.).

Please try with this version to see if your problem still reproducible...

https://files.kde.org/digikam/

Thanks in advance
Best regards

Gilles Caulier