Hi Semyon, Regression is cause by JDK-8080729 <https://bugs.openjdk.java.net/browse/JDK-8080729>. The fix can’t be reversed since it is the choice between addChildWindow or orderWindow. Went through code flow related to the issue but didn’t find any other better place in code to handle this issue. The best way to fix the issue would be to avoid retargeting of events (MOUSE_ENTER and MOUSE_EXIT) between MOUSE_PRESS and MOUSE_RELEASE on the parent window (when the mouse is actually on the child window). Therefore request you to review the webrev.00.
Regards, Manajit > On 08-Dec-2017, at 9:55 PM, semyon.sadet...@oracle.com wrote: > > Hi Manajit, > > Can you provide information which fix caused the regression? > > --Semyon > > On 12/8/17 5:53 AM, Manajit Halder wrote: >> Hi All, >> >> Kindly review the following Swing fix. >> >> Bug: https://bugs.openjdk.java.net/browse/JDK-8189253 >> <https://bugs.openjdk.java.net/browse/JDK-8189253> >> Webrev: http://cr.openjdk.java.net/~mhalder/8189253/webrev.00/ >> <http://cr.openjdk.java.net/%7Emhalder/8189253/webrev.00/> >> >> Cause: >> Issue was due to retargeting of mouse enter exit events. >> MOUSE_ENTER and MOUSE_EXIT events were sent on the parent window >> (JFrame) in between MOUSE_PRESS and MOUSE_RELEASE events on the modeless >> JDialog. >> >> Fix: >> Retargeting of events is not done in-between MOUSE_PRESS and >> MOUSE_RELEASE. >> >> Regards, >> Manajit >> >