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

Windows: ToolTip text is cut when using style sheets

    XMLWordPrintable

Details

    • daa39f84996700d2459d8e570ac1b3f2f2cdffd0 (qtbase/5.11, 1.3.2018,5.11)

    Description

      The size of the ToolTip box is not calculated correctly if font size is set in the style sheet. Also happens when the text is rich text. Attached will be a sample app with two buttons, both having own tooltips.

      1.) The problem occurs, when you move the mouse slowly to a button. 
      2.) The tool tip is displayed correctly, when you move the mouse fast from one button to the other. 
      3.) The tool tip is displayed correctly, when no font size is set in the style sheet. 

      Attachments

        1. 2017-11-14_143353.png
          2017-11-14_143353.png
          9 kB
        2. 2017-11-14_143408.png
          2017-11-14_143408.png
          10 kB
        3. 2017-11-14_143630.png
          2017-11-14_143630.png
          9 kB
        4. qtbug64550_2.zip
          3 kB
        5. qtbug64550_diag.diff
          2 kB
        6. qtbug64550_font_diag.diff
          9 kB
        7. qtbug64550_log.txt
          5 kB
        8. qtbug64550_m.zip
          2 kB
        9. qtbug64550_verbose_diag.diff
          8 kB
        10. qtbug64550.zip
          2 kB
        11. tooltip_correct.png
          tooltip_correct.png
          4 kB
        12. tooltip_cut.png
          tooltip_cut.png
          4 kB

        Issue Links

          Activity

            People

              kleint Friedemann Kleint
              misalmel Mika Salmela
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: