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

Transparent QQuickWidget: Rectangle antialising=true results in edges standing out

XMLWordPrintable

    • Linux/X11, Windows
    • 228f0c1d2e1e4a4b160172dbf254935bb8fa2460, 69f5eabe45adcb3d07f7c955251f9106270690da

      Qml Rectangle with antialiasing doesn't seem to take the actual background properly into account if displayed in a transparent QQuickWidget stacked on the top. This is clearly visible with very light colors since a lot of dark pixels are drawn around the edges of Rectangle in worst cases making the edges really stand out.

      This problem does not occur if the QQuickWidget is not transparent. The problem disappears when antialiasing property is set to false.

      Steps to reproduce:

      1. Run the attached project
      2. Click "Toggle antialiasing"

        1. qtbug77471_aa.jpg
          73 kB
          Friedemann Kleint
        2. qtbug77471_na.jpg
          75 kB
          Friedemann Kleint
        3. qtbug77471.zip
          253 kB
          Miika Pernu
        For Gerrit Dashboard: QTBUG-77471
        # Subject Branch Project Status CR V

            lagocs Laszlo Agocs
            miikapernu Miika Pernu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes