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. Unable to see Icon created using QSystemTrayIcon in windows "Customize notification icons"
QtWS25 Last Chance

Unable to see Icon created using QSystemTrayIcon in windows "Customize notification icons"

Scheduled Pinned Locked Moved Unsolved General and Desktop
6 Posts 2 Posters 961 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.
  • chaithubkC Offline
    chaithubkC Offline
    chaithubk
    wrote on last edited by
    #1

    I am creating an icon using QSystemTrayIcon, and I want to set the policy in the windows to show my application icon to be visible all the time, even if I minimize or maximize the notification area. If I use the windows "NOTIFYICONDATA " style I can see that my application icon is available in the "Customize notification icons" but with QSystemTrayIcon that option was not available. Any idea how can I customize this using Qt.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      That's what is used by QSystemTrayIcon on Windows.

      How are you currently using it ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      chaithubkC 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        That's what is used by QSystemTrayIcon on Windows.

        How are you currently using it ?

        chaithubkC Offline
        chaithubkC Offline
        chaithubk
        wrote on last edited by
        #3

        @SGaist: Yes, using QSystemTrayIcon am able to display the icon for the application. But I want my icon to be always visible in the notification area (as below)

        0_1542017798869_3262ed78-dbd5-471b-952b-a96b8bc0abdf-image.png

        With my current code I see the icon in the notification area initially, but when I try to maximize the notification area, my icon goes in to the overflow area (as below)
        0_1542018237743_6f989037-1696-437b-8e1b-919e4bc9cbf7-image.png

        I thought it's windows that has the control on how the notification icons are displayed in the tray. So I tried to look in the control panel to customize my application notifications to be always visible.

        0_1542018515834_f1db0bde-6819-43f7-83a3-d9db917816e1-image.png

        I was not able to find my application entry in this list.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Even when your application is running ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          chaithubkC 1 Reply Last reply
          0
          • SGaistS SGaist

            Even when your application is running ?

            chaithubkC Offline
            chaithubkC Offline
            chaithubk
            wrote on last edited by
            #5

            @SGaist Yes. Only way I can make it always visible is by promoting my icon to the system tray area (by drag/drog the icon from the overflow area).

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              How do you do it in your application when not using QSystemTrayIcon ?

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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