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

--- Comment #25 from Christian Assig <[email protected]> ---
I think I have found out the reason for the problems described in this bug.
After running some more tests on multiple computers, I noticed that the slides
are shown correctly when the OS screen settings are set to 96 dpi, whereas the
slides are distorted if the screen is set to some other dpi value.

I changed the dpi setting on my wife's Windows 10 from 125% (120 dpi) to 100%
(96 dpi). Afterwards (I needed to log off and log on on Windows 10), both
"deformed_slides.odp" as well as her old files were shown correctly.
http://www.tenforums.com/attachments/tutorials/50005d1448229663-dpi-scaling-level-displays-change-windows-10-a-dpi_in_settings-1.png

Buovjaga, I believe this is the same bug Pascal experienced. In Comment 15, he
wrote that one of his computers showed the slides correctly, while the other
did not, using (almost?) the same version of LibreOffice, both on Linux.

Pascal, should you read this, could you please run the following command on
both of your computers (one that is affected by this bug and one that is not):
xdpyinfo | grep -A3 ^screen

The image 10000000000002D4000003D4D71AD281.png from deformed_slides.odp is a
PNG without pHYs (Physical pixel dimensions). Thus, I assume that LibreOffice
just uses the OS dpi setting to determine the original size of the image.

The problem does not seem to be specific to a currrent version. In addition to
LibreOffice 5.1.1, I have tried the following versions on Windows 10 with 120
dpi:
LibreOfficePortablePrevious_4.2.8_MultilingualAll.paf
LibreOfficePortablePrevious_4.4.7_MultilingualStandard.paf
LibreOfficePortablePrevious_5.0.5_MultilingualStandard.paf

In the crop dialog, I saw the following information, on any version, with any
OS, with any dpi setting:
Crop: Left: 0, Top: 0,53 cm, Right: 8,91 cm, Bottom: 0
Image size: Width: 6,84 cm, Height: 17,06 cm

The following numbers differ:
With 120 dpi:
Original size: 15,32 cm x 20,74 cm, 120 PPI
Scale: Width: 107%, Height: 84%

With 96 dpi:
Original size: 19,16 cm x 25,93 cm
Scale: Width: 67%, Height: 67%

By the way, I did not find a crop dialog with the numbers above in LibreOffice
5.1.x, only the drag and drop way to crop images. Is the crop dialog not
available any more? Or can someone explain how I can open it?

Like gat in Comment #16, I have also noticed that Apache OpenOffice
(OpenOfficePortable_4.1.2_MultilingualStandard.paf) does not have the problem.
With the OS set to either 96 or 120 dpi, it always shows the slides the same
way, i.e. in the way that Pascal and I would consider the right way.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to