<Swing Dev> [13] RFR 7184956: [macosx] JPopupMenu.setDefaultLightPopupEneble(true) doesn't work correctly

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue May 28 22:56:23 UTC 2019


On 28/05/2019 15:19, semyon.sadetsky at oracle.com wrote:
>> I guess the spec above is from the different method, which is not used in the test? But as of the spec for setDefaultLightWeightPopupEnabled()/getDefaultLightWeightPopupEnabled() we of course work according to the specification, but it does not mean that we should not implement/change the optional part. 
> Did you mean that *the default* value of some property has more priority then the value of the property it-self? This sounds very strange to me.

I said nothing about the property itself, I just point that the method which is called in the test setDefaultLightWeightPopupEnabled() is eventually ignored, but it should not. It should be somehow possible to switch from one type of popups to another regardless which type of popups used by default.


-- 
Best regards, Sergey.


More information about the swing-dev mailing list