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

QSystemTrayIcon disappears after first display on Mac OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.4.2
    • 5.4.0 RC
    • None
    • Mac OS X 10.9.5, XCode 6.1
    • macOS
    • ee7fea33383726f0bb72e8082a357820e3ee3675

    Description

      On Mac OS X 10.9.5, run QSystemTrayIcon example included in the Qt installation. Click on the icon shown on the menu bar to activate the menu. Then click elsewhere to deactiviate it. The icon goes blank on the menu bar. If you click on the blank space again, the icon re-appears.

      Another issue I'm having with QSystemTrayIcon on Mac is, setting a different pixmap for the icon never worked. On Mac OS X the guidance for menu bar icon is it should invert color when activated. So you should supplied a second icon for activated state. I try icon.addPixmap for various mode and state, none worked.

      Attachments

        Issue Links

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

          Activity

            People

              jturcott Jocelyn Turcotte
              rushmore RushMore
              Votes:
              13 Vote for this issue
              Watchers:
              21 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes