Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
Qt Creator 4.1.0-rc1
-
Ubuntu 16.04 LTS 64 bit
Kit using Qt 5.7.0
Description
- Open file tests/manual/qml/testprojects/plugins/imports/MyPlugin/designer/MyComponentSpecifics.qml from Creator's repository.
- Switch to Design mode.
The Designer will show an error message that the file cannot be opened. - Switch to Edit mode.
The error message remains visible. I'm not sure whether it should do so. - Click the error message's "OK" button.
Creator crashes:1 QWeakPointer<QObject>::data qsharedpointer_impl.h 604 0x7fffc6c656f4 2 QPointer<Core::IEditor>::data qpointer.h 86 0x7fffc6dab980 3 QmlDesigner::DesignDocument::editor designdocument.cpp 615 0x7fffc6daac82 4 QmlDesigner::DesignDocument::textEditor designdocument.cpp 620 0x7fffc6daac9c 5 QmlDesigner::Internal::DesignModeWidget::textEditor designmodewidget.cpp 253 0x7fffc6ea237e 6 QmlDesigner::Internal::DesignModeWidget::<lambda(const QString&, int, int)>::operator()(const QString &, int, int) const designmodewidget.cpp 323 0x7fffc6ea24e5 7 QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<QString, int, int>, void, QmlDesigner::Internal::DesignModeWidget::setup()::<lambda(const QString&, int, int)>>::call(QmlDesigner::Internal::DesignModeWidget::<lambda(const QString&, int, int)> &, void * *) qobjectdefs_impl.h 501 0x7fffc6ea560e 8 QtPrivate::Functor<QmlDesigner::Internal::DesignModeWidget::setup()::<lambda(const QString&, int, int)>, 3>::call<QtPrivate::List<QString, int, int>, void>(QmlDesigner::Internal::DesignModeWidget::<lambda(const QString&, int, int)> &, void *, void * *) qobjectdefs_impl.h 558 0x7fffc6ea54e5 9 QtPrivate::QFunctorSlotObject<QmlDesigner::Internal::DesignModeWidget::setup()::<lambda(const QString&, int, int)>, 3, QtPrivate::List<QString, int, int>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *) qobject_impl.h 198 0x7fffc6ea52c4 10 QtPrivate::QSlotObjectBase::call qobject_impl.h 130 0x7ffff6431e4b 11 QMetaObject::activate qobject.cpp 3723 0x7ffff642eaa7 12 QMetaObject::activate qobject.cpp 3602 0x7ffff642e3a8 13 QmlDesigner::Internal::DocumentWarningWidget::gotoCodeClicked moc_documentwarningwidget.cpp 131 0x7fffc6ecfc06 14 QmlDesigner::Internal::DocumentWarningWidget::DocumentWarningWidget(QWidget *)::{lambda()#2}::operator()() const documentwarningwidget.cpp 81 0x7fffc6eba30e 15 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, QmlDesigner::Internal::DocumentWarningWidget::DocumentWarningWidget(QWidget *)::<lambda()>>::call(QmlDesigner::Internal::DocumentWarningWidget::<lambda()> &, void * *) qobjectdefs_impl.h 501 0x7fffc6ebbd3f 16 QtPrivate::Functor<QmlDesigner::Internal::DocumentWarningWidget::DocumentWarningWidget(QWidget *)::<lambda()>, 0>::call<QtPrivate::List<>, void>(QmlDesigner::Internal::DocumentWarningWidget::<lambda()> &, void *, void * *) qobjectdefs_impl.h 558 0x7fffc6ebbcab 17 QtPrivate::QFunctorSlotObject<QmlDesigner::Internal::DocumentWarningWidget::DocumentWarningWidget(QWidget *)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void * *, bool *) qobject_impl.h 198 0x7fffc6ebbc46 18 QtPrivate::QSlotObjectBase::call qobject_impl.h 130 0x7ffff6431e4b 19 QMetaObject::activate qobject.cpp 3723 0x7ffff642eaa7 20 QMetaObject::activate qobject.cpp 3602 0x7ffff642e3a8 ... <More>
Creator should not crash. Creator 4.0 closes the error message when switching to Edit mode, so this crash can't be reproduced with that.