Bug 145494

Summary: DOCX: Changing anchor from 'to character' to 'as character' splits frame and content
Product: LibreOffice Reporter: Telesto <telesto>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: dgp-mail
Priority: medium    
Version: 7.3.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=135155
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 104461, 120466    
Attachments: Example file

Description Telesto 2021-11-01 15:21:39 UTC
Description:
Changing anchor from 'as character' to  'to character' splits frame and content and undo puts text above

Steps to Reproduce:
1. open the attached file
2. Save as DOCX
3. File reload
4. Change the anchor to the frame to 'to character'
5. Press undo

Actual Results:
Frame and content splits at 'to character' and undo causes text below to move up

Expected Results:
Same as ODT


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 93115d2c54d645bcf2f80fde325e3ede39dee4d5
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 1 Telesto 2021-11-01 15:21:57 UTC
Created attachment 176061 [details]
Example file
Comment 2 Dieter 2021-11-17 11:49:54 UTC
I confirm it with

Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community
Build ID: 7b8f630db30ee0066a9f4b6e540368d2fcad7fa8
CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL

Steps to Reproduce:
1. open the attached file
2. Select Frame -> Anchor is "to character" and placed at the first character
2. Save as DOCX -> Select Frame -> Anchor is "to character" and placed at the first character
3. File reload
4. select frame -> Anchor is "to character", but is now at end of the paragraph
5. Select "to character" again => Anchor is moving
6. Press undo

So I think main difference is, that there is something with the anchor after saving as docx.

Very similar to bug 135155
Comment 3 Dieter 2022-07-18 07:59:11 UTC
*** Bug 149814 has been marked as a duplicate of this bug. ***
Comment 4 Dieter 2022-07-18 08:02:33 UTC
Let's reduce the bug to split of frame and content. Problem with undo should be a separate bug and it might have been reported in bug 135383
=> I've changed bug summary

Biug is still present in

Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: ce29e6299932fc079b05b60662ba95c8342990bc
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL