I have an ASP.NET web application on Windows which uses a registered protocol handler to open the Word application on the client computer. The user can then change the document and either send the changed document back to the server by means of the protocol handler, or discard the document.
This works perfectly fine in Chrome version 46.0.2490.71 if I use the mouse to click on the corresponding buttons on the webpage. However, if I Alt-Tab my way back from Word (which is opened in the foreground) to the browser and hit the ESC key for example (the equivalent of clicking discard) the protocol handler is not invoked. If I click anywhere on the webpage prior to hitting ESC it works.
My protocol handler application is registered under Windows as described here http://kb.mozillazine.org/Register_protocol
The invocation happens by means of setting the src attribute of an iframe element. This seems to happen correctly even in the keyboard handling use case; the protocol handler just isn't invoked!
Any suggestions why this is happening?
Thanks and regards, Sebastian