Bug 412920

Summary: Image Editor displays incorrect coordinates for selections on scaled HiDPI screens
Product: [Applications] digikam Reporter: styleling <styleling>
Component: ImageEditor-CoreAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 6.3.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description styleling 2019-10-13 19:45:30 UTC
SUMMARY
On a screen with 200% scaling, the Image Editor displays incorrect coordinates and size values for selections on the bottom toolbar. The coordinates and size of the selection are 50% of the actual coordinates and size of the image.

STEPS TO REPRODUCE
1. On a 200% scaled display, open an image in the Image Editor.
2. Note the size/resolution of the image on the bottom toolbar.
4. Select an area near the bottom-right quadrant of the image. Note that the selection coordinates in the bottom toolbar are less than 50% of the total image size (and would correspond to a location in the top-left quadrant of the image).
3. Select the entire image. Note that the selection size in the bottom toolbar is approximately 50% of the image size.

OBSERVED RESULT
The bottom toolbar of the Image Editor displays coordinates and size values that are approximately 50% of the actual values.

EXPECTED RESULT
On scale displays, the Image Editor should display correct coordinates and size values.

SOFTWARE/OS VERSIONS
Linux: GNOME Shell 3.34.1
KDE Plasma Version: N/A
KDE Frameworks Version: 5.59.0
Qt Version: 5.11.3
Comment 1 Maik Qualmann 2019-10-13 20:02:56 UTC

*** This bug has been marked as a duplicate of bug 412083 ***
Comment 2 caulier.gilles 2020-01-19 09:32:14 UTC
Fixed with bug #412083