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

QT_SCALE_FACTOR don't work properly with WebAssembly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3: Somewhat important
    • Resolution: Unresolved
    • Affects Version/s: 5.13.1
    • Fix Version/s: None
    • Component/s: GUI: Painting
    • Labels:
      None
    • Platform/s:
      WebAssembly

      Description

      QT_SCALE_FACTOR and QT_SCREEN_SCALE_FACTOR do resize canvas area instead of scaling.
      When I set QT_SCALE_FACTOR>1 at config.environment in qtloader.js I see the canvas smaller and extra black empty space inside Chrome window. My mouse isn't working also.

      Workaround: use qtFontDpi this way:
      var Module =

      { "qtFontDpi": 80 }

      Still I expect QT_SCALE_FACTOR should be working with WebAssembly. 

        Attachments

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

          Activity

            People

            • Assignee:
              sorvig Morten Sørvig
              Reporter:
              shestero Michael Shestero
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes