Reloading a .docx file with empty Table of Contents makes it go away and introduce a new, stange-named style.
Steps to Reproduce:
1. Create empty document
2. "Insert" -> "Table of Contents and Index" -> "Table of Contents, Index or Bibliography"
3. In the dialogue press "OK" to create a Table of Contents.
4. Save the file as "Word 2007-2019 (.docx)".
5. Close the document and open again.
1. The ToC is gone.
2. New "TOA Heading" style is added to the list of ToC styles.
1. ToC is still there, despite being empty.
2. New style is not created, but default "Contents Heading" style us used.
User Profile Reset: No
Expected results can be observed when saving to .odt instead of .docx.
Build ID: d6e8e41c22023bc15cc4c9659b33c1cc3d6edb75
CPU threads: 4; OS: Windows 6.1; UI render: default; VCL: win;
TinderBox: Win-x86@42, Branch:master, Time: 2019-05-05_23:45:44
Locale: ru-RU (ru_RU); UI-Language: en-US
Looks like ToC never was saved OK so I'll put Inherited.
New "TOA Heading" style was added later.
But this is special case so I'll mark minor.
Created attachment 167676 [details]
Example file to reproduce the problem
Still present in:
Version: 22.214.171.124.alpha0+ (x64)
Build ID: f7e2f5bca938aa916830e07895d2da6820282055
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: en-US (hu_HU); UI: en-US
Adding a new paragraph with Heading 1 style and updating the TOC in odt puts the new paragraph into the TOC but this is not possible if this file was saved as docx.
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!
Still present in 126.96.36.199