Bug 129979 - LibreOffice Online feature request: send postMessage when user clicks cancel on password protected files
Summary: LibreOffice Online feature request: send postMessage when user clicks cancel ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice Online
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard: target:6.5.0
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-13 11:48 UTC by Alexandru Vladutu
Modified: 2020-02-22 02:46 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Vladutu 2020-01-13 11:48:22 UTC
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:
Comment 1 Commit Notification 2020-01-16 16:28:29 UTC
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