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 5.2k 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 Offline
    S Offline
    Suroh6
    wrote on 30 Apr 2017, 14:21 last edited by
    #1

    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?

    M 1 Reply Last reply 30 Apr 2017, 16:21
    0
    • S Suroh6
      30 Apr 2017, 14:21

      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?

      M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 30 Apr 2017, 16:21 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 30 Apr 2017, 21:06
      0
      • M mrjj
        30 Apr 2017, 16:21

        @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 30 Apr 2017, 21:06 last edited by Suroh6 5 Jul 2017, 22:54
        #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

        M 1 Reply Last reply 30 Apr 2017, 21:09
        0
        • S Suroh6
          30 Apr 2017, 21:06

          @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

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 30 Apr 2017, 21:09 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 7 May 2017, 22:24
          1
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 30 Apr 2017, 21:49 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
            • M mrjj
              30 Apr 2017, 21:09

              @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 7 May 2017, 22:24 last edited by Suroh6 5 Jul 2017, 22:53
              #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
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 8 May 2017, 20:21 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 9 May 2017, 10:41
                1
                • S SGaist
                  8 May 2017, 20:21

                  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 9 May 2017, 10:41 last edited by
                  #8

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

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 9 May 2017, 20:32 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 10 May 2017, 10:23
                    0
                    • S SGaist
                      9 May 2017, 20:32

                      Can you provide a minimal compilable sample that triggers this ?

                      S Offline
                      S Offline
                      Suroh6
                      wrote on 10 May 2017, 10:23 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.

                      M 1 Reply Last reply 10 May 2017, 10:28
                      0
                      • S Suroh6
                        10 May 2017, 10:23

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

                        M Offline
                        M Offline
                        mrjj
                        Lifetime Qt Champion
                        wrote on 10 May 2017, 10:28 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 10 May 2017, 11:45
                        1
                        • M mrjj
                          10 May 2017, 10:28

                          @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 10 May 2017, 11:45 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