Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.4.1
-
None
-
Windows 10
Description
Steps to reproduce:
- Open the attached project in Creator
- Open ToDoForm.ui.qml in Designer
- Right click on RowLayout in the text editor, Refactoring > Move Component into Separate File, check the width assignment, uncheck the ui.qml option, hit OK
- Once it's been created, Ctrl + Click on MyComponent - it will crash
application output
Debugging starts class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 16 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 16 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 11 column 9 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 11 column 9 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 16 column 17 StaticAnalysis message 18 expects exactly two arguments class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillHeight" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 18 column 17 Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 19 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 20 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 20 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 20 column 17 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 SOFT ASSERT: "qmlItemNode.isValid()" in file ..\..\..\..\qt-creator\src\plugins\qmldesigner\components\formeditor\formeditorscene.cpp, line 90 Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" Invalid run control state transition from "RunControlState::Stopped" to "RunControlState::Starting" class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 20 column 17 class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 20 column 17 QWindowsWindow::setGeometry: Unable to set geometry 495x330+713+364 on QWidgetWindow/'QmlJSEditor__Internal__ComponentNameDialogWindow'. Resulting geometry: 495x335+713+364 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 322x335, maximum size: 16777215x16777215). QWindowsWindow::setGeometry: Unable to set geometry 495x330+713+364 on QWidgetWindow/'QmlJSEditor__Internal__ComponentNameDialogWindow'. Resulting geometry: 495x335+713+364 (frame: 8, 31, 8, 8, custom margin: 0, 0, 0, 0, minimum size: 322x335, maximum size: 16777215x16777215). class QVariant __cdecl QmlDesigner::Internal::ReadingContext::convertToVariant(const class QString &,const class QString &,class QmlJS::AST::UiQualifiedId *) Unknown property ".Layout.fillWidth" on line 11 column 9 ASSERT: "calledEmitUpdated" in file graphicsview\qgraphicsscene.cpp, line 473 Debug Error! Program: C:\dev\qt-unified\5.9.2\msvc2017_64\bin\Qt5Cored.dll Module: 5.9.2 File: graphicsview\qgraphicsscene.cpp Line: 473 ASSERT: "calledEmitUpdated" in file graphicsview\qgraphicsscene.cpp, line 473 (Press Retry to debug the application)
short backtrace
1 qt_message_fatal qlogging.cpp 1684 0x72b947db 2 QMessageLogger::fatal qlogging.cpp 796 0x72b93002 3 qt_assert qglobal.cpp 3077 0x72b84b5b 4 QGraphicsScenePrivate::_q_processDirtyItems qgraphicsscene.cpp 473 0x73d7aa38 5 QGraphicsScene::qt_static_metacall moc_qgraphicsscene.cpp 184 0x73d71456 6 QMetaCallEvent::placeMetaCall qobject.cpp 504 0x72fda2c1 7 QObject::event qobject.cpp 1246 0x72fd2c1f 8 QGraphicsScene::event qgraphicsscene.cpp 3522 0x73d771e8 9 QmlDesigner::FormEditorScene::event formeditorscene.cpp 366 0x7ffd41d943eb 10 QApplicationPrivate::notify_helper qapplication.cpp 3722 0x7379b8ee 11 QApplication::notify qapplication.cpp 3094 0x73796323 12 QCoreApplication::notifyInternal2 qcoreapplication.cpp 1018 0x72f7b0c6 13 QCoreApplication::sendEvent qcoreapplication.h 233 0x72f86062 14 QCoreApplicationPrivate::sendPostedEvents qcoreapplication.cpp 1678 0x72f7c982 15 QEventDispatcherWin32::sendPostedEvents qeventdispatcher_win.cpp 1064 0x73038e6a 16 QWindowsGuiEventDispatcher::sendPostedEvents qwindowsguieventdispatcher.cpp 82 0x7ffd5b72a544 17 qt_internal_proc qeventdispatcher_win.cpp 237 0x73036b47 18 CallWindowProcW USER32 0x7ffd9552bc50 19 DispatchMessageW USER32 0x7ffd9552b5cf 20 QEventDispatcherWin32::processEvents qeventdispatcher_win.cpp 628 0x7303755b ... <More>