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

With 2 external monitor set QComboBox drop down overlaps in QTableView

    XMLWordPrintable

Details

    • Windows

    Description

      When QComboBox is set inside a QTableView and a stylesheet is set for the application the items in the QComboBox drop-down overlaps with cell text.
      Attached example shows it, but to reproduce one needs to have 2 external monitor connected.
      There are are few other condition required which is already in example.
      . The QComboBox must be added after the QTableView is already visible
      . Qt::AA_UseStyleSheetPropagationInWidgetStyles must be set
      . On the QComboBox, Qt::WA_WindowPropagation must be set
      . qApp->styleSheet() must contain at least one character

      With attached example , click "Add QComboBox to table", then click on the ComboBox in the top left table cell

      Attachments

        1. qtbug82182.tar.gz
          2 kB
        2. qtbug82182.zip
          4 kB
        3. tablecombobox.png
          tablecombobox.png
          12 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            axelspoerl Axel Spoerl
            irfan.omair@digia.com Irfan Omair
            Veli-Pekka Heinonen Veli-Pekka Heinonen
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes