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

        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: