Description: Insert an image in Impress, then cropped it to a smaller scope. Then change the slide layout. Then when changing the slide layout, for example, from Blank Slide to Title, 2 content and content, the height/width ratio of the cropped image would be lost. If the image was not cropped, it would keep the ratio while changing the slide layout. Steps to Reproduce: 1. Start a new file in Impress 2. Insert an image 3. Crop it to a smaller scope and different ratio 4. Change the slide layout Actual Results: In some slide layout the cropped image would lose its height/width ratio. But if the image is not cropped it won't lose. Expected Results: It should keep the ratio Reproducible: Always User Profile Reset: No Additional Info: Happen in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 127eacf630e1712fd5addcabed404b2d33752311 CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: en-US Calc: threaded But not test earlier versions yet
Created attachment 187471 [details] sample file with an image in it Try cropping this file and change the slide layout.
Reproduced in recent master build: Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: f3aab159f1c1e00c25e6b4ca1e50813bc343f4f3 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Also reproduced in OOo 3.3, so inherited.