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

Applying opacity by Stylesheet makes tooltips humogous

    XMLWordPrintable

Details

    • Windows
    • 7c5c857679a0f58ca8fe5dcc9f8de3e3d83f0290 (qt/qtbase/5.12)

    Description

      ToolTip is shown in giant size when setting its opacity by StyleSheet. 

       

      How to reproduce:

      1. Use ToolTip example : "https://doc.qt.io/qt-5/qtwidgets-widgets-tooltips-example.html"

      2. Add the following line at the end of SortingBox::SortingBox(...) constructor   

      qApp->setStyleSheet("QToolTip {opacity: 200; color: blue}");
      

       

       

       This phenomenon doesn't happen in Qt5.12.2 or Qt5.13.0

      Attachments

        1. qtbug75455_diag.diff
          11 kB
        2. qtbug75455_log.txt
          16 kB
        3. qtbug75455.zip
          2 kB
        4. Tooltips-NOK.png
          Tooltips-NOK.png
          209 kB
        5. Tooltips-OK.png
          Tooltips-OK.png
          216 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-75455
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              nagrohn Nahomi Gröhn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes