Bug 146334 - Rich text content control not imported after checkbox content control
Summary: Rich text content control not imported after checkbox content control
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.5.0
Keywords: implementationError
Depends on:
Blocks: DOCX-Content_Control
  Show dependency treegraph
 
Reported: 2021-12-20 13:05 UTC by Gabor Kelemen (allotropia)
Modified: 2022-08-12 13:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Word2013 (17.49 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2021-12-20 13:05 UTC, Gabor Kelemen (allotropia)
Details
The example file in Word 2013 and current master side by side (76.39 KB, image/png)
2021-12-20 13:05 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
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