Bug 157484 - Add UI to control personal information to be removed upon save
Summary: Add UI to control personal information to be removed upon save
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Balázs Varga (allotropia)
Whiteboard: target:24.2.0
Depends on:
Blocks: Privacy
  Show dependency treegraph
Reported: 2023-09-28 09:28 UTC by Gabor Kelemen (allotropia)
Modified: 2024-01-15 15:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

The example file now sanitized (14.19 KB, application/vnd.oasis.opendocument.text)
2023-09-28 09:28 UTC, Gabor Kelemen (allotropia)
The proposed fix in action (208.83 KB, image/png)
2023-10-19 09:31 UTC, Gabor Kelemen (allotropia)

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-09-28 09:28:22 UTC
Created attachment 189860 [details]
The example file now sanitized

This is also continuation of bug 157482

In Options - Security - Security warnings / Options it is possible to remove personal information, but it's not obvious what are these.

The infobar requested in bug 157482 can be displayed both for hidden and for personal information. In this way, the user receives a hint without significantly disrupting the workflow. A button on the banner could additionally open a dialog in which individual pieces of information can be removed.

1. Go to Options - Security
2. Press Options button on top
3. Select Remove personal information on saving
4. Open attachment 189853 [details]
5. Save as another odt, reload
-> Personal information such as File - Properties, tracked changes, note author, File - Versions are gone, but there is no way to have control over which of these are deleted and if some needs to be kept.

Version: (X86_64) / LibreOffice Community
Build ID: d43e2a9214c0d06465a3027231948760e65ad4ee
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded
Comment 1 Heiko Tietze 2023-10-04 09:05:23 UTC
Duplicates/depends on bug 157482
Comment 2 Gabor Kelemen (allotropia) 2023-10-19 09:31:27 UTC
Created attachment 190296 [details]
The proposed fix in action


looks like this:
- the Remove personal information box is by default off, but got new sub-options
- where the user can see in detail what is this removing, and opt out from each options (by default off)
- when the warnings upon save/print/PDF export are enabled, the button on the infobar opens the generic Options - Security tab. Unfortunately not the more relevant Security Options and Warnings dialog. That could be a followup improvement.
Comment 3 Commit Notification 2023-10-19 12:16:41 UTC
Balazs Varga committed a patch related to this issue.
It has been pushed to "master":


tdf#157484 UI: Add UI controls for personal information to be kept

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.