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

QGraphicsBlurEffect not retina-aware on OS X

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • 5.9
    • 5.6.1, 5.7.0
    • None
    • OS X 10.10, OS X 10.11, Windows
    • macOS

    Description

      If I apply a QGraphicsBlurEffect to a widget as described at

      http://stackoverflow.com/a/19386886/82195

      the blurred contents appear magnified. It looks like QGraphicsBlurEffect isn't taking the widget's retina size into account somewhere. This happens for me here using Qt 5.7 and 5.6.1, but not 5.3.2.

      Attached are screenshots showing a QLabel with QGraphicsBlurEffect applied and without. Also attached is a the Stack Overflow example I used to replicate the issue.

      Attachments

        1. blur-retina.png
          blur-retina.png
          82 kB
        2. blur-test.tar
          8 kB
        3. noblur-retina.png
          noblur-retina.png
          92 kB
        4. QGraphicsEffectHighDpi.zip
          1 kB
        5. testcaseQGraphicsEffects.png
          testcaseQGraphicsEffects.png
          52 kB

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              gerald.combs Gerald Combs
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes