Bug 148883 - FILESAVE Record Changes setting not saved into FODT
Summary: FILESAVE Record Changes setting not saved into FODT
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Track-Changes ODF-Flat
  Show dependency treegraph
 
Reported: 2022-05-02 07:14 UTC by Aron Budea
Modified: 2024-08-19 10:01 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2022-05-02 07:14:24 UTC
In a new document, enable Edit -> Track Changes -> Record, save it as FODT, and reload.

=> Record changes is disabled.
This is fine when using ODT format.

Observed in LO 7.4.0.0.alpha0+ (8279d89d6e037def78f50c72fab2116ca56bef52), 3.3.0 / Ubuntu.

The setting is supposed to be stored in the XML as follows (taken from ODT):
<office:body>
    <office:text>
      <text:tracked-changes text:track-changes="true"/>

This is missing from the FODT, however if this last line is added manually, the setting is imported correctly, thus it's a FILESAVE issue.

The relevant code that disables the setting seems to be here:
https://opengrok.libreoffice.org/xref/core/sw/source/filter/xml/xmlexp.cxx?r=84213a42#283
Added in a 2001 commit:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=6af264883910fe31433b4164b1956f4f9ed75ecb
Comment 1 Sophie Sipasseuth 2024-08-19 08:58:55 UTC
No repro with this version of LibreOffice:

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: cd4498d32867af26e95de84836b724b4f85ba1b0
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); UI: en-US
Calc: threaded
Comment 2 Aron Budea 2024-08-19 10:01:01 UTC
I can still reproduce with LO 25.2.0.0.alpha0+ (1565181908a06dcdb8d97d6be8ff773acd1d05cb) / Linux.
Please confirm you actually saved the file to FODT format.