Created attachment 200581 [details] Initial example file When the "Remove personal information on saving option" in the Security settings is enabled, the Total editing time is zeroed out - among other things like Template name and Revision number (as mentioned in bug 88121). It would be in some cases useful to have a separate option to remove only this bit of personal data, while keeping the Template name info around. 1. Open attached file 2. Go to File - Properties -> Total editing time is not 00:00:00 3. Go to Options - Security - click Options button - Check Remove personal information on saving 4. Save the file, reload, or open the second attacheent 5. Go to File - Properties -> Total editing time is 00:00:00, but also the Template name and Revision number is empty. Ideally there would be a config key (see ooO.Common.Security.Scripting) with that removal of this property would be controllable even if all the other personal info is to be kept. Version: 25.8.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 492c94abe05e5ac213475cdd85f158b7a462f824 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: hu-HU (hu_HU.UTF-8); UI: en-US Calc: threaded
Created attachment 200582 [details] The same file saved with Remove personal information enabled
Created attachment 200583 [details] The File - Properties dialog of the first file with all personal info visible
Created attachment 200584 [details] Settings to remove personal info, but keep everything that is supported to be kept
Created attachment 200585 [details] The File - Properties dialog of the second file with Total editing time purged, but too much other info as well
Balazs Varga committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/e275a6e6a08d1e53e5e921a701586c894d07ab2f tdf#166379 - Add export config option to remove "Total editing time" It will be available in 25.8.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.
Thanks for this enhancement, it enables the compliance with rules of law in professional environments with the expert options switched true (e.g. with a XCD file in the registry folder). One question with that: I observed with switched to true, that also the user name and surename in the tag Changed after the time stamp is gone, see my attached PNG red marked. Was this intended? The other security options are switched off, so user information should all be saved with the document, but one part is missing with that.
Created attachment 200725 [details] Missing user name in tag Changed with switched on this new option for working time
Reopened, see my comments
(In reply to riesslibo from comment #8) > Reopened, see my comments Thanks for testing this enhancement. Is not it possible that the "Modified": user name and surename is disappearing because in the Tools --> Options --> LibreOffice --> User Data --> First/last name is empty? For me even before this enhancement the "Modified": user name and surename is disappeared if the Tools --> Options --> LibreOffice --> User Data --> First/last name was empty. If I have set a name in the Tools --> Options --> LibreOffice --> User Data --> First/last name the modified name at the Document properties will be overwritten with that name. If the Tools --> Options --> LibreOffice --> User Data --> First/last name was empty then the modified name at the Document properties will be also empty even if the new RemoveEditingTimeOnSaving is true or false. But if I am wrong can you share some additional info, please, about how could you reproduce this issue with the Tools --> Options --> LibreOffice --> User Data --> First/last name is not empty? Thanks a lot.
(In reply to Balázs Varga (allotropia) from comment #9) > (In reply to riesslibo from comment #8) > > Reopened, see my comments > > Thanks for testing this enhancement. Is not it possible that the "Modified": > user name and surename is disappearing because in the Tools --> Options --> > LibreOffice --> User Data --> First/last name is empty? > > For me even before this enhancement the "Modified": user name and surename > is disappeared if the Tools --> Options --> LibreOffice --> User Data --> > First/last name was empty. > > If I have set a name in the Tools --> Options --> LibreOffice --> User Data > --> First/last name the modified name at the Document properties will be > overwritten with that name. If the Tools --> Options --> LibreOffice --> > User Data --> First/last name was empty then the modified name at the > Document properties will be also empty even if the new > RemoveEditingTimeOnSaving is true or false. > > But if I am wrong can you share some additional info, please, about how > could you reproduce this issue with the Tools --> Options --> LibreOffice > --> User Data --> First/last name is not empty? Thanks a lot. Grmph, my fault, sorry, I installed the actual Dev Version and did not realise, that this is installed with an own vanilla userr profile and not using the one of my productive version. So, added a name and surename there, it is uses as expected. Sorry again for the noise, everything is fine, thanks. With that I will close it again.