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

QSystemTrayIcon disappears after first display on Mac OS X

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes