Important: Please read the Qt Code of Conduct -

Gnome shell and Unity do not display tootips in systemtray icon

  • There are no tooltips displayed when mouse hovers on tray icon.
    @ trayIcon->setToolTip(str);@ does not work.
    I figured out an alternative way for Gnome:
    @ curpos = QCursor::pos();
    QRect rect;
    rect = trayIcon->geometry();

    But in Unity shell
    @rect = trayIcon->geometry();@
    returns (0,0,0x0) always.
    So can anyone suggest any alternative method, which i can use in Unity Shell.

Log in to reply