<AWT Dev>  RFR 8130655: OS X: keyboard input in textfield is not possible if the window contained textfield is owned by EmbeddedFrame
dmitry.markov at oracle.com
Mon Jun 25 10:35:35 UTC 2018
Could you review a fix for jdk11, please?
On OS X platform a window does not receive keyboard input if it is owned by embedded frame. According to the current implementation “simple window” (not frame or dialog) is NOT natively focusable, (i.e. SHOULD_BECOME_KEY and SHOULD_BECOME_MAIN bits are not set for its native peer); embedded frame receives events from the embedder, (e.g. browser, etc.) but does not translate them to the its own child windows. So if “simple window” is owned by embedded frame it is impossible for the window to receive any key events.
Set SHOULD_BECOME_KEY and SHOULD_BECOME_MAIN bits for simple window which is owned by embedded frame.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the awt-dev