Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8242801

The macOS toolkit does not set proper ActionModifiers for clicks in TrayIcons

    XMLWordPrintable

Details

    • generic
    • os_x

    Description

      We have a test to check this functionality
      java/awt/TrayIcon/ActionEventTest/ActionEventTest.java
      But unfortunately, it does not check that the robot actually clicks on the tray icon, So it is always passed on macOS due to a bug in the robot.

      Problematic code:
      http://hg.openjdk.java.net/jdk/client/file/786345dc46f2/src/java.desktop/macosx/classes/sun/lwawt/macosx/CTrayIcon.java#l275

      Attachments

        Issue Links

          Activity

            People

              kizune Alexander Zuev
              serb Sergey Bylokhov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: