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

    • 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)

      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

        1. QtBug105857.zip
          72 kB
          Yi Fei
        2. actual100DPI.png
          91 kB
          Csaba Szigeti
        3. expected100DPI.png
          30 kB
          Csaba Szigeti
        4. actual100DPI_2.png
          1.25 MB
          Csaba Szigeti
        5. expected100DPI_2.png
          1.18 MB
          Csaba Szigeti
        6. qtbug105857_log.txt
          0.9 kB
          Friedemann Kleint
        7. qtbug105857.zip
          70 kB
          Friedemann Kleint
        For Gerrit Dashboard: QTBUG-105857
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved: