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
          9 kB
          Mika Salmela
        2. 2017-11-14_143408.png
          10 kB
          Mika Salmela
        3. 2017-11-14_143630.png
          9 kB
          Mika Salmela
        4. qtbug64550_2.zip
          3 kB
          Mika Salmela
        5. qtbug64550_diag.diff
          2 kB
          Friedemann Kleint
        6. qtbug64550_font_diag.diff
          9 kB
          Friedemann Kleint
        7. qtbug64550_log.txt
          5 kB
          Friedemann Kleint
        8. qtbug64550_m.zip
          2 kB
          Friedemann Kleint
        9. qtbug64550_verbose_diag.diff
          8 kB
          Friedemann Kleint
        10. qtbug64550.zip
          2 kB
          Mika Salmela
        11. tooltip_correct.png
          4 kB
          Mika Salmela
        12. tooltip_cut.png
          4 kB
          Mika Salmela

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes