On Wed, 5 Jun 2024 23:33:21 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 Fix works as expected and similar to native apps. test/jdk/javax/swing/JPopupMenu/MouseDragPopupTest.java line 53: > 51: 3) Observe that the popup menu assigned to the inner > JPanel appears > 52: (macOS) or does not appear (Windows, Linux) > 53: """; Pass or Fail condition not clear from the instructions. rephrase? ------------- PR Review: https://git.openjdk.org/jdk/pull/19569#pullrequestreview-2100801401 PR Review Comment: https://git.openjdk.org/jdk/pull/19569#discussion_r1628777810