QSystemTrayIcon not working correctly under GNOME 3.14
-
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)
-
Hi,
You should also add which linux distribution you are currently running
-
15.04 being not yet officially released, can you check with its provided Qt 5 to see if you are experiencing the same thing ?
-
Hi,
this is a known bug and fixed in Qt 5.5.0 Alpha: https://bugreports.qt.io/browse/QTBUG-31762 -
This post is deleted!