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. Gnome shell and Unity do not display tootips in systemtray icon

Gnome shell and Unity do not display tootips in systemtray icon

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 1.3k Views 1 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.
  • A Offline
    A Offline
    adnan
    wrote on last edited by
    #1

    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,0x0) always.
    So can anyone suggest any alternative method, which i can use in Unity Shell.

    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