Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.3.1, 6.4.0 Beta3
-
453469c9dc (qt/qtdeclarative/dev) 453469c9dc (qt/tqtc-qtdeclarative/dev)
Description
In some more complex setups where perhaps multiple dialogs can be shown at once, using ComboBox becomes difficult as the popup can appear behind the parent dialog if z order is adjusted.
For example in this case, the ComboBox popup is behind the opened dialog:
Dialog { z: 1 ... ComboBox { ... } }
This could be worked around by assigning z value for the popup:
popup.z: dialog.z
However, doing this in Qt 6 this now produces a warning (although works still):
qt.qml.typecompiler: Binding on popup is not deferred as requested by the DeferredPropertyNames (background,contentItem,indicator,popup) class info because it constitutes a group property.
It could be worked around with more messy ways, but it feels like this z coordinate should be automatically set higher than other open popups.