Bug 140324 - Frame and content split after undo of as character to 'to character' (previously already on file open) ODT (copy/paste from DOCX)
Summary: Frame and content split after undo of as character to 'to character' (previo...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.2.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Shape-Textbox
  Show dependency treegraph
 
Reported: 2021-02-10 20:24 UTC by Telesto
Modified: 2021-09-17 07:01 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file (74.83 KB, application/vnd.oasis.opendocument.text)
2021-02-10 20:25 UTC, Telesto
Details
Screenshot of the example file upon opening (103.26 KB, image/png)
2021-04-23 12:19 UTC, NISZ LibreOffice Team
Details
The example file after changing the anchor "As character" -> "To Character" (105.49 KB, image/png)
2021-04-23 12:20 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-02-10 20:24:13 UTC
Description:
Frame and content split after undo (previously already on file open)

Steps to Reproduce:
1. Open the attached file
2. Select the image frame
3. Change the anchor from as character 'to to character
4. undo

Actual Results:
Split

Expected Results:
Not split


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 3ed9bba283a6a67864c0928186e277240be0d9ba
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-02-10 20:25:03 UTC
Created attachment 169658 [details]
Example file
Comment 2 pavlog 2021-03-07 17:35:43 UTC
Can't confirm it in 

Version: 7.2.0.0.alpha0+ (x64)
Build ID: ecb916667b633f8647790e040226b093760e6cfe
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL
Comment 3 NISZ LibreOffice Team 2021-04-23 12:19:05 UTC
Created attachment 171369 [details]
Screenshot of the example file upon opening

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: db1cf111666847ce5ce93d18ae5ae8c29a4c44d6
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 4 NISZ LibreOffice Team 2021-04-23 12:20:49 UTC
Created attachment 171370 [details]
The example file after changing the anchor "As character" -> "To Character"

Only the first changing of the anchor causes a split now after:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=cb965f2cf6d68c284ccbd8a9635abfdfcc0538ca

tdf#141550 tdf#141557 tdf#140975 sw: fix textbox crash

Before this undo caused a split, but not anymore.
Comment 5 NISZ LibreOffice Team 2021-04-23 12:22:06 UTC
Confirming, but this behavior is pretty much the same as documented in https://bugs.documentfoundation.org/show_bug.cgi?id=140208#c5
Comment 6 NISZ LibreOffice Team 2021-09-17 07:01:32 UTC
Thinking a bit more about this, we can close this bug.

The undo part is fixed, for the anchor change we have several others like bug 143143