On Thu, 6 Jun 2024 18:28:12 GMT, Alisen Chung <ach...@openjdk.org> wrote:

>> Issue is a mouse drag will trigger a popup in macos, but not in linux or 
>> windows.
>> The solution is to add a check for a mouse pressed event to show popup and 
>> prevent mouse entered events from triggering the popup
>
> Alisen Chung has updated the pull request incrementally with three additional 
> commits since the last revision:
> 
>  - update copyright years
>  - automated test
>  - changed test to automatic

test/jdk/javax/swing/JPopupMenu/MouseDragPopupTest.java line 39:

> 37:  * @test
> 38:  * @bug 8315655
> 39:  * @requires (os.family == "mac")

Also, is there any need to restrict it to mac as I guess in other platforms, 
this test should anyway pass...Did you check?

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/19569#discussion_r1630776745

Reply via email to