Description: An impress presentation with a slide containing a cropped and scaled image opens incorrectly with LibO 7.0 and 7.1, while it opens fine on LibO 6.4. The issue seems to be with reading the file. During edit, LibO 7.0, 7.1 do the cropping and scaling fine. When you save the presentation and you reload it, the cropped image is OK with 6.4 but wrong and distorted with LibO 7.0 and 7.1. The weird thing is that in the crop dialog the info provided by LibO 6.4 and 7.x is the same. Please try the test document. Marking version 7.0.5.2 as first affected, being the 7.0 version that I have tried, but I believe that this has been present from the beginning of 7.0. Steps to Reproduce: Open test document in LibO 6.4 and LibO 7.x and check the differences. Actual Results: Cropped image is distorted in 7.x Expected Results: Image should look correctly and not distorted. Reproducible: Always User Profile Reset: No Additional Info: [Information automatically included from LibreOffice] Locale: en-US Module: PresentationDocument [Information guessed from browser] OS: Linux (All) OS is 64bit: yes
Created attachment 170652 [details] Test case
Created attachment 170653 [details] Comparison before and after
This regression was introduced by https://cgit.freedesktop.org/libreoffice/core/commit/?id=6ac2d66c78d6c080aabfa46157113684c2f3a3b0 Already reported by you in bug 133546 *** This bug has been marked as a duplicate of bug 133546 ***
Incredible how I can miss my own duplicates... thought this one was a different item, crop specific. In any case, a weird thing is how even on 6.4 my rendering is different from yours. I am attaching that too, even if the bug is closed, just in case someone from bug #133546 comes here to check the test case.
Created attachment 170655 [details] Intended result