https://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-02-26T08:03:29ZQGIS Issue TrackingQGIS Application - Bug report #21383: Crash when editing fieldshttps://issues.qgis.org/issues/21383?journal_id=1008752019-02-26T08:03:29ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Duplicated by</strong> <i><a class="issue tracker-1 status-5 priority-4 priority- closed" href="/issues/21386">Bug report #21386</a>: Crash when editing fields</i> added</li></ul> QGIS Application - Bug report #21383: Crash when editing fieldshttps://issues.qgis.org/issues/21383?journal_id=1008772019-02-26T08:04:11ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Affected QGIS version</strong> changed from <i>3.4.4</i> to <i>3.6.0</i></li></ul><p>Affects also 3.4.4</p> QGIS Application - Bug report #21383: Crash when editing fieldshttps://issues.qgis.org/issues/21383?journal_id=1008782019-02-26T08:16:05ZNicu Tofannicu.tofan@gmail.com
<ul></ul><p>Using these exact steps replicates the crash:<br />- open project<br />- set current layer the polygon layer<br />- start editing<br />- open attribute table<br />- show selected features<br />- start select tool<br />- select same polygon as before<br />- change same field as before with same value<br />- click on canvas - does not crash it<br />- change another field<br />- switched focus to another app<br />- => crash</p>
<p>I have autosave plugin installed. Will try without.<br />Will also try to create a new project with only that layer</p> QGIS Application - Bug report #21383: Crash when editing fieldshttps://issues.qgis.org/issues/21383?journal_id=1008822019-02-26T09:48:11ZNicu Tofannicu.tofan@gmail.com
<ul></ul><p>Crashed without autosaver</p>
<p>A new project with same layer and autogenerated form does NOT seem to crash.</p>
<p>I have exported the layer as a "layer definition file" <br />I imported the definition in a new project => using same custom form<br />Crashed in same circumstances.</p> QGIS Application - Bug report #21383: Crash when editing fieldshttps://issues.qgis.org/issues/21383?journal_id=1008872019-02-26T11:08:53ZNicu Tofannicu.tofan@gmail.com
<ul><li><strong>File</strong> <a href="/attachments/download/14463/Crash%20Report.zip">Crash Report.zip</a> added</li></ul><p>Here is the project that produces the error. The archive includes the form and custom python file.</p> QGIS Application - Bug report #21383: Crash when editing fieldshttps://issues.qgis.org/issues/21383?journal_id=1009032019-02-26T14:22:33ZNicu Tofannicu.tofan@gmail.com
<ul></ul><p>Actually it looks like it is not related to my form.<br />Same layer using auto-generated form and no custom form script.</p>
<a name="User-Feedback"></a>
<h2 >User Feedback<a href="#User-Feedback" class="wiki-anchor">¶</a></h2>
<p>Edited the attribute and pressed "Save Layer Edits".</p>
<a name="Report-Details"></a>
<h2 >Report Details<a href="#Report-Details" class="wiki-anchor">¶</a></h2>
<p><strong>Crash ID</strong>: 82c9e94385b557d81f225b15b6ec2f034912916e</p>
<p><strong>Stack Trace</strong><br /><pre>
QMetaObject::cast :
QgsLayerTreeModel::parent :
QModelIndex::parent :
QTreeView::drawRow :
QTreeView::drawTree :
QTreeView::paintEvent :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::drawWidget :
QApplication::windowIcon :
QWidget::event :
QgisApp::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QWidgetPrivate::scrollRect :
QWidgetPrivate::invalidateBuffer_resizeHelper :
QWidget::repaint :
QWidget::repaint :
QAbstractButton::mousePressEvent :
QToolButton::mousePressEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :
</pre></p>
<p><strong>QGIS Info</strong><br />QGIS Version: 3.6.0-Noosa<br />QGIS code revision: <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/58734527abdbaab95719a48a4a64ea05abd70b44" title="Release of 3.6 (Noosa)">58734527ab</a><br />Compiled against Qt: 5.11.2<br />Running against Qt: 5.11.2<br />Compiled against GDAL: 2.4.0<br />Running against GDAL: 2.4.0</p>
<p><strong>System Info</strong><br />CPU Type: x86_64<br />Kernel Type: winnt<br />Kernel Version: 10.0.17134</p> QGIS Application - Bug report #21383: Crash when editing fieldshttps://issues.qgis.org/issues/21383?journal_id=1010422019-03-01T19:10:29ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Regression?</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Category</strong> changed from <i>GUI</i> to <i>Editing</i></li></ul>