Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-86393

QSystemTrayIcon does not show context menu on primary screen on macOS

    XMLWordPrintable

    Details

    • Platform/s:
      macOS

      Description

      Environment

      • macOS Catalina (10.15.6) on a MacBook with retina screen
      • a second screen (non-HiDPI) attached "above" the primary laptop screen
      • using conan-built Qt 5.15.0

      Screen arrangement

      Steps to reproduce

      • build and run the systray example on macOS
      • application renders the tray icon on both screens
      • clicking the tray icon on the low-res secondary screen opens the context menu
      • clicking the tray on the laptop's high-res primary screen does not open the context menu

      Expected behaviour

      • context menu should open on both screens

      Screen Cast

      Please note the screen casts attached below. The actual tray icon is not visible for some reason: I guess, because we do not compile PNG support in our build of Qt.

        Attachments

        1. highres.mov
          1.08 MB
        2. lowres.mov
          216 kB
        3. Screenshot 2020-09-02 at 11.31.43.png
          Screenshot 2020-09-02 at 11.31.43.png
          100 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            sorvig Morten Sørvig
            Reporter:
            reneme Rene Meusel
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes