<AWT Dev> Subject: <AWT dev>[11] Review request for JDK-8208125: Cannot input text into JOptionPane Text Input Dialog
Manajit Halder
manajit.halder at oracle.com
Fri Aug 3 11:23:46 UTC 2018
Hi All,
Please review the fix for JDK11.
Bug:
https://bugs.openjdk.java.net/browse/JDK-8208125
<https://bugs.openjdk.java.net/browse/JDK-8208125>
Webrev:
http://cr.openjdk.java.net/~mhalder/8208125/webrev.00/
<http://cr.openjdk.java.net/%7Emhalder/8208125/webrev.00/>
Issue:
This issue and JDK-8208127 was caused due to regression caused by
fix for the issue JDK-8204860.
Fix:
I had a relook at the original issue fixed on Windows OS
(JDK-4980161 <https://bugs.openjdk.java.net/browse/JDK-4980161>) and
found that the fixes proposed by my earlier fixes were wrong w.r.t to
the behaviour on Windows and Ubuntu. The issue (JDK-4980161) on Windows
was that “non-focusable maximized frame was resizable” but a focusable
maximized frame was already non-resizable (working as expected).
Please read the problem description of issue JDK-4980161: which says
“Typically a maximized frame is not supposed to be resizable.”
I verified the behaviour on Windows and Ubuntu and found that a
maximized Frame (frame.setExtendedState(Frame.MAXIMIZED_BOTH)) is not
resizable irrespective of Frame’s focusable behaviour. On Mac OS this
behaviour is not implemented i.e. the problem is “maximized frame is
resizable”.
So the problem which needs to fixed on Mac OS is “Maximized frame should
not be resizable irrespective of its focusability”
Therefor I have reverted my changes to the original state (before fix of
issue JDK-7158623 <https://bugs.openjdk.java.net/browse/JDK-7158623>)
and propose to fix the problem on Mac by creating a new issue.
Regards,
Manajit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20180803/e2de9fe3/attachment.html>
More information about the awt-dev
mailing list