Bug 142229 - Image anchor position coordinates (to paragraph) off with 'as character' step in between
Summary: Image anchor position coordinates (to paragraph) off with 'as character' step...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.1.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2021-05-12 07:35 UTC by Telesto
Modified: 2024-09-26 05:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (82.11 KB, application/vnd.oasis.opendocument.text)
2021-05-12 07:35 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-05-12 07:35:35 UTC
Description:
Image anchor position coordinates (to paragraph) off with 'to character' step in between

Steps to Reproduce:
1. Open the attached file
2. Right click the top image, set anchor to "As character"
3. Now change it back to 'to paragraph' by clicking image again (image jumps down, no clue if this expected or not)
4. Pick up the anchor (left click) and drag it down to say the yellow marking (notice image showing off page). 

Actual Results:
Image coordinates broken after 'as character'

Expected Results:
As character shouldn't affect to paragraph behaviour


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d7f734db2c078ced3ce08ad58cd816a79abe3bcf
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
Comment 1 Telesto 2021-05-12 07:35:47 UTC
Created attachment 171910 [details]
Example file
Comment 2 Telesto 2021-05-12 07:39:16 UTC
Looks still OK for me with
Version: 7.0.0.0.beta1+ (x64)
Build ID: 2891e91a513520d68ea2b8c59c14335861a15253
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL
Comment 3 Vadym 2021-05-12 13:34:23 UTC
Thank you for reporting the bug. I can confirm that the bug is present in 7.2.0.0.alpha0+ version
Comment 4 Aron Budea 2021-05-23 17:44:31 UTC
(In reply to Telesto from comment #2)
> Looks still OK for me with
> Version: 7.0.0.0.beta1+ (x64)
> Build ID: 2891e91a513520d68ea2b8c59c14335861a15253
This is not a regression, what changed in 7.1 compared to 7.0 is that the image now stays selected after switching back to To Paragraph anchoring. If you click away, and select the image again (as you had to do in previous versions), moving the anchor behaves fine.
Comment 5 QA Administrators 2023-05-24 03:14:42 UTC Comment hidden (obsolete)
Comment 6 BogdanB 2024-09-26 05:13:17 UTC
In the dbg version I get this warning, between others warnings:

warn:tools.fraction:8427:8427:tools/source/generic/fract.cxx:79: 'Fraction(23,0)' invalid fraction created

Maybe it helps.