Steps to Reproduce: 1. Create a document in Writer 2. Save to DOCX, select the option to password protect and add the option to make this read-only with an additional password for editing. 3. Enter and confirm your passwords and save the file. 4. Reopen the file, and you will see that file opens read-only. Experienced - both in LO and MSO: Edit-Edit mode can be set without password Expected: Edit-Edit mode asks for password in LO, file opens with password dialog in MSO. This is filesave DOCX report similar to bug 89385 for DOC. Note that DOC behavior is different, Edit mode doesn't work at all, file stays RO. Note that filesave to XLSX was fixed in bug 118938 and that XLS works. Fileopen of MSO created pass protected files is in bug 89383.
Confirming with Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: c7b5e6566d9b24a0a996c739a945004d9aadee2f CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: en-US Calc: CL
Created attachment 174918 [details] Example read-writer protected text document odt
Created attachment 174919 [details] Same file saved to docx with the same passwords Opening this file requests the opening password, but Edit - Edit Mode does not
Created attachment 174920 [details] The odt asks for the edit password I can't really make a screenshot about the docx file, as it does not shows this dialog when Edit - Edit mode is chosen.
When LO 3.3 started saving as DOCX, it couldn't save with password. Later password was enabled, but read-only password didn't work and document was open in edit mode, seen with LO 4.2. Later document would open as read-only, but again not correct, because edit mode could be set without pass.
Tünde Tóth committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/1b53c1dfc76f08ca7df40a0673aa50eca700d072 tdf#144374 DOCX: export the password for editing It will be available in 7.3.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.
Verified in: Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 73334560b2dd2d60ac58d2cc2b1a5295490b03e1 CPU threads: 4; OS: Windows 10.0 Build 19042; UI render: default; VCL: win Locale: hu-HU (hu_HU); UI: hu-HU Calc: threaded