Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.2, 6.8.0 Beta2
-
Windows 10 22H2, Qt Creator 14.0.0-RC1
-
468fe4007 (dev), 68d571191 (6.8)
Description
Code
import QtQuick import QtQuick.Controls.Basic Window { id: root width: 800 height: 600 visible: true color: combo.currentText ComboBox { id: combo model: ["red", "green", "blue"] } Component.onCompleted: console.log(root.color) onColorChanged: (col) => console.log(col) }
Outcomes
(Expected) Typing a dot at the end of the first console.log() produces a list that is related to the color type:
(Not Expected) Typing a dot at the end of the second console.log() produces a list that is not related to the color type (Qt 6.7.2) or no list at all (Qt 6.8.0-beta2):
Attachments
For Gerrit Dashboard: QTBUG-127458 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
578385,10 | qmlls: resolve types of signal handler parameters + suggest them | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582026,5 | qmlls: resolve types of signal handler parameters + suggest them | 6.8 | qt/qtdeclarative | Status: MERGED | +2 | 0 |
582806,1 | qmlls: resolve types of signal handler parameters + suggest them | 6.7 | qt/qtdeclarative | Status: ABANDONED | 0 | 0 |