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

Not able to use 2 QSystemTrayIcon instances on Mac

XMLWordPrintable

    • macOS
    • de775f2e62157a6d572b4c363bee48b84d3be630 (qt/qtbase/5.12)

      There is some unusual happening if two instances of QSystemTrayIcon are used to display different information.
      Please refer to the attached sample.
      In this example, there are two buttons, each button click triggers the message display. Balloon message displays different content depends on which button is selected.

      Steps to reproduce:

      1. Click button1, click on ballon, shows a dialog with alert type as 1.
      2. Click button2, click on ballon, shows a dialog with alert type as 2.
      3. Again click button1 and its ballon, you will see the alert type is now 2. whereas ballon is showing alert type as 1.

      It is working perfectly on windows 10

        1. qtbug77003.zip
          45 kB
          Shveta Mittal
        For Gerrit Dashboard: QTBUG-77003
        # Subject Branch Project Status CR V

            vhilshei Volker Hilsheimer
            shmittal Shveta Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes