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

QuickDesigner: Source code update fail

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • None
    • Qt Creator 4.5.0-rc1
    • Quick Designer
    • macOS 10.11, QC 4.5 RC snapshot

    Description

      Steps to reproduce:

      • open/create a Qml project using states (and open the file with the states inside the Designer)
      • make sure to activate the integrated text editor & have current document state saved
      • rename one or two states inside the integrated editor
      • save the document
        • even now the state names aren't updated inside the state indicators (below the preview)
      • click into the text edits of the state indicators
      • if you have more than one additional state click into their text edits (holding their name) as well
        • you can see that the bar holding the line numbers gets markers of changed document lines (at least the lines with the state names, probably even more surrounding)
      • switch to "normal" Edit mode
        • the states where you had clicked into the respective states name line edits now have their old name again (the names that had been displayed inside the states marker)
        • document is marked as unsaved as it contains modifications

       

      Note: renaming states with the text edit of a state marker does not update the source code, too.

      Attachments

        Activity

          People

            thohartm Thomas Hartmann
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: