Bug 153173 - DOC: "Remove personal information on saving" doesn't work with comments and track changes in doc-files
Summary: DOC: "Remove personal information on saving" doesn't work with comments and t...
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: DOC-Comments Privacy DOC-Track-Changes
  Show dependency treegraph
 
Reported: 2023-01-24 00:57 UTC by KevBurto
Modified: 2024-07-25 14:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
153173_security.doc: comment and track changes contain personal info (9.50 KB, application/msword)
2023-08-25 15:43 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KevBurto 2023-01-24 00:57:07 UTC
Description:
"Remove personal information on saving" (Prefs/LibreOffice/Security/Options) works with MS .docx documents, but not .doc documents.  This File/Properties/General/Reset Properties feature also has this problem.  In some cases saving a .doc document to .docx and then back to .doc will set the fake date and time (not yet fully characterized).

Steps to Reproduce:
1. Set Security option to "Remove personal information on saving".
2. Set "Track Changes" to "Record".
3. Make changes and/or add comments.
4. Save the file.
5. View dates and times of changes or comments.  

Actual Results:
The original dates and times are not replaced with 01/01/1970 00:00:00. 

Expected Results:
The original dates and times should be replaced with 01/01/1970 00:00:00. 


Reproducible: Always


User Profile Reset: No

Additional Info:
Remove personal information on saving

Select to always remove user data from file properties, comments and tracked changes. The names of authors in comments and changes will be replaced by generic values as "Author1", "Author2" and so forth. Time values will also be reset to a single standard value. If this option is not selected, you can still remove the personal information for the current document with the Reset Properties button on File - Properties - General.
Comment 1 KevBurto 2023-02-08 18:46:35 UTC
Do you need more information from me? "Remove personal information on saving" works for .docx files, but not for .doc files on my system.
Comment 2 Dieter 2023-02-09 07:17:49 UTC
Tested with

Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

All peronal information is deleted. "Created" entry add the date of the last save. That's the same behaviour with odt-files. For me this is the expected result. Why should it be replaced with 01/01/1970 00:00:00?
=> NEEDINFO
Comment 3 KevBurto 2023-02-09 19:20:53 UTC
By "personal information", I am referring specifically to the date and time attached to tracked changes and comments.  I am not concerned with the "Created" date in the file properties.  When "Remove Personal Information on Saving" is set in Preferences/LibreOffice/Security/Options, the date and time of changes and comments is set to 01/01/1970 00:00:00 when the document is saved as .odt or .docx . But if saved as .doc, the original date and time are displayed.  So this information is not being overwritten with a fake date and time when the document is saved in .doc format.  Please investigate this bug.  Thank you.
Comment 4 Dieter 2023-02-10 07:10:00 UTC
I confirm it with

Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: en-GB
Calc: CL threaded

Removing usser data doesn't work in doc-file for comments and track changes

Help says: "Select to always remove user data from file properties, comments and tracked changes. The names of authors in comments and changes will be replaced by generic values as "Author1", "Author2" and so forth. " [1]

[1] https://help.libreoffice.org/7.5/en-GB/text/shared/optionen/securityoptionsdialog.html?System=WIN&DbPAR=WRITER&HID=cui/ui/securityoptionsdialog/dialog-action_area1#bm_id201704161715484484
Comment 5 Justin L 2023-08-25 15:14:30 UTC
For DOCX, the removal of the name from comments and change tracking was done with LO 7.3 commit ded2452a52d21131347a0dc2e25c8161f20fcfad
Author: László Németh on Fri Jun 18 13:03:17 2021 +0200
    tdf#142902 DOCX export: remove personal info of comments and changes

Either that needs to be replicated for DOC/RTF, or else perhaps it can be generalized for all three.
Comment 6 Justin L 2023-08-25 15:43:47 UTC
Created attachment 189148 [details]
153173_security.doc: comment and track changes contain personal info

Steps to reproduce:
-open document. Notice the comment has an author (and so does change tracking)
-save as DOC and then DOCX and reload. Notice only DOCX changed to "author1".