Bug 161942

Summary: Changed formatting in of comment boxes in a text document is not saved.
Product: LibreOffice Reporter: vena.cava <vena.cava>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: miguelangelrv
Priority: medium    
Version: 24.8.0.0 beta1+   
Hardware: x86-64 (AMD64)   
OS: Windows (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: it is a odt file, which demonstrates the bug

Description vena.cava@virgin.net 2024-07-07 20:00:16 UTC
Description:
Changed formatting in of comment boxes in a text document is not saved.

Steps to Reproduce:
1. Write some text in a text document.
2. Make one or more comment boxes.
3. Right click on a comment and use "format all comments"
4. Change the formatting. To test it, I simply changed the font size.
5. Save the document with the modified text formatting in the comment boxes.
6. Close the document.
7. Open the document from the saved file.
8. Examine the comment boxes for the formatting.  The original default formatting appears, and not the modified formatting. 

Actual Results:
see above

Expected Results:
I would expect the modified formatting of the comment boxes to be saved.


Reproducible: Always


User Profile Reset: No

Additional Info:
I have attached a text file with comment boxes, which can be used for testing.
The text if from the Wikipedia (commons copyright).
Comment 1 vena.cava@virgin.net 2024-07-07 20:02:24 UTC
Created attachment 195153 [details]
it is a odt file, which demonstrates the bug
Comment 2 m_a_riosv 2024-07-07 21:11:01 UTC
Reproducible, but saves if they are formatted one by one.

Version: 24.8.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 318462181c709ed29c01eb3239b4d600d7b82ecc
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded