I am creating a new text document in Writer. The default font is Liberation Serif, the size is 12pt. I am changing theese for example to Arial, 9pt. The "save" icon changes with red dot. I am saving the document as Test.docx. Closing it and open it again.
The font is back to Liberation Serif, 12pt. When I expect it to be like saved one with Arial, 9pt. All this happens without typing any text.
If you ask me why I am saving a file without text, it is just an example. The real scenario is by making a blank specific table, for my colleagues, which should be saved as .docx.
Steps to Reproduce:
1. Create new text document.
2. Change the font type and size.
3. Save the new document as .docx file.
4. Close the file and open it again.
The changed font type and size are not saved. The default ones are back.
The saved font type and size should be used instead.
User Profile Reset: No
Build ID: 20(Build:2)
CPU threads: 4; OS: Linux 5.17; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Repro using Version: 220.127.116.11 (x64) / LibreOffice Community
Build ID: 13668373362b52f6e3ebcaaecb031bd59a3ac66b
CPU threads: 12; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL Jumbo
and using LibreOffice 3.3.0
Indeed, it is not inherited from OOo, since it was never possible to save to DOCX there.
Also reproducible if you save such a document to ODT, and then convert to DOCX.
Works file with DOC.
Also note that the DOCX saved this way opens in MS Word just fine, having the Arial 9 font. Also: creating such a file from scratch in MS Word (with TNR 12 by default), saving and reloading in Word to make sure it keeps the Arial 9, then opening in LibreOffice shows that the font is TNR 12.
So likely an import filter issue.