Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-15537

Saving the document when code view is not open crashes

    XMLWordPrintable

Details

    • 1
    • 54594450b (qds/dev)
    • QDS Oulu - 2025 Week 23/24

    Description

      • Create empty project
      • Close all views except navigator
      • Delete button node
      • Select save or press ctrl-S

      --> Crash

      1 QPlainTextEdit::textCursor                                                                                                qplaintextedit.cpp 1368  0x7ffe09ecd1b6 
      2 TextEditor::BaseTextEditor::textCursor                                                                                    texteditor.cpp     10411 0x7ffe01cce803 
      3 QmlDesigner::TextEditorView::reformatFile                                                                                 texteditorview.cpp 291   0x7ffde9752402 
      4 QtPrivate::QCallableObject<`QmlDesigner::ShortCutManager::registerActions'::`2'::<lambda_1>,QtPrivate::List<>,void>::impl qobjectdefs_impl.h 584   0x7ffde913dec2 
      5 doActivate<0>                                                                                                             qobject.cpp        4123  0x7ffe036b24c1 
      

      Reason for crash: QmlDesigner::TextEditorView::reformatFile , m_widget->textEditor()= QObject(0x0)

      Attachments

        For Gerrit Dashboard: QDS-15537
        # Subject Branch Project Status CR V

        Activity

          People

            e0348803 Miikka Heikkinen
            e0348803 Miikka Heikkinen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes