Bug 81736 - Writer cannot import variable Ref fields from .doc (that are shown in wrong positin in .docx)
Summary: Writer cannot import variable Ref fields from .doc (that are shown in wrong p...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.5.2 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL: http://mpeg.chiariglione.org/sites/de...
Whiteboard:
Keywords: filter:doc
: 103952 (view as bug list)
Depends on:
Blocks: DOC-Fields
  Show dependency treegraph
 
Reported: 2014-07-25 09:15 UTC by Pablo Rodríguez
Modified: 2024-09-26 03:16 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
fields updated and displayed in Word 2003 (6.73 KB, image/png)
2014-07-25 10:59 UTC, Pablo Rodríguez
Details
fields updated and not displayed in current Writer nightly build (19.97 KB, image/png)
2014-07-25 11:00 UTC, Pablo Rodríguez
Details
minimal file that shows the issue (112.00 KB, application/msword)
2014-07-29 15:52 UTC, Pablo Rodríguez
Details
fields in Word in the bottom of page 1/3 (28.57 KB, image/webp)
2022-09-26 11:18 UTC, Timur
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pablo Rodríguez 2014-07-25 09:15:12 UTC
I have experienced this before with documents at work: LO Writer-4.2.5 cannot import comment fields from .doc (and possibly .docx) files.

http://mpeg.chiariglione.org/sites/default/files/files/standards/parts/docs/w14331.zip contains a file that shows the problem. The footer from page 1 doesn’t display data for the following fields:

   Document type:   
   Document subtype:   
   Document stage:   
   Document language:   

Sorry for my poor description, but I think this issue is a burden for converting quite a few documents in corporate environments.

Many thanks for your help,

Pablo
Comment 1 retired 2014-07-25 09:31:36 UTC Comment hidden (obsolete)
Comment 2 Pablo Rodríguez 2014-07-25 10:59:34 UTC
Created attachment 103439 [details]
fields updated and displayed in Word 2003
Comment 3 Pablo Rodríguez 2014-07-25 11:00:25 UTC
Created attachment 103441 [details]
fields updated and not displayed in current Writer nightly build
Comment 4 Pablo Rodríguez 2014-07-25 11:01:33 UTC Comment hidden (obsolete)
Comment 5 Pablo Rodríguez 2014-07-25 11:16:07 UTC
I have tested the file with libreoffice-4-3~2014-07-21_10.49.42_LibreOfficeDev_4.3.1.0.0_Linux_x86_rpm.tar.gz (current nigthly build) and removing my old user profile.

Although my previous report was too fuzzy, I’m afraid that the bug is legitimate.
Screeenshots attached for Word 2003 and Writer 4.3dev.

Updating fields is required in Word for them to be displayed (at least in Windows).

Updating fields in Writer (also with F9) displays no text. Ctrl+F9 displays field names only.
Comment 6 tommy27 2014-07-26 11:46:53 UTC Comment hidden (obsolete)
Comment 7 Pablo Rodríguez 2014-07-26 13:33:02 UTC Comment hidden (obsolete)
Comment 8 Robinson Tryon (qubit) 2014-07-26 22:25:17 UTC
(In reply to comment #0)
> I have experienced this before with documents at work: LO Writer-4.2.5
> cannot import comment fields from .doc (and possibly .docx) files.
> 
> http://mpeg.chiariglione.org/sites/default/files/files/standards/parts/docs/
> w14331.zip contains a file that shows the problem. The footer from page 1
> doesn’t display data for the following fields:
> 
>    Document type:   
>    Document subtype:   
>    Document stage:   
>    Document language:   

CONFIRMED on Ubuntu 12.04.4 + LO 4.3.0.3

The example file is kind of huge at 457 pages and 6.4MB. Would it be possible to chop down the example file to 1-2 pages and then upload it to Bugzilla?
Comment 9 Pablo Rodríguez 2014-07-27 20:27:35 UTC
(In reply to comment #8)
> The example file is kind of huge at 457 pages and 6.4MB. Would it be
> possible to chop down the example file to 1-2 pages and then upload it to
> Bugzilla?

As in comment #1, when displaying this file CPU goes to 100%, although this is not the issue of this bug report.

I don’t see any problem in removing anything except the footer from the first page, but I’m on Linux and I’m afraid I don’t have access to a computer with Windows right now.
Comment 10 Pablo Rodríguez 2014-07-29 15:52:18 UTC
Created attachment 103647 [details]
minimal file that shows the issue
Comment 11 Pablo Rodríguez 2015-06-10 21:23:31 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2016-09-20 10:00:51 UTC Comment hidden (obsolete)
Comment 13 Pablo Rodríguez 2016-09-20 19:44:12 UTC
Bug stays the same in LO-5.2.1.2 (Fedora 23).
Comment 14 Buovjaga 2016-11-24 10:29:29 UTC
*** Bug 103952 has been marked as a duplicate of this bug. ***
Comment 15 Timur 2018-01-04 16:22:08 UTC
There could be multiple issues here when opening DOC and DOCX:
- from attachment 103647 [details]: LO displays text "Set variable VariableName1 Set variable VariableName2..." that it shouldn't 
- from attachment 103647 [details]: LO displays text "Show variable VariableName1", "Show variable VariableName2..." instead of just variable names
- from simple test case with bookmark field references created in MS Word (both DOC or DOCX): LO shows "VariableName1" instead of defined variable name

Looks like w:instrText field: http://www.officeopenxml.com/WPfieldInstructions.php.
Comment 16 QA Administrators 2019-01-05 03:41:44 UTC Comment hidden (obsolete)
Comment 17 QA Administrators 2022-09-26 03:30:34 UTC Comment hidden (obsolete)
Comment 18 Timur 2022-09-26 11:18:21 UTC
Created attachment 182681 [details]
fields in Word in the bottom of page 1/3

Bug reproduced for .doc in LO 7.5. Fields are in the right position, but empty. 
.docx is shown differently, fields are empty in page 1 where they should be, but shown in page 2. 
Here is a screenshot from Word showing fields in the bottom of page 1/3.
Comment 19 QA Administrators 2024-09-26 03:16:36 UTC
Dear Pablo Rodríguez,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug