Tooltips are not visible while hovering over menu items



  • I used the designer to create a menu and add tool tips. However, when I hover over the items in the menu the tool tips do not show up. Does anyone know how to fix this?


  • Qt Champions 2016



  • @mrjj I was also under the impression that it was fixed but it's not, or at least I'm still having an issue with it.

    Update:
    Yep even with toolTipsVisible


  • Qt Champions 2016

    @Suroh6
    Even with toolTipsVisible it still do not show?

    Update:
    Hmm, yes. It seems not to want to display the tooltip from the QAction when inside menu.
    Qt 5.7


  • Lifetime Qt Champion

    Hi,

    Which version of Qt are you using ? On which platform ?



  • @SGaist I apologize for not getting back to you faster. Someone took out a telephone pole near my home and it took a few days for the internet to come back up. I'm using 5.7. The ToolTips will not display no matter what I do. As for the platform the issue is present on both windows 10 and linux. (Ubuntu 16.10)


  • Lifetime Qt Champion

    Can you check with a more recent version of Qt ? 5.8 is the current and there's 5.9Beta that is available.



  • @SGaist I setup 5.8 and I'm still getting the same result.


  • Lifetime Qt Champion

    Can you provide a minimal compilable sample that triggers this ?



  • @SGaist I cannot. I was testing to see if it worked because in the past it hadn't. It's for that reason I elected to use the designer to setup a menu. So as to avoid writing the code only to find that the tool tips didn't work. At this point the only example I can provide is just saying "Setup a basic menu via the designer and you'll see the tool tips wont work".

    I guess the best thing I can do is fill out a bug report.


  • Qt Champions 2016

    @Suroh6
    When you file a bug report, they will ask for a sample :)
    If you designed one in Designer, you can grab the code from the
    setupUI() in mainwindow.
    also the original bug report shows a workaround
    https://bugreports.qt.io/browse/QTBUG-13663



  • @mrjj I never knew that... The hover workaround actually fixed my issue I mean it's not the best way to do it but it could be worse. For now I'll mark this as solved. Thanks again!


Log in to reply