Bug 491958

Summary: Preview distorted after switching to a display with a different XY ratio
Product: [Applications] digikam Reporter: rn+bugs.kde.org <rn+bugs.kde.org>
Component: Plugin-Generic-SlideShowAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.4.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: screenshot of the defect in action

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