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 not working correctly under GNOME 3.14
Forum Updated to NodeBB v4.3 + New Features

QSystemTrayIcon not working correctly under GNOME 3.14

Scheduled Pinned Locked Moved General and Desktop
gnomelinuxqsystemtrayicon
6 Posts 3 Posters 3.4k Views 3 Watching
  • 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.
  • David.GD Offline
    David.GD Offline
    David.G
    wrote on last edited by David.G
    #1

    Hello,

    I've recently started using Qt for my applications and I've noticed that the system tray under the GNOME 3 environment doesn't work. It works correctly under Ubuntu/Unity and possibly KDE, XFCE, etc (haven't completely tested).

    I added the code in a repo to those who would like to test under a virtual box or check the code:

       // set up system tray
    
    trayIcon = new QSystemTrayIcon(this);
    
    //grab from qrc
    trayIcon->setIcon(QIcon(":/gnu.png"));
    trayIcon->show();
    

    Any suggestions? (I'm using Ubuntu 15.04 (desktop) and Ubuntu GNOME 15.04 (laptop) which I pretty much use to program)

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

      Hi,

      You should also add which linux distribution you are currently running

      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
      • David.GD Offline
        David.GD Offline
        David.G
        wrote on last edited by
        #3

        Added the distribution(s) to the main post:

        (also leaving the note here just in case): I'm using Ubuntu 15.04 (desktop) and Ubuntu GNOME 15.04 (laptop) which I pretty much use to program

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

          15.04 being not yet officially released, can you check with its provided Qt 5 to see if you are experiencing the same thing ?

          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
          • ? Offline
            ? Offline
            A Former User
            wrote on last edited by
            #5

            Hi,
            this is a known bug and fixed in Qt 5.5.0 Alpha: https://bugreports.qt.io/browse/QTBUG-31762

            David.GD 1 Reply Last reply
            0
            • ? A Former User

              Hi,
              this is a known bug and fixed in Qt 5.5.0 Alpha: https://bugreports.qt.io/browse/QTBUG-31762

              David.GD Offline
              David.GD Offline
              David.G
              wrote on last edited by
              #6
              This post is deleted!
              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