Bug 165280 - Image Reflection/Flip is Shifted Following Asymmetric Crop in Writer
Summary: Image Reflection/Flip is Shifted Following Asymmetric Crop in Writer
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
25.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-Crop
  Show dependency treegraph
 
Reported: 2025-02-16 17:09 UTC by phronesisasmr
Modified: 2025-03-21 18:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example of Asymmetric Cropping and Reflection Issue (3.07 MB, application/vnd.oasis.opendocument.text)
2025-02-16 17:10 UTC, phronesisasmr
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phronesisasmr 2025-02-16 17:09:07 UTC
Description:
After cropping an image in Writer asymmetrically, then flipping it along the asymmetrically cropped axis, the resulting image shown seems to be flipped in relation to the whole original image instead of the cropped image.

Steps to Reproduce:
1. Insert an image into Writer.
2. Crop that image from one side (e.g. from the left).
3. Flip the image on the affected axis (e.g. flip horizontally).

Actual Results:
The image is flipped in relation to the pre-cropped image, resulting in an image of the correct size showing the wrong portion of the original image. 

Expected Results:
The reflected image should be a mirror image of the cropped image to which the flip was applied. 


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Testing this on the current build of LibreOffice, but I believe it was an issue in a previous version as well. I am attaching a file that illustrates the problem. If you attempt to flip either of the cropped images, they will shift in relation to the original image.
Comment 1 phronesisasmr 2025-02-16 17:10:34 UTC
Created attachment 199234 [details]
Example of Asymmetric Cropping and Reflection Issue
Comment 2 meagan.eggert 2025-03-21 17:47:20 UTC
Version 25.2.1.2
Build ID: d3abf4aee5fd705e4a92bba33a32f40bc4e56f49
CPU threads: 8; OS: Windows 11 x86_64
UI render: Skia/Raster; VCL: win
Locale: en-US; UI: en-US
Calc: threaded

Bug confirmed. My results are consistent with the original poster, both with the attached file and my own test images.