Bug 114832 - Filesave: "File name without Extension" and "Path" Fields saved as DOCX open as "File name" in Writer while correctly shown in Word
Summary: Filesave: "File name without Extension" and "Path" Fields saved as DOCX open ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: DOCX-Fields
  Show dependency treegraph
 
Reported: 2018-01-04 10:25 UTC by Timur
Modified: 2022-11-27 03:37 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Example odt with the file name fields (8.87 KB, application/vnd.oasis.opendocument.text)
2020-11-26 15:49 UTC, NISZ LibreOffice Team
Details
The example odt saved to docx (4.44 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-11-26 15:49 UTC, NISZ LibreOffice Team
Details
The example odt and docx side by side in Writer (65.89 KB, image/png)
2020-11-26 15:56 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Timur 2018-01-04 10:25:55 UTC
This is DOCX bug for issue described in Bug 108459 which is for DOC.

Steps to reproduce: 
1. Open new file in writer 
2. "Insert | Field | More Fields : file name, file name without extension, path, path/file name
3. Save file in *.docx format and close 
4. Open same file in MSO Word and LO Writer 
Experienced: "File name" and "path/file name" fields saved by LO in DOCX open fine with LO while "file name without extension" and "path" don't. All 4 fields from that LO created DOCX open fine in MSO.
Expected: All 4 fields shown properly when open again with LO Writer.
Comment 1 Thomas Lendo 2018-01-10 21:23:46 UTC
Confirmed with Version: 6.1.0.0.alpha0+
Build-ID: acb43c0b8efbfb841e7b40603d75a8432eb21f21
CPU-Threads: 4; BS: Linux 4.10; UI-Render: Standard; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2018-01-09_01:20:44
Gebietsschema: de-DE (de_DE.UTF-8); Calc: group threaded
Comment 2 QA Administrators 2019-01-11 03:54:03 UTC Comment hidden (obsolete)
Comment 3 NISZ LibreOffice Team 2020-11-26 15:49:21 UTC
Created attachment 167592 [details]
Example odt with the file name fields
Comment 4 NISZ LibreOffice Team 2020-11-26 15:49:49 UTC
Created attachment 167593 [details]
The example odt saved to docx
Comment 5 NISZ LibreOffice Team 2020-11-26 15:56:31 UTC
Created attachment 167594 [details]
The example odt and docx side by side in Writer

The Path and File name without extension fields are exported incorrectly, as "File name" fields.

Looking at it in Word it seems there is only a File name field which may contain the path - and these two work fine.

However if there are no equivalents for "Path" and "File name without extension" fields", it will be difficult to export those either to doc or docx.
Comment 6 Timur 2020-11-26 16:38:12 UTC
Thanks for comparison. Filesave should always open both in LO and MSO, though. 
I cannot retest now, but I wrote before that all opens fine in MSO.
Comment 7 QA Administrators 2022-11-27 03:37:57 UTC
Dear Timur,

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