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

QML editor does not display error messages until further error is added

    XMLWordPrintable

Details

    Description

      1. Open the attached file:
        import QtQuick 2.3
        
        Rectangle {
            Timer {
                onTriggered:
            }
        
            MouseArea {
            }
        }
        

        The first closing curly brace is underlined because it is unexpected. There is no inline error message, though.

      2. Type something inside the curly braces of the MouseArea.
        Now the error message "Unexpected Token" will appear next to "onTriggered".

      This error message should already be displayed when opening the file.

      Found while testing for QTCREATORBUG-15680.

      Attachments

        1. main.qml
          0.1 kB
          Robert Löhning
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            fawzi Fawzi Mohamed
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes