Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-95291

QML Tooltip width get too small after hovering multiple times

    XMLWordPrintable

Details

    • Windows

    Description

      Create a simple Quick application that contains  ToolButtons and add Tooltips to them. (see attached zip file)

      Run the application and then:

      • Round 1: hover all the buttons (left to right) to see the tooltips .
      • Round 2: Hover the buttons again (same order). Notice something?
      • Round 3: Hover the buttons again. Now the tooltips width should be smaller.
      • Round 4: Hover again. Smaller tooltips
      • ..
      • Round N: the tooltips contain a single letter per line.

       

      Please see the attached example application and the screenshots.

      The bug still appears if changeing the theme to Fusion, Universal, Material.

      The tooltip text gets smaller only to 1 or 2 characters per line, then it stops shrinking.

      Attachments

        1. Capture1.PNG
          Capture1.PNG
          10 kB
        2. Capture2.PNG
          Capture2.PNG
          10 kB
        3. Capture3.PNG
          Capture3.PNG
          9 kB
        4. round2_tooltip1.PNG
          round2_tooltip1.PNG
          9 kB
        5. round2_tooltip2.PNG
          round2_tooltip2.PNG
          11 kB
        6. round2_tooltip3.PNG
          round2_tooltip3.PNG
          9 kB
        7. round3_tooltip1.PNG
          round3_tooltip1.PNG
          10 kB
        8. round3_tooltip2.PNG
          round3_tooltip2.PNG
          10 kB
        9. round3_tooltip3.PNG
          round3_tooltip3.PNG
          9 kB
        10. round5_tooltip1.PNG
          round5_tooltip1.PNG
          9 kB
        11. round5_tooltip2.PNG
          round5_tooltip2.PNG
          11 kB
        12. round5_tooltip3.PNG
          round5_tooltip3.PNG
          8 kB
        13. test.zip
          5 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              q.quark Mihai Niculescu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes