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

Mac: QSystemTrayIcon. invalid activation reasons

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • P3: Somewhat important
    • None
    • 4.6.2
    • None
    • Mac OS X 10.6.3 / qt mac opensource 4.6.2 / carbon x32
    • macOS

    Description

      on Mac OS QSystemTrayIcon doesn't work properly.
      right click can be detected either QSystemTrayIcon::Trigger or QSystemTrayIcon::DoubleClick and never as QSystemTrayIcon::Context.
      right click detects as QSystemTrayIcon::DoubleClick when we click second time on the icon regardless of delay of second click.
      The context menu shows in any case.
      in other words on right click we have two events: some not visible for me which calls context menu and QSystemTrayIcon::Trigger which follows with QSystemTrayIcon::DoubleClick on second click regardless delay.
      its defintelly a bug

      All tests were done with this my app http://code.google.com/p/qtnote/
      I'm not going to invent any workarounds so you can test it at any time. just look at mainwidget.cpp for trayicon activity processing.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            cduclos Carlos Duclos (Inactive)
            rion Rion
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes