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

Wrong type shown for property in QML

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • Qt Creator 4.6.0-rc1, Qt Creator 4.7.0, Qt Creator 4.8.0, Qt Creator 4.9.0-beta1
    • Quick / QML Support
    • Ubuntu 17.10 64 bit
      Windows 10 1709 64 bit

    Description

      1. Open the keyinteraction example from a recent source tree of Qt.
        I tried 5.6.1 and 5.10.1. The example is in qtdeclarative\examples\quick\keyinteraction\keyinteraction.pro
      2. Open focus.qml from the project.
      3. Hover the mouse pointer over "focus" in line 54:
        focus: true
        

        A tooltip will show "Rectangle".

      The tooltip should show "boolean" instead. When you move the mouse from the property's name to the value, the right tooltip will be shown.

      Found when updating Squish-Test tst_qml_editor.

      Attachments

        Activity

          People

            tjenssen Tim Jenssen
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: