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

When the program exits, the application notification in the notifications will not be cleared

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.15.0 RC2
    • GUI: Menus
    • None
    • macOS 10 and above
    • macOS

    Description

      When the program exits, the application notification in the notifications will not be cleared.

      In macOS,when using the showMessage method of QSystemTrayIcon, the notification bar will receive messages, but when I close the application, these messages in the notifications will not be cleared

      for example,in macOS:

      QSystemTrayIcon * systemTray = new QSystemTrayIcon(this);

      systemTray->showMessage("Widget", "1223", QIcon(""), 1500);

      When systemTray is destroyed, if the showMessage is not clicked, it will remain in the notifications and will not be cleared.

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            lijiwei0611 li jiwei
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes