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

Applying opacity by Stylesheet makes tooltips humogous

    XMLWordPrintable

    Details

    • Platform/s:
      Windows
    • Commits:
      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
          Friedemann Kleint
        2. qtbug75455_log.txt
          16 kB
          Friedemann Kleint
        3. qtbug75455.zip
          2 kB
          Friedemann Kleint
        4. Tooltips-NOK.png
          209 kB
          Nahomi Gröhn
        5. Tooltips-OK.png
          216 kB
          Nahomi Gröhn

          Issue Links

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

            Activity

              People

              • Assignee:
                kleint Friedemann Kleint
                Reporter:
                nagrohn Nahomi Gröhn
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes