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

QGraphicsBlurEffect not retina-aware on OS X

XMLWordPrintable

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

      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.

        1. blur-test.tar
          8 kB
          Gerald Combs
        2. noblur-retina.png
          92 kB
          Gerald Combs
        3. blur-retina.png
          82 kB
          Gerald Combs
        4. QGraphicsEffectHighDpi.zip
          1 kB
          Daniel Teske
        5. testcaseQGraphicsEffects.png
          52 kB
          Daniel Teske
        For Gerrit Dashboard: QTBUG-54940
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes