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

[REG: 5.12.3 -> 5.12.4]: Changing scale factor while an application is running does not seem to be working correctly

    XMLWordPrintable

Details

    • Windows

    Description

      There seem to be two ways this shows depending on the starting conditions.

      A) scaling up is not working:

      • set scale to 100%
      • start attached application
      • change scale to 200%
        -> red and blue rectangles stay at the same pixel size as they were

      However the window is expanded. This causes green region (clear color) to be showing outside of it. Clicking in the green region does nothing even though there should be a MouseArea covering the whole contentItem.

      Clicking the red or blue region however work as expected.

      B) scaling down is not causing a repaint

      • set scale to 200%
      • start attached application
      • change scale to 100%

      -> The red region now covers the whole window.

      Clicking the window now causes it to repaint and now it is showing up properly.

      Attachments

        1. qtbug76510.zip
          1 kB
        2. qtbug76510.zip
          3 kB
        3. qtbug76510_resize_diag.diff
          5 kB

        Issue Links

          For Gerrit Dashboard: QTBUG-76510
          # Subject Branch Project Status CR V

          Activity

            People

              qt.team.quick.subscriptions Qt Quick and Widgets Team
              poikelin Joni Poikelin
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes