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

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Jun 3 23:19:31 UTC 2019


On 03/06/2019 13:07, Phil Race wrote:
> Lightweight popups seem to me to be principally a performance optimisation.
> The thing you have to support is heavyweights and lightweights are optional, and
> since I don't think we are likely to investigate whether this can be done for Aqua anytime
> soon then the test update seems like an OK step.

The difference between HW vs LW popups are not only in the performance,
there is a difference in the appearance. The LW popups inherit the visual properties such as
translucency/opacity from the owner window(since the painted on the owner), while HW popup are independent from the owner.
When we break this functionality in JDK 7 we got a regression report:
https://bugs.openjdk.java.net/browse/JDK-7156657

Current bug report is not a testbug, and I do not see a reason why the test should be updated.
Even if we add workaround to the test then we will need to create a new CR to check this behavior later, but why wee need to do it, since we already have this bug, which mentions this issues already.

The common workflow for such product issues is to add it to the "problem list" using the product bugid.

-- 
Best regards, Sergey.


More information about the swing-dev mailing list