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

Editable QComboBox using Fusion style overlaps with the combobox popup button

XMLWordPrintable

    • c4cbb3f315555858e00b18f2b34a68951a6f5477 (qtbase/5.11, 15.5.2018, 5.11.1)

      When using editable QComboBox with Fusion style, the textedit area overlaps with the button slightly.

      The "qtbug68194_analyzed.png" screenshot shows the overlapped area with red line.

      This issue is not reproducible if high dpi scaling is enabled through QApplication::setAttribute(Qt::AA_EnableHighDpiScaling). The images are taken from Windows 7 machine, but on Windows 10 machine the effect is slightly more visible than these screenshots. Also, high dpi monitors seem to emphasize the problem more.

      Steps to reproduce:

      • Run attached sample
      • EXPECTED: Text area does not overlap with the button
      • ACTUAL: Text area overlaps with the button

        1. qtbut68194_win10_4kmonitor.png
          qtbut68194_win10_4kmonitor.png
          3 kB
        2. qtbug68194.zip
          0.7 kB
        3. qtbug68194_original.png
          qtbug68194_original.png
          19 kB
        4. qtbug68194_log.txt
          0.9 kB
        5. qtbug68194_diag.diff
          3 kB
        6. qtbug68194_analyzed.png
          qtbug68194_analyzed.png
          19 kB
        For Gerrit Dashboard: QTBUG-68194
        # Subject Branch Project Status CR V

            kleint Friedemann Kleint
            jussi_witick Jussi Witick
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes