Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.7, 5.13.2, 5.14.1
-
Ubuntu 18.04 LTS 64 bit
Qt 5.14.1
-
751e92d50a23d1273af42a7a7836bb2eb336eced (qt/qtdeclarative/5.15)
Description
- Create a new Qt Quick UI Prototype project using the wizard.
- Open the project's qml file.
- Inside the Window item, add the following lines:
Rectangle { color: "green" }
- Configure the project to run on a current version of Qt.
With Qt 5.6, this still seems to work correctly. With Qt 5.10.1 and Qt 5.14.1, I could reproduce the bug. - Start debugging this project.
- In the Locals view, select the Rectangle item.
- In the QML Debugger Console, enter "color".
The console will show a tree view representing the color object. - Expand that tree view.
Among others, you'll see the values:b 1 g 1 r 1 This has nothing to do with green.
The Locals view correctly shows "#008000". When using a Window item instead of a Rectangle, also the QML Debugger Console will show correct values.
Attachments
Issue Links
- is required for
-
QTCREATORBUG-23605 Squish: Update used Qt version in tst_qml_js_console to something less ancient
- Reported
- resulted in
-
QTCREATORBUG-23609 Remove the QML Debugger Console
- Closed
For Gerrit Dashboard: QTBUG-82150 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
290518,2 | V4 Debugger: Properly set up context object for expressions | 5.15 | qt/qtdeclarative | Status: MERGED | +2 | 0 |