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

TrayIcon is not properly supported on macOS in multi-screen environment

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9, 10
    • Fix Version/s: 10
    • Component/s: client-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b31
    • CPU:
      generic
    • OS:
      os_x

      Description

      Since macOS 10.9 the main menubar is shown on all screens(not only on the main screen), which means that on both screens the trayIcons are visible.
      Our code is not ready for this situation:
       - The mouse events are incorrect.
       - The location of the trayIcon is also incorrect.
       - The notification message is in the wrong position, see image.

      We should try to show the trayIcon only on the mainscreen or rework the CTryIconPeer to support multi-screen environment.

        Attachments

          Activity

            People

            • Assignee:
              serb Sergey Bylokhov
              Reporter:
              serb Sergey Bylokhov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: