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

QT_SCALE_FACTOR don't work properly with WebAssembly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 6.4.1, 6.5.0 Beta1
    • 5.13.1, 6.4.0, 6.5
    • GUI: Painting
    • None
    • WebAssembly
    • d553ec049d (qt/qtbase/dev) d553ec049d (qt/tqtc-qtbase/dev) 04eff75189 (qt/qtbase/6.4) 04eff75189 (qt/tqtc-qtbase/6.4) 04eff75189 (qt/tqtc-qtbase/6.4.1) 04eff75189 (qt/tqtc-qtbase/tqtc/qtinsight-6.4)

    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

            mikolaj.boc Mikołaj Boc (Inactive)
            shestero Michael Shestero
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes