Yes, other L&F does not have this bug as confirmed by updated test
testing all installed L&Fs
http://cr.openjdk.java.net/~psadhukhan/8213123/webrev.1/
Regards
Prasanta
On 09-Apr-20 2:08 AM, Sergey Bylokhov wrote:
Hi, Prasanta.
Could you confirm that other non-default L&F does not have this bug,
probably it would be good to check that in the test?
On 4/8/20 5:17 am, Prasanta Sadhukhan wrote:
Hi All,
Please review a fix for an issue where it is seen that in macOS,
JButton remains pressed even when the focus is lost.
This was fixed inJDK-4368790:
<https://bugs.openjdk.java.net/browse/JDK-4368790>JButton stays
pressed when focus stolen by calling setPressed(false) for
BasicButtonListener created in BasicButtonUI#installListener for
other L&Fs, but it fails for default AquaL&F in macOS.
The same needs to be done in AquaButtonListener created in
AquaButtonUI#installListener for mac
Bug: https://bugs.openjdk.java.net/browse/JDK-8213123
webrev: http://cr.openjdk.java.net/~psadhukhan/8213123/webrev.0/
Regards
Prasanta