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

[QSystemTrayIcon] Icon not drawn

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.6.0 RC
    • 5.4.1, 5.4.2, 5.5.0, 5.5.1
    • QPA
    • None
    • OS X 10.11 El Capitan
    • macOS

    Description

      Apple introduced the option to automatically hide the menu bar with OS X 10.11 El Capitan.

      If QSystemTrayIcon::setIcon is called while the menu bar is hidden the icon will remain invisible.

      Go to System Preferences > General and check "Automatically hide and show the menu bar".

      Then run the example. If the setIcon is invoked while the menu bar is hidden the spot where the icon is supposed to go will be blank.

      I haven't checked Qt 5.5.1 yet but I did not find any changelog regarding this issue in the release not. But I will test this today with Qt 5.5.1

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-48960
          # Subject Branch Project Status CR V

          Activity

            People

              vestbo Tor Arne Vestbø
              timo.christ Timo Christ
              Votes:
              6 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes