Created attachment 174339 [details] Example file from Writer with italic text This is a followup to bug 50447 Now the previously existing formatting can be restored by rejecting tracked character format changes, but this information is not saved to ODT file format and it’s not read from it. Steps to reproduce: 1. Open attached file. It contains two paragraphs with the second having a word with italic formatting and change tracking enabled 2. Highlight the “Hello” word, enable italic formatting on it 3. Highlight the “Hello2” word, disable italic formatting on it 4. Reject all changes. “Hello” is no more italic, “Hello2” is italic again. 5. Undo the rejecting 6. Save as ODT, reload 7. Reject all changes. Actual results: “Hello2” is not italic anymore. Expected results: Saving to ODT should retain the formatting state of the characters before the tracked changes. These information also should be read back. LibreOffice details: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: dd3ab0fd737ff84657ff34eebafe2628f489e5a1 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL Additional Information: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: dd3ab0fd737ff84657ff34eebafe2628f489e5a1 CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL
Created attachment 174341 [details] The original file saved by Writer after changing the italic formatting
Created attachment 174342 [details] Screenshot of the original and exported document side by side in Writer after rejecting the changes
repro 24.2+