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

wasm Canvas QML render incorrectly on highdpi screens

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P2: Important
    • None
    • 5.15.8
    • Quick: Other
    • None
    • WebAssembly

    Description

      In wasm, QML Canvas rendered to QImage on highdpi screen renders with wrong size.

      In `QSGOpenGLAtlasTexture::Atlas::upload`, a tmp QImage is created and
      filled with the rendered QImage that had a devicePixelRatio set to screen dpr.
      This cause calls `drawImage` to effectivly apply devicePixelRatio a second time.

      Attachments

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

        Activity

          People

            mikolaj.boc Mikołaj Boc (Inactive)
            vrouille Vincent Rouillé
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes