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

Crash when typing valid QML

XMLWordPrintable

    • fcd59af30ff085cf51ec6b083d671e436377e4d3

      1. Create a new Qt Quick Application project with minimum Qt version 5.3.
      2. In the project's main.qml file, typing the following lines above the MouseArea item:
            Timer {
                onTriggered: 
        
      3. Place the cursor behind "onTriggered: " and start recording a macro using "Tools" -> "Text Editing Macros" -> "Record Macro".
      4. Type
        console.log("
        
      5. Stop recording using "Tools" -> "Text Editing Macros" -> "Stop Recording Macro".
      6. Remove what you typed for the macro and place the cursor behind "onTriggered: " again.
      7. Play the macro using "Tools" -> "Text Editing Macros" -> "Play Last Macro".
        Creator crashes.

      The macro recording is not related to the crash. You just need to type very quickly, but since I'm not able to type that quickly, the crash can be reproduced more easily using the macro.

      Found and tested by Squish test tst_simple_debug and others.

        1. backtrace.txt
          42 kB
          Robert Löhning
        For Gerrit Dashboard: QTCREATORBUG-15020
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes