Bug 159130 - Add option to remove personal information from documents at runtime
Summary: Add option to remove personal information from documents at runtime
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
Whiteboard: QA:needsComment
Depends on:
Blocks: Privacy
  Show dependency treegraph
Reported: 2024-01-11 13:06 UTC by Gabor Kelemen (allotropia)
Modified: 2024-01-26 03:14 UTC (History)
0 users

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2024-01-11 13:06:10 UTC
This is a followup to bug 157484

It is possible to fine tune what sort of personal information to remove at save time, but it can be useful to do the same at runtime in the document, similarly to how the Inspect Document dialog works in MSO (minus the inspection part). 

1. Open attachment 189853 [details] from bug 157482
2. Open Tools - Options - Security - Options
3. Check the "Remove Personal information on saving" box, close the dialogs
3. Save the file as another name, reopen
-> The personal informations such as the comments or the tracked changes author, date are removed.

Doing the same should be possible at runtime in a separate dialog.
First idea was to add this to the infobar that is visible when there are security warnings enabled (see attachment 190296 [details]) and the user tries to print/PDF export/save/digitally sign the file. So that there would be two buttons on the infobar, one to change the warning settings (see also bug 159128) and this one to instantly clean them.

Another possible place could be the File - Properties dialog where there is a "Reset Properties" button to clean the file level metadata. 
Changing it to "Clear personal information" and popup the dialog where the user can select what to clean.
Note: by my understanding "Reset Properties" button can remove the same file level metadata as the "Remove Personal information on saving" -> Document user information option, so there is already similar functionality.

I think just extending the "Reset Properties" button to "do more" and not give any details/choices about what is happening is not desirable, as that would not be educative towards the users about just what sort of personal metadata is created in a document/spreadsheet/presentation.

The dialog could offer with checkboxes to remove the same things from the document that are listed below the "Remove Personal information on saving" button (track changes, document user info, notes info, document version info), but without saving it at the same time.

Version: (X86_64) / LibreOffice Community
Build ID: 25276df12abd9d002f7f899900434617b256f745
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (hu_HU); UI: de-DE
Calc: threaded