<Swing Dev> RFR JDK-8213123:javax/swing/JButton/4368790/bug4368790.java fails on mac
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Thu Apr 9 11:35:37 UTC 2020
Looks fine.
On 4/8/20 10:14 pm, Prasanta Sadhukhan wrote:
> 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
>>
>>
--
Best regards, Sergey.
More information about the swing-dev
mailing list