Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QSystemTrayIcon and Multiple Notifications
Forum Updated to NodeBB v4.3 + New Features

QSystemTrayIcon and Multiple Notifications

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 430 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daniilo
    wrote on last edited by
    #1

    Hello everyone,

    My problem is quite simple. I created a QSystemTrayIcon and I send notifications which I receive on windows and it is displayed normally.

    The issue is that only one notif can be seen at a time, meaning that if I send another notification whithin 1 second, the previous notif will disappear too quickly and the new notif will replace the first notif ...

    I want to be able to stack the notif instead of having them replacing each other.
    Im talking about the banners that pop for about 5 seconds usually.

    Thank you

    D 1 Reply Last reply
    0
    • D daniilo

      Hello everyone,

      My problem is quite simple. I created a QSystemTrayIcon and I send notifications which I receive on windows and it is displayed normally.

      The issue is that only one notif can be seen at a time, meaning that if I send another notification whithin 1 second, the previous notif will disappear too quickly and the new notif will replace the first notif ...

      I want to be able to stack the notif instead of having them replacing each other.
      Im talking about the banners that pop for about 5 seconds usually.

      Thank you

      D Offline
      D Offline
      daniilo
      wrote on last edited by
      #2

      if this is not clear, please tell me

      Christian EhrlicherC 1 Reply Last reply
      0
      • D daniilo

        if this is not clear, please tell me

        Christian EhrlicherC Online
        Christian EhrlicherC Online
        Christian Ehrlicher
        Lifetime Qt Champion
        wrote on last edited by Christian Ehrlicher
        #3

        What Qt version and on which os?

        /edit: From what I can see QSystemTrayIcon at least on windows can only show a single notification at a time - you can create a feature request.

        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
        Visit the Qt Academy at https://academy.qt.io/catalog

        D 1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher

          What Qt version and on which os?

          /edit: From what I can see QSystemTrayIcon at least on windows can only show a single notification at a time - you can create a feature request.

          D Offline
          D Offline
          daniilo
          wrote on last edited by
          #4

          @Christian-Ehrlicher Im using Qt6.6 and Windows 10.

          @Christian-Ehrlicher said in QSystemTrayIcon and Multiple Notifications:

          From what I can see QSystemTrayIcon at least on windows can only show a single notification at a time

          Im surprised to read that. I thought there was a way. But thanks for the information.

          Christian EhrlicherC 1 Reply Last reply
          0
          • D daniilo

            @Christian-Ehrlicher Im using Qt6.6 and Windows 10.

            @Christian-Ehrlicher said in QSystemTrayIcon and Multiple Notifications:

            From what I can see QSystemTrayIcon at least on windows can only show a single notification at a time

            Im surprised to read that. I thought there was a way. But thanks for the information.

            Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @daniilo said in QSystemTrayIcon and Multiple Notifications:

            I thought there was a way

            I did not find a hint on how to do so in the MSDN documentation and also a quick google search did not reveal something about it.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved