Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-14757

[REG Qt 5.4.2 -> Qt 5.5.0] Input and output values differ in QML/JS Console

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Duplicate
    • Affects Version/s: Qt Creator 3.5.0-rc1
    • Fix Version/s: None
    • Component/s: Quick / QML Support
    • Labels:
    • Environment:
      Ubuntu 15.04 64 bit
      Creator 3.5 built on Qt 5.5.0
      Qt Quick UI project built on Qt 5.3.1, Qt 5.4.2 or Qt 5.5.0

      Description

      1. Create a Qt Quick UI project.
      2. Run this in the Debugger.
      3. In "Locals and Expressions" view, select an item.
      4. In the QML/JS Console, type:
        opacity = 0.2

        The QML/JS Console will display: 0.20000000000000001.

      The QML/JS Console should show the set value which is 0.2. If Creator was built with Qt 5.4.2, this seems to work correctly. On which version of Qt the Qt Quick UI project is running doesn't seem to matter.

      If this is a bug in Qt, please forward the report to the correct component.

      Found by Squish test tst_qml_js_console.

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              • Assignee:
                erikv Erik Verbruggen
                Reporter:
                rlohning Robert Löhning
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes