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

QCheckBox and QRadioButton incorrect scalling for HighDPI

    XMLWordPrintable

Details

    • Windows

    Description

      On two screens with 100% and 200% scaling check boxes and radio buttons are rendered incorrectly when the window is moved to the other screen.

      This happens in all the Qt Examples, as well as the DprGadget test application mentioned in the documentation . I attached this example below, as well as screenshots, as it contains many important High DPI metrics.

      When moved to the 200% monitor the boxes are rendered to small. When moved to 100% monitor they are rendered too large.

      I also created a PySide6.3.4 program (Python 3.9.13), where the same happened, to rule out misconfiguration.

      Attachments

        1. 1_opened_on_1080p.png
          18 kB
          Christian Brugger
        2. 2_opened_on_1080p_moved.png
          51 kB
          Christian Brugger
        3. 3_opened_on_4k.png
          48 kB
          Christian Brugger
        4. 4_opened_on_4k_moved.png
          20 kB
          Christian Brugger
        5. dprgadget.pro
          0.1 kB
          Christian Brugger
        6. main.cpp
          10 kB
          Christian Brugger
        7. py_1_opened_on_1080p.png
          3 kB
          Christian Brugger
        8. py_2_opened_on_1080p_moved.png
          6 kB
          Christian Brugger
        9. py_3_opened_on_4k.png
          7 kB
          Christian Brugger
        10. py_4_opened_on_4k_moved.png
          3 kB
          Christian Brugger
        11. pyside6.4.3.py
          0.5 kB
          Christian Brugger
        12. settings_display_1.png
          298 kB
          Christian Brugger
        13. settings_display_2.png
          298 kB
          Christian Brugger

        Issue Links

          Activity

            People

              sorvig Morten Sørvig
              brugger Christian Brugger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: