Bug 157484

Summary: Add UI to control personal information to be removed upon save
Product: LibreOffice Reporter: Gabor Kelemen (allotropia) <kelemeng>
Component: UIAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: RESOLVED FIXED    
Severity: enhancement CC: balazs.varga991, heiko.tietze
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=157482
https://bugs.documentfoundation.org/show_bug.cgi?id=156336
https://bugs.documentfoundation.org/show_bug.cgi?id=159128
https://bugs.documentfoundation.org/show_bug.cgi?id=159130
Whiteboard: target:24.2.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 116885    
Attachments: The example file now sanitized
The proposed fix in action

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: 24.2.0.0.alpha0+ (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

https://gerrit.libreoffice.org/c/core/+/158112/2

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":

https://git.libreoffice.org/core/commit/9f9e195dbabe07244622924bf609ab4676f16993

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:
https://wiki.documentfoundation.org/Testing_Daily_Builds

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