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

Remove states in code, the designer show wrong information

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.2.0
    • Qt Creator 2.1.0
    • Quick Designer
    • None
    • Windows XP SP3
    • 37433e2be091714022adad71a4c207e40f4c98d8

    Description

      Reproduction steps:

      1.Create a qt quick application using wizard
      2.Activate the qml designer
      3.Add two states in designer mode such as State1, State2, State3
      4.Go to code mode and remove State1 and State2
      5.Go back to designer mode

      Expected result:
      State3 is shown in the State view panel

      Actual result:
      State1 is shown in the State view panel and Warning widget popup remind "Invalid state name:Name already used in another state"

      Comment:
      SDKTestRound5

      Attachments

        1. AddThreeStates.JPG
          AddThreeStates.JPG
          43 kB
        2. CloseWarningWidget.JPG
          CloseWarningWidget.JPG
          38 kB
        3. InvalidStateName.JPG
          InvalidStateName.JPG
          57 kB
        4. StatesCodeMode.JPG
          StatesCodeMode.JPG
          43 kB
        5. ThreeStatesCodes.JPG
          ThreeStatesCodes.JPG
          46 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            thohartm Thomas Hartmann
            qiiiiqia_tieto Qi Qiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes