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

Qt::WindowStaysOnTopHint causes QComboBox drop-down list to be hidden behind the window

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.9.1
    • None
    • Windows 10 64 bit, MinGW 32 bit

      As far as i could tell this issue only exists on Windows and only with Qt 5.9.1 (Qt 5.9 seems fine).

      A quick way to test it is to add a QComboBox to the Qt Window Flags example, for instance by adding the following to the PreviewWindow constructor:

      comboBox = new QComboBox(this);

      comboBox->setEditable(true);

      layout->addWidget(comboBox);

      Then, add a few items to the combobox manually and check the "stays on top" box.

      Using the dropdown menu should result in some (or all, depending on its position) of it being hidden behind the window.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            mmutz Marc Mutz
            jan-henkel Jan Henkel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes