Bug 143723 - Writer: Changing anchor of rotated image crops image unexpectedly.
Summary: Writer: Changing anchor of rotated image crops image unexpectedly.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 157091 (view as bug list)
Depends on:
Blocks: Writer-Images Regress-Rotated-Images
  Show dependency treegraph
 
Reported: 2021-08-04 14:03 UTC by Gülşah Köse
Modified: 2024-01-29 10:06 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
sample.png (1.60 MB, image/png)
2021-08-04 14:03 UTC, Gülşah Köse
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gülşah Köse 2021-08-04 14:03:39 UTC
Created attachment 174074 [details]
sample.png

1-) Download the sample.png from the attachment.
2-) Open Writer
3-) Insert sample.png to document.
4-) Write click to image and select "Rotate 90 right"
5-) Write click to image again and select Anchor-> As character


Actual: Image cropped.
Expected: Image shouldn't be cropped.
Comment 1 Telesto 2021-08-05 08:46:58 UTC
Repro
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 36efb384a66b6dd645e0ae80fd7df68370a9dc8b
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: nl-NL
Calc: CL

and in
6.4

and in
Version: 6.0.6.0.0+
Build ID: c30963b8b4bbbe42a24b97aafa161eff9d7ccdd4
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: nl-NL (nl_NL); Calc: CL

fine in
Version: 5.2.5.0.0+
Build ID: a4d4fbeb623013f6377b30711ceedb38ea4b49f8
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; 
TinderBox: Win-x86@62-merge-TDF, Branch:libreoffice-5-2, Time: 2016-12-24_14:43:55
Locale: nl-NL (nl_NL); Calc: CL
Comment 2 raal 2021-08-05 16:04:37 UTC
This seems to have begun at the below commit.
Adding Cc: to Armin Le Grand ; Could you possibly take a look at this one?
Thanks
bibisect-linux-64-6.0: dadd958f0a2ed072b55373f955baa3b3f9fa9f52 is the first bad commit
commit dadd958f0a2ed072b55373f955baa3b3f9fa9f52
Author: Jenkins Build User <tdf@pollux.tdf>
Date:   Fri Oct 20 19:31:30 2017 +0200

    source a42b0985c7619efdc934bb1cf19e5e2c2b6faea2

https://git.libreoffice.org/core/+/a42b0985c7619efdc934bb1cf19e5e2c2b6faea2
    RotGrfFlyFrame: Initial adaptions

and follow-up commits https://git.libreoffice.org/core/+/6675e6eaf999de94d49d7644d5877537fda83239
Comment 3 Gabor Kelemen (allotropia) 2022-03-01 21:37:49 UTC
Same commit as bug 115463.
But I'm leaving as not duplicate, that commit was huge.
Comment 4 raal 2023-10-02 14:46:00 UTC
*** Bug 157091 has been marked as a duplicate of this bug. ***
Comment 5 Thorsten Behrens (allotropia) 2024-01-29 10:06:04 UTC
Un-Ccing developer for the moment, old regression & very high workload.