Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

Gnome shell and Unity do not display tootips in systemtray icon

$
0
0
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();     if(rect.contains(curpos))     {          QToolTip::showText(rect.center(),"hello",this);     } But in Unity shell rect = trayIcon->geometry(); returns (0,0,0×0) always. So can anyone suggest any alternative method, which i can use in Unity Shell.

Viewing all articles
Browse latest Browse all 22112

Trending Articles