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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes