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

QCheckbox, QRadioButton wrong size when moving app between different DPI screens

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2: Important P2: Important
    • 6.7
    • 6.4.2
    • None
    • Windows 10 (22H2), 2 monitors with different DPI
    • Windows
    • 6017695bf (dev)

      On computer with two screens with different DPI (one with 100%, other with 200%), checkboxes look fine on screen with 100%, but too small when app moves to the screen with 200%.

      When having only one screen attached (any of those two), the app looks fine in both cases.

      When starting the app when only screen with 200% attached, then connecting screen with 100% and moving the app there, checkboxes are too big.

      Same relates to QRadioButtons, and dropdown button for QComboBox.

      To demonstrate, I used "tabdialog" example shipped with Qt (Tab Dialog Example), no modifications done. Please check the screenshots atached.

        1. image-2023-06-16-15-11-59-265.png
          36 kB
          Sergey Svistunov
        2. tabdialog-bothconnected-100.PNG
          8 kB
          Jan Adamec
        3. tabdialog-bothconnected-200.PNG
          21 kB
          Jan Adamec
        4. tabdialog-start200-connect100later.PNG
          8 kB
          Jan Adamec
        For Gerrit Dashboard: QTBUG-110681
        # Subject Branch Project Status CR V

            sorvig Morten Sørvig
            jadamec Jan Adamec
            Votes:
            5 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes