https://issues.qgis.org/https://issues.qgis.org/favicon.ico2012-08-23T01:19:03ZQGIS Issue TrackingQGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=340822012-08-23T01:19:03ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li><li><strong>Operating System</strong> changed from <i>Ubuntu Server</i> to <i>Ubuntu</i></li></ul><p>Is this a regression (it used to work in 1.7.4?)?</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=340902012-08-23T05:03:44Zbjpfei -michael.pfeiffer@bd.so.ch
<ul></ul><p>I think so. <br />Tested it in our old 1.7.4 version and in Code Version commit:1fcfde2 and it worked.</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=340922012-08-23T08:49:39ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>bjpfei - wrote:</p>
<blockquote>
<p>Code Version 1fcfde2 and it worked.</p>
</blockquote>
<p>do you mean that in qgis master it works correctly?</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=341012012-08-23T22:28:09Zbjpfei -michael.pfeiffer@bd.so.ch
<ul></ul><p>I don't know if it works correctly in master.<br />commit:1fcfde2 is not an actual version of master.It is an old version of master - a 1.8rc which we compiled in spring.</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=341022012-08-24T00:13:57ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Target version</strong> changed from <i>Version 1.8.0</i> to <i>Version 2.0.0</i></li></ul><p>bjpfei - wrote:</p>
<blockquote>
<p>I don't know if it works correctly in master.</p>
</blockquote>
<p>can you give it a try? under Windows you can use osgeo4w.</p>
<p>If it is a regression we must tag this ticket as blocker. If it is a regression and meanwhile it was fixed in master then we should close this ticket as fixed. Thanks in advance.</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=351212012-09-10T06:28:17Zbjpfei -michael.pfeiffer@bd.so.ch
<ul></ul><p>Sorry we can't test this on actual version of master at the moment.<br />Does anybody else has the chance to test it?<br />Thanks in advance</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=355102012-10-04T00:31:24Zcmoe -Cedric.Moeri@bd.so.ch
<ul></ul><p>Just tested on <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/777ce59420fd0346d84e1fa6e2e4138c1ad3857b" title="replace QgsRasterLayer::thumbnailAsPixmap() with previewAsPixmap() : return QPixmap and add size ...">777ce59</a> under ubuntu12.04: After deleting the last vertex, the marker is still visible, but Qgis doesn't crash anymore.</p>
<p>regards<br />cmoe</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=355112012-10-04T00:40:14Zcmoe -Cedric.Moeri@bd.so.ch
<ul></ul><p>Just an update: It will crash, if press delete on the time the already deleted vertex is still marked.</p>
<p>1.) Start editing a polygon layer.<br />2.) Search the last vertex of the polygon (it will be marked blud) and delete it.<br />3.) The blue marker still exists, but the polygon shape will be whithout this vertex.<br />4.) Now press delete to get rid of the needless blue marker<br />5.) Qgis crashes!</p>
<p>regards Cédric</p> QGIS Application - Bug report #6240: Editing: Delete last Vertex crashes QGIShttps://issues.qgis.org/issues/6240?journal_id=355222012-10-04T03:18:30ZJürgen Fischerjef@norbit.de
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/f3acfda57b5aeb0008dd37ffaacd60e94ec20b26" title="fix #6240">f3acfda57b5aeb0008dd37ffaacd60e94ec20b26</a>.</p>