Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
6.3.1
-
-
d0c7c7234c (qt/qtdeclarative/dev) d0c7c7234c (qt/tqtc-qtdeclarative/dev) 3359cfcae0 (qt/qtdeclarative/6.3) 3359cfcae0 (qt/tqtc-qtdeclarative/6.3) 3359cfcae0 (qt/tqtc-qtdeclarative/6.3.1)
Description
Element text description of MediaDevices such as audioOutputs are not displayed in the dropdown menu of the ComboBox element when using the textRole selector. This works fine when declaring a delegate.
The minimal example is below. The last working version I can confirm was 6.2.2.
import QtQuick import QtMultimedia import QtQuick.Controls Window { id: root width: 640 height: 480 visible: true MediaDevices { id: mediaDevices } ComboBox { height: 40 model: mediaDevices.audioOutputs displayText: currentValue.description textRole: "description" } }
Attachments
For Gerrit Dashboard: QTBUG-102983 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
410025,5 | Generalize role selection mechanism from QQuickComboBox | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
410906,3 | Generalize role selection mechanism from QQuickComboBox | 6.3 | qt/qtdeclarative | Status: MERGED | +2 | 0 |