Description: I would like to export a Writer document as PDF and set a password protection for the PDF file. But the "security" page of the PDF export options dialog is disabled (grayed out). I can click on the tab but everything is disabled. I guess that this is a wanted behaviour because the password protection cannot be set for some reason. But LibreOffice should at least display a message to tell me what is wrong so I can fix it. Steps to Reproduce: 1. Use Writer or Calc to open a LibreOffice document or start with an empty document. 2. Go to File / Export as / PDF export 3. Go to the "Security" tab Actual Results: No password can be set, the whole page is disabled (grayed out). No message is shown to tell me what is wrong. Expected Results: I should be able to set up a password protection or at least LibreOffice should show a message to tell me why I cannot do so. Reproducible: Always User Profile Reset: No Additional Info: It used to work in the past. I don't know what changed.
Initially, there's no password defined so the quoted options are disabled since there's no restriction at all. So you must first define a "permission password". To do this, click on "Set Passwords..." button, then you'll see that the quoted options are enable.
Created attachment 188481 [details] screenshot
Thank you for the reply. But the "Set Passwords..." button is disabled as well (see screenshot).
Created attachment 188482 [details] proposed change (1)
Created attachment 188483 [details] proposed change (2) or a combination of both suggestions
Oh.. Now I see the message I was looking for is right in the screenshot I posted (-> no encryption because of PDF/A). But the message is grayed out so it never appeared to me it could contain useful information. I will reduce the importance of this bug report to "enhancement". I suggest to enhance the message to make it more visible. Two suggestions are in the modified screenshots.
(In reply to Henrik Gebauer from comment #6) > Oh.. Now I see the message I was looking for is right in the screenshot I > posted (-> no encryption because of PDF/A). But the message is grayed out so > it never appeared to me it could contain useful information. > > I will reduce the importance of this bug report to "enhancement". > > I suggest to enhance the message to make it more visible. Two suggestions > are in the modified screenshots. It seems reasonable to me. Heiko/Xisco: any opinion here?
I think it's enough to keep the label sensitive. Patch at https://gerrit.libreoffice.org/c/core/+/154712
Heiko Tietze committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/07a06e40400f3713619cb456d62d4bb952e85436 Resolves tdf#156337 - Keep warning label enabled on PDF security tab 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.