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

Qt application does not follow the DPI change when the DPI setting is changed before showing the first window

    XMLWordPrintable

Details

    • Windows
    • edb00660e4 (qt/qtbase/dev) edb00660e4 (qt/tqtc-qtbase/dev) 45358c29d5 (qt/qtbase/6.4) 45358c29d5 (qt/tqtc-qtbase/6.4) eea109e024 (qt/tqtc-qtbase/6.2) 45358c29d5 (qt/tqtc-qtbase/6.4.1) 45358c29d5 (qt/tqtc-qtbase/tqtc/qtinsight-6.4), ca0f0a43e (6.4)

    Description

      Attached the sample project, in which the DIP is changed programmably before the application starting through the functions of switchToHigh/LowDPIValue. Commenting out calls to these functions will result in different initial window size

      Attachments

        1. actual100DPI_2.png
          actual100DPI_2.png
          1.25 MB
        2. actual100DPI.png
          actual100DPI.png
          91 kB
        3. expected100DPI_2.png
          expected100DPI_2.png
          1.18 MB
        4. expected100DPI.png
          expected100DPI.png
          30 kB
        5. qtbug105857_log.txt
          0.9 kB
        6. qtbug105857.zip
          70 kB
        7. QtBug105857.zip
          72 kB

        Issue Links

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

          Activity

            People

              sorvig Morten Sørvig
              yifei Yi Fei (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews