Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.7.1
-
-
6c036012b (dev), 540002579 (6.8), 4c7456c2b (6.7), 1d409c085 (dev), a94b3deb4 (6.8), febf188e3 (6.7), 681bc93b8 (tqtc/lts-6.5)
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...