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

ModelEditor behaves unexpected and crashes QC

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • Qt Creator 3.6.0-beta1
    • Qt Creator 3.6.0-beta1
    • Editors
    • None
    • Ubuntu 12.04 32bit, QC master (6b89f80e6482b73120cc121698bca69bfee7608d) based on 5.4
    • Icd8211c14cb09203c52769a8ea1c90edb741ae51

    Description

      Steps to reproduce:

      • start QC with ModelEditor plugin enabled
      • invoke "New File or Project...", select "Modeling" -> "Model", give it a name and a valid path
      • drag a Package onto the editor, resize it
      • drag a Class onto the Package
      • select the Package again, hit 'Delete'
        • Package is removed from the editor, but it is still visible inside the Hierarchy view ( ? ) on top right [kind of unexpected for me (1)]
        • the Class is still listed as '(from New Package)' [kind of unexpected for me (2)]
      • inside the Hierarchy View select the model, hit Ctrl+D or use context menu to trigger a deletion
      • confirmation dialog comes up stating that the file has unsaved changes
      • hit 'Cancel'

      Current behaviour:

      • QC crashes

      Expected behaviours:
      (1) expected that the package would get removed inside Hierarchy view as well, either including all its content (after confirmation) OR just removing the package, but keeping its content
      (2) either this should have been removed as well (see above) OR it should just lose its 'parent' - the package

      Attachments

        Activity

          People

            gilead Jochen Becher
            cstenger Christian Stenger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: