Bug 143913 - FILESAVE Tracked character formatting change does not save previous formatting to ODT
Summary: FILESAVE Tracked character formatting change does not save previous formattin...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:odt
Depends on:
Blocks: Track-Changes-TextFormatting
  Show dependency treegraph
 
Reported: 2021-08-17 08:43 UTC by NISZ LibreOffice Team
Modified: 2023-08-25 14:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from Writer with italic text (8.52 KB, application/vnd.oasis.opendocument.text)
2021-08-17 08:43 UTC, NISZ LibreOffice Team
Details
The original file saved by Writer after changing the italic formatting (8.92 KB, application/vnd.oasis.opendocument.text)
2021-08-17 08:48 UTC, NISZ LibreOffice Team
Details
Screenshot of the original and exported document side by side in Writer after rejecting the changes (36.70 KB, image/png)
2021-08-17 08:48 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NISZ LibreOffice Team 2021-08-17 08:43:14 UTC
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
Comment 1 NISZ LibreOffice Team 2021-08-17 08:48:39 UTC
Created attachment 174341 [details]
The original file saved by Writer after changing the italic formatting
Comment 2 NISZ LibreOffice Team 2021-08-17 08:48:54 UTC
Created attachment 174342 [details]
Screenshot of the original and exported document side by side in Writer after rejecting the changes
Comment 3 Justin L 2023-08-25 14:06:09 UTC
repro 24.2+