Description: At the moment there is no way to listen (from the parent app embedding LibreOffice Online) for the 'cancel' event that occurs when the user clicks on 'cancel' for password protected files. Steps to Reproduce: 1. Open a password protected file. 2. Click 'cancel' when the password prompt appears. 3. Actual Results: There is no postMessage sent to the parent application (the one embedding LibreOffice Online). That means that there is no way of directly reacting to this event with an appropriate action (such as closing the file or asking the user to perform another operation). Expected Results: Send postMessage to the parent application to notify it that the user pressed 'Cancel'. Reproducible: Always User Profile Reset: No Additional Info:
Alexandru Vlăduţu committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/online/commit/c4adca997897cd4d6d72c5c5a0bb36deeda61b36 tdf#129979: loleaflet send postMessage on cancel for password protected files