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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 3.5.0-rc1
    • Quick / QML Support
    • 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

      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.

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes