Bug 143143 - Frame & content falls apart after changing anchor from as character to to character
Summary: Frame & content falls apart after changing anchor from as character to to cha...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0 alpha1+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
: 144223 (view as bug list)
Depends on:
Blocks: DOCX-Textbox
  Show dependency treegraph
 
Reported: 2021-07-01 07:16 UTC by Telesto
Modified: 2021-09-17 07:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Bibisect log (2.90 KB, text/plain)
2021-07-01 15:09 UTC, Telesto
Details
The document before changing it in Writer (72.71 KB, image/png)
2021-07-07 06:28 UTC, NISZ LibreOffice Team
Details
The document after changing anchoring "To character" (104.43 KB, image/png)
2021-07-07 06:31 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2021-07-01 07:16:41 UTC
Description:
Frame & content falls apart after changing anchor from as character to to character (full content disappears after setting it back as character)

Steps to Reproduce:
1. Open attachment 173293 [details] (bug 143136 )
2. Change anchor to 'to character' (frame & image falls apart)

Related or different bug (as this also affecting 7.1)
3. Change the anchor back to as character and document appears empty

Actual Results:
Frame & image falls apart. And turning it back causes empty document (with 7.3)

Expected Results:
Working as expected


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: c38d0d501f5eca648bdf0fd2914b57e06f505f7e
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

Step 2 working fine in 7.1
Comment 1 Telesto 2021-07-01 15:09:42 UTC
Created attachment 173307 [details]
Bibisect log

Bisected to
author	Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>	2021-02-22 14:28:59 +0100
committer	László Németh <nemeth@numbertext.org>	2021-03-01 16:04:05 +0100
commit	493a916a3113e877835c9bc7c93faef0d29f9a33 (patch)
tree	a0a35dbc7bdc5dbb6df2c4cb71a245c8b5f45c7e
parent	13f53741dabc33c5ac12ae26538a2803c6ba1073 (diff)
tdf#140158 tdf#138598 tdf#140598 sw: fix sync of AS_CHAR textboxes
Textboxes anchored "As Character" fell apart, when
typing before some characters or inserting a page break.

By fixing that, the tdf#138598 bug also have fixed which
was a regression from commit b6850bbe95418ecfde404be1696548f18d200c9b
(tdf#106153 sw compatibility: fix textboxes exceeding the page).

In addition, tdf140598 is also fixed, which was
a regression from commit c96c386c5db45dc4d5e358915caad7474e373068
(tdf#136516 add positioning to SwTextBoxHelper::syncProperty()).

https://cgit.freedesktop.org/libreoffice/core/commit/?id=493a916a3113e877835c9bc7c93faef0d29f9a33
Comment 2 NISZ LibreOffice Team 2021-07-07 06:28:25 UTC
Created attachment 173403 [details]
The document before changing it in Writer
Comment 3 NISZ LibreOffice Team 2021-07-07 06:31:18 UTC
Created attachment 173404 [details]
The document after changing anchoring "To character"

Confirming with yesterdays nightly:

Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bd2f2273d83dcca43eb6b465308707efd45e7adf
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: CL

Indeed it started with the bibisected commit.

Also you don't have to save the document, just change the anchor and it falls apart.
Comment 4 NISZ LibreOffice Team 2021-07-07 06:32:05 UTC
Adding CC to: Attila Bakos
Comment 5 NISZ LibreOffice Team 2021-09-06 14:02:40 UTC
*** Bug 144223 has been marked as a duplicate of this bug. ***
Comment 6 NISZ LibreOffice Team 2021-09-06 14:07:01 UTC
This one is very similar to the remaining problem in bug 140208