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

Misplaced popup menu for reparented combo box

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.7.1
    • None
    • All

    Description

      When moving a QComboBox to a different widget, its popup menu is not positioned correctly.

      See the attached example: When activating an item in the combobox, the combobox is moved to the second widget's stackedwidget. When you now open the combobox, the popup menu is not visible.

      In our use case (with larger and more complex widgets) you notice that the popup menu is displayed at a wrong position - probably the menu's global position is still computed relative to the old parent widget?

      Not sure if this is a bug in Qt when reparenting widgets or if we simply use the library wrong...

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            mlangen Marc Langenbach
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes