If an office fullscreen window gets started, it may be closed via close or ESC.
(Note with ESC issue #257 is also affected.)
If the windows gets closed via close, the popup closed immediately. If one clicks with the cursor on the right side of the window first (not in the iframe), and then hit esc, balloon asks if the file got already saved.
As office itself is listening to ESC in some cases (eg. marked text), it does not make sense to listen on ESCto close the document, while the focus is in Office itself.
Describe the bug
If an office fullscreen window gets started, it may be closed via close or ESC. (Note with ESC issue #257 is also affected.)
If the windows gets closed via close, the popup closed immediately. If one clicks with the cursor on the right side of the window first (not in the iframe), and then hit esc, balloon asks if the file got already saved.
To Reproduce
See above.
Expected behavior
Best: Check if the file got saved somehow or trigger save. Maybe this is possible via PostMessage: https://wopi.readthedocs.io/en/latest/scenarios/postmessage.html
Environment
Additional context
Add any other context about the problem here.