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

QQuickPaintedItem with High DPI display

    XMLWordPrintable

Details

    Description

      Steps to reproduce the issue
      1. Run the attached modified Qt example, openglunderqml. It is using QQuickPaintedItem instead of painting to the background of QWindow.
      2. Observe the drawing area
      Outcome:
      QQuickPainterItem's viewport isn't scaled by window()->devicePixelRatio(). The QQuickPaintedItem's texture however has the correct size. Only the bottom left quadrand is rendered on a Retina display.

      Attachments

        1. normal screen-4.png
          normal screen-4.png
          81 kB
        2. openglunderqml-2.zip
          31 kB
        3. retina screen-3.png
          retina screen-3.png
          180 kB

        Issue Links

          Activity

            People

              srutledg Shawn Rutledge
              kileppal Kimmo Leppälä
              Votes:
              4 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: