Bug 138699 - FILESAVE: DOCX: Drop-Down Form Field bookmark data is lost on save
Summary: FILESAVE: DOCX: Drop-Down Form Field bookmark data is lost on save
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.2 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:doc, filter:docx
Depends on:
Blocks: DOCX-Fields
  Show dependency treegraph
 
Reported: 2020-12-06 20:31 UTC by Valo Sorsa
Modified: 2023-06-08 00:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
DOC file (23.50 KB, application/msword)
2020-12-06 20:31 UTC, Valo Sorsa
Details
DOCX file (10.65 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-12-07 18:13 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Valo Sorsa 2020-12-06 20:31:43 UTC
Created attachment 167885 [details]
DOC file

1. Open a .doc or .docx document containing certain field bookmarks in Writer
2. Save the document as .docx
3. Open the document in Microsoft Word
4. Field bookmark data is replaced by __Fieldmark__4_35744 and __Fieldmark__5_35744 or similar

Most field bookmarks I tested save correctly when saving to docx format. I have attached a file with the problem ones included.

Tested LibreOffice versions:

Version: 6.1.5.2
Build ID: 1:6.1.5-3+deb10u6
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc: group threaded

Version: 6.4.7.2
Build ID: 639b8ac485750d5696d7590a72ef1b496725cfb5
CPU threads: 2; OS: Mac OS X 10.10.5; UI render: default; VCL: osx; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

Version: 7.0.3.1
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Flatpak
Calc: threaded

Version: 7.1.0.0.beta1 (x64)
Build ID: 828a45a14a0b954e0e539f5a9a10ca31c81d8f53
CPU threads: 2; OS: Windows 6.3 Build 9600; UI render: Skia/Vulkan; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: CL
Comment 1 Xisco Faulí 2020-12-07 18:12:42 UTC
Reproduced in

Version: 7.2.0.0.alpha0+
Build ID: 84af20ef3ea72190784e9e7be820684c2558ba8c
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 2 Xisco Faulí 2020-12-07 18:13:45 UTC
Created attachment 167911 [details]
DOCX file

also reproduced if the original DOC file is converted to DOCX with MSO Word 2010
Comment 3 Xisco Faulí 2020-12-07 18:15:07 UTC
Also reproduced in

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 5.7; Render: default;
Comment 4 Valo Sorsa 2020-12-12 18:38:05 UTC
I noticed that the issue only affects "Drop-Down Forms" (at least from the options available in Excel 2003), so I've updated the bug summary to reflect that.
Comment 5 Justin L 2023-06-08 00:46:41 UTC
repro 7.6 (I think). There is no bookmark name seen in MSO when opening up the field dialog. It should be "field1" and "field2".