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. Tooltips are not visible while hovering over menu items
Forum Updated to NodeBB v4.3 + New Features

Tooltips are not visible while hovering over menu items

Scheduled Pinned Locked Moved Solved General and Desktop
12 Posts 3 Posters 4.9k Views 2 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.
  • S Suroh6

    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?

    mrjjM Offline
    mrjjM Offline
    mrjj
    Lifetime Qt Champion
    wrote on last edited by
    #2

    @Suroh6
    Should work from Qt 5.1
    https://bugreports.qt.io/browse/QTBUG-13663

    Seem its just turned off pr default
    http://doc.qt.io/qt-5/qmenu.html#toolTipsVisible-prop

    S 1 Reply Last reply
    0
    • mrjjM mrjj

      @Suroh6
      Should work from Qt 5.1
      https://bugreports.qt.io/browse/QTBUG-13663

      Seem its just turned off pr default
      http://doc.qt.io/qt-5/qmenu.html#toolTipsVisible-prop

      S Offline
      S Offline
      Suroh6
      wrote on last edited by Suroh6
      #3

      @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

      mrjjM 1 Reply Last reply
      0
      • S Suroh6

        @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

        mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #4

        @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

        S 1 Reply Last reply
        1
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #5

          Hi,

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • mrjjM mrjj

            @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

            S Offline
            S Offline
            Suroh6
            wrote on last edited by Suroh6
            #6

            @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)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #7

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

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              S 1 Reply Last reply
              1
              • SGaistS SGaist

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

                S Offline
                S Offline
                Suroh6
                wrote on last edited by
                #8

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

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #9

                  Can you provide a minimal compilable sample that triggers this ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  S 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Can you provide a minimal compilable sample that triggers this ?

                    S Offline
                    S Offline
                    Suroh6
                    wrote on last edited by
                    #10

                    @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.

                    mrjjM 1 Reply Last reply
                    0
                    • S Suroh6

                      @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.

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by
                      #11

                      @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

                      S 1 Reply Last reply
                      1
                      • mrjjM mrjj

                        @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

                        S Offline
                        S Offline
                        Suroh6
                        wrote on last edited by
                        #12

                        @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!

                        1 Reply Last reply
                        1

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved