Uploaded image for project: 'Qt Creator'
  1. Qt Creator

QuickDesigner: Source code update fail



    • Type: Bug
    • Status: Closed
    • Priority: P3: Somewhat important
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.5.0-rc1
    • Fix Version/s: None
    • Component/s: Quick Designer
    • Labels:
    • Environment:
      macOS 10.11, QC 4.5 RC snapshot


      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.


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



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


              • Created:

                Gerrit Reviews

                There are no open Gerrit changes