<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css" style="display: none !important;">object:not([type]),object[classid$=":D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid$=":d27cdb6e-ae6d-11cf-96b8-444553540000"],object[codebase*="swflash.cab"],object[data*=".swf"],embed[type="application/x-shockwave-flash"],embed[src*=".swf"],object[type="application/x-shockwave-flash"],object[src*=".swf"],object[codetype="application/x-shockwave-flash"],iframe[type="application/x-shockwave-flash"],object[classid$=":166B1BCA-3F9C-11CF-8075-444553540000"],object[codebase*="sw.cab"],object[data*=".dcr"],embed[type="application/x-director"],embed[src*=".dcr"],object[type="application/x-director"],object[src*=".dcr"],object[classid$=":15B782AF-55D8-11D1-B477-006097098764"],object[codebase*="awswaxf.cab"],object[data*=".aam"],embed[type="application/x-authorware-map"],embed[src*=".aam"],object[type="application/x-authorware-map"],object[src*=".aam"],object[classid*="32C73088-76AE-40F7-AC40-81F62CB2C1DA"],object[type="application/ag-plugin"],object[type="application/x-silverlight"],object[type="application/x-silverlight-2"],object[source*=".xaml"],object[sourceelement*="xaml"],embed[type="application/ag-plugin"],embed[source*=".xaml"]{display: none !important;}</style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">
<div>Hi !</div>
<div><br>
</div>
<div>I work with Remi-C on this project/plugin QGIS.</div>
<div><br>
</div>
<div>What we do now:</div>
<div>- Connect on the signal : 'currentLayerChanged(QgsMapLayer*)' on QgisInterface to track the current layer and the switching layer event </div>
<div>- On the current layer : we use the signal 'layerModified()' to detect modification on current layer -> we try to commitChanges this layer</div>
<div><br>
</div>
<div>The result is ... good but we have a problem when we use multiple selection (nodes) with 'Node Tool'. (single selection work fine)</div>
<div><br>
</div>
<div>A hard-crash QGIS appear. </div>
<div>GDB indicate a problem with NodeTools and the method 'deselectAllVertexes'</div>
<div>Here a short view of gdb stack:</div>
<div>Program received signal SIGSEGV, Segmentation fault.</div>
<div>0x000000000066d9e6 in QgsSelectedFeature::deselectAllVertexes() ()</div>
<div>(gdb) where</div>
<div>#0  0x000000000066d9e6 in QgsSelectedFeature::deselectAllVertexes() ()</div>
<div>#1  0x000000000066bd35 in QgsMapToolNodeTool::canvasReleaseEvent(QMouseEvent*) ()</div>
<div>#2  0x00007ffff3b8c8b8 in QgsMapCanvas::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libqgis_gui.so.2.6.1</div>
<div>#3  0x00007ffff245c50a in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4</div>
<div>#4  0x00007ffff27fdfce in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4</div>
<div>#5  0x00007ffff2a097b9 in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4</div>
<div>#6  0x00007ffff3073646 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()</div>
<div>   from /usr/lib/x86_64-linux-gnu/libQtCore.so.4</div>
<div>#7  0x00007ffff240ce0c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4</div>
<div>#8  0x00007ffff24135dd in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4</div>
<div>#9  0x00007ffff41ebcab in QgsApplication::notify(QObject*, QEvent*) () from /usr/lib/libqgis_core.so.2.6.1</div>
<div>#10 0x00007ffff30734dd in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4</div>
<div>#11 0x00007ffff2412d93 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4</div>
<div><br>
</div>
<div>We use QGIS 2.6 (try with 2.7) Python 2.7, on Linux Ubuntu x64 & Windows 7 x64.</div>
<div>The data provider for the Vector Layer is memory.</div>
<div><br>
</div>
<div>Regards,</div>
<div>Lionel-A</div>
</div>
</body>
</html>