<Swing Dev> [13] RFR 8196096: javax/swing/JPopupMenu/6580930/bug6580930.java fails

semyon.sadetsky at oracle.com semyon.sadetsky at oracle.com
Wed May 22 21:59:13 UTC 2019


On 5/22/19 2:29 PM, Sergey Bylokhov wrote:

> Hi, Semyon.
>
> Why it s necessary to change the adjustPopupLocationToFit value? why 
> on macOS it does not work by default like on others platforms?
> If I read an initial bug 6580930 correctly there was an intention that 
> HW popup should be able to overlap taskbar by default and I assume it 
> works this way on win/lin(or it does not work)? Any
Hi Sergey,
It's hard to say now why this Swing property was introduced on Mac. But 
the current fix is intended to fix the test only and not the product. 
You can request the removal of the property in a separate bug.

--Semyon
>
> On 22/05/2019 13:27, semyon.sadetsky at oracle.com wrote:
>> JBS: https://bugs.openjdk.java.net/browse/JDK-8196096
>>
>> webrev: http://cr.openjdk.java.net/~ssadetsky/8196096/webrev.00/
>>
>> This is a fix for an unstable test:
>>
>> - inside EDT execution is ensured where necessary.
>>
>> - To pass on the mac platform the check for lightweight popup is 
>> excluded and the taskbar overlapping Swing property is enabled.
>>
>>
>> --Semyon
>>
>
>



More information about the swing-dev mailing list