<AWT Dev> [12] RFR 8213983: [macosx] Keyboard shortcut “cmd +`” stops working properly if popup window is displayed

Krishna Addepalli krishna.addepalli at oracle.com
Wed Nov 21 17:43:33 UTC 2018

Hi Dmitry,

While I understand that you donot want to order the windows when the popup window is present as a child of the root window, I did not understand, why you need to check if the total number of windows should be only one.
If I understand correctly, if a modal dialog/any other child window has a ComboBox component in it, then PopupMenu will be an additional window, and the length may not necessarily be equal to one.


> On 21-Nov-2018, at 10:10 PM, Dmitry Markov <dmitry.markov at oracle.com> wrote:
> Hello,
> Could you review a fix for jdk12, please?
>  	bug: https://bugs.openjdk.java.net/browse/JDK-8213983 <https://bugs.openjdk.java.net/browse/JDK-8213983>
>  	webrev: http://cr.openjdk.java.net/~dmarkov/8213983/webrev.00/ <http://cr.openjdk.java.net/~dmarkov/8213983/webrev.00/>
> On OS X the keyboard shortcut “cmd +`” stops working properly if a popup window is displayed. That behaviour is caused by window ordering operation. However it is really unnecessary to perform ordering for popup windows because they are located at another window level, (i.e. NSPopUpMenuWindowLevel) and always placed above their parents.
> Thanks,
> Dmitry 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20181121/a7d6dbd2/attachment.html>

More information about the awt-dev mailing list