Bug 155864 - Anchor to character at bottom paragraph creates odd layout when moving image
Summary: Anchor to character at bottom paragraph creates odd layout when moving image
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.0.0 beta1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2023-06-16 09:03 UTC by Telesto
Modified: 2023-07-04 08:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Sample (902.28 KB, application/vnd.oasis.opendocument.text)
2023-06-16 09:04 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2023-06-16 09:03:49 UTC
Description:
Anchor to character at bottom paragraph creates odd layout when moving image

Steps to Reproduce:
1. Open the attached file
2. Select make things happen image 
3. Press arrow up

Actual Results:
Text an image moves to new page

Expected Results:
Stay on the same page, like this

1. Open the attached file
2. Select make things happen image 
3. Press arrow up (broken layout)
4. Change the anchor 'to paragraph'
5. Change the anchor back to 'to character' (expected)

So the specific (manual) set anchor should replaced by new anchor position. 
This already happens when moving images to new paragraph. 

Or the to paragraph anchoring is simply better, compared to 'to character'




Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 389a8d52d9961f89c0b2847b30ee1ca59a8fdc80
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 threaded
Comment 1 Telesto 2023-06-16 09:04:03 UTC
Created attachment 187930 [details]
Sample
Comment 2 Dieter 2023-07-04 08:29:40 UTC
I confirm it with

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 069c7dc4e9706b40ca12d83d83f90f41cec948f8
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Additional information:
If you save and reload file after step 5 it also works. So I think problem only occurs after inserting an image.