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

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: 5.15.0 RC2
    • Fix Version/s: None
    • Component/s: GUI: Menus
    • Labels:
      None
    • Environment:
      macOS 10 and above
    • Platform/s:
      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

            Assignee:
            qt.team.quick.subscriptions Qt Quick and Widgets Team
            Reporter:
            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