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
          82 kB
          Gerald Combs
        2. blur-test.tar
          8 kB
          Gerald Combs
        3. noblur-retina.png
          92 kB
          Gerald Combs
        4. QGraphicsEffectHighDpi.zip
          1 kB
          Daniel Teske
        5. testcaseQGraphicsEffects.png
          52 kB
          Daniel Teske

        Issue Links

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

          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