https://bugs.documentfoundation.org/show_bug.cgi?id=157407

            Bug ID: 157407
           Summary: Cropped image gets distorted on HiDPI screen
           Product: LibreOffice
           Version: 6.1.0.3 release
          Hardware: All
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: [email protected]
          Reporter: [email protected]

Description:
When opening a odp presentation having a cropped imaged on the slide on a hidpi
screen, the image gets warped and distorted.

Steps to Reproduce:
0. Have display scaling set at 100%
1. Create a new Impress presentation with a default empty slide.
2. Drag and drop an image file (in my case it is a PNG with DPI value set to
0x0 in the metadata, see attached file)
3. Crop the image in any way, direction.
4. Save the file as odp and exit LO.
5. Change display scaling to 150%-200%
6. Open the presentation

Actual Results:
Notice that the image is now warped or distorted.

Expected Results:
The image should look identical regardless of the UI scaling percentage. The
contents of the slide should not change in any way with the display settings.


Reproducible: Always


User Profile Reset: No

Additional Info:
This affects only Windows systems. Linux renders fine at any scaling value.

You can use the attached file as an example. The archive contains the odp
presentation and the png file. The image shuold show a nice schematic at 100%
scaling, but at 150%-200% scaling, it will show a warped image.

Note that this happens ONLY with images that have the DPI value set to 0x0 in
the metadata. Check the attached image. Regardless, this should not be the
behaviour, and the DPI should default to something like 96DPI when missing.
This also should be consistent with Linux behaviour.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to