Bug 146334

Summary: Rich text content control not imported after checkbox content control
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: VERIFIED FIXED    
Severity: normal CC: aron.budea, dgp-mail, vasily.melenchuk, vmiklos
Priority: medium Keywords: implementationError
Version: 7.4.0.0 alpha0+   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=130565
https://bugs.documentfoundation.org/show_bug.cgi?id=148150
Whiteboard: target:7.5.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 113363    
Attachments: Example file from Word2013
The example file in Word 2013 and current master side by side

Description Gabor Kelemen (allotropia) 2021-12-20 13:05:03 UTC
Created attachment 177036 [details]
Example file from Word2013

This is split from bug 130565 and its example file attachment 172604 [details]

When a Word Rich text content control is following a non-supported checkbox content control, then it is not imported as a field, unlike a Rich text content control before the checkbox, which is now imported as a field.

1, Open attached document
2, The first Rich text content control is imported as a field.
3, The second Rich text content control is imported as plain text. 
This should be a field as well.

Version: 7.4.0.0.alpha0+ (x86) / LibreOffice Community
Build ID: 40487d9c81c69c4e5ee1621e53c8162ae33c80b2
CPU threads: 13; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded
Comment 1 Gabor Kelemen (allotropia) 2021-12-20 13:05:29 UTC
Created attachment 177038 [details]
The example file in Word 2013 and current master side by side
Comment 2 Dieter 2022-01-04 07:46:53 UTC
I confirm it with

Version: 7.4.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: 9c95415de877af1430ab5b7123e11dedd0ea622c
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
Comment 3 Gabor Kelemen (allotropia) 2022-06-30 23:04:51 UTC
This one is imported correctly since:

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

author	Miklos Vajna <vmiklos@collabora.com>	2022-04-29 08:12:25 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	2022-04-29 09:03:01 +0200
commit c53d3a1f4b8430507d54f5fac336870df7a700af (patch)

sw content controls, checkbox: add DOCX import

Thanks Miklos!
Comment 4 Dieter 2022-08-12 13:16:13 UTC
VERIFIED with

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