Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
None
-
- Windows 7, x86_64
- Qt 5.6.0 MinGW 32bit, final release
-
c59c43bbc44026a508746b1de2505f6185bd0310
Description
ComboBox in Qt Controls 2.0(labs) doesn't show the selected item after being loaded with asynchronous: true and trying to select the first item doesn't help, just after selecting any other item it starts working properly again.
I also observed that with QtQuick.Controls 1.4, the ComboBox will show the elements as radio buttons...
Here is a short code snipet to test this:
import QtQuick 2.6 import QtQuick.Window 2.0 import Qt.labs.controls 1.0 ApplicationWindow { visible: true width: 320 height: 240 title: qsTr("Test async") Loader { asynchronous: true anchors.centerIn: parent sourceComponent: ComboBox { model: ["First", "Second", "Third"] anchors.centerIn: parent } } }
Attachments
Issue Links
- relates to
-
QTBUG-51118 ComboBox doesn't show/select currentIndex
- Closed
For Gerrit Dashboard: QTBUG-51972 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
153752,3 | ComboBox: fix usage in an asynchronous Loader | 5.6 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |