https://issues.qgis.org/https://issues.qgis.org/favicon.ico2009-07-11T02:18:24ZQGIS Issue TrackingQGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192902009-07-11T02:18:24ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Seems to me that this patch has not been applied yet.</p>
<p>Qgis 1.2 trunk under linux crashes (segfault) while qgis 1.2 under windows xp returns "access violation - no RTTI data!" but doesn't crash and remain usable.</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192912009-07-18T00:08:04ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul></ul><p>Looking at the patch it seems to me that it would be better to handle it in a generic way in qgslegend.cpp (not only for LEGEND_LAYER_FILE and LEGEND_LAYER_FILE_GROUP).<br />I'm nearly about to rush to the train station for holidays. I'm coming back to this ticket in about a week.</p>
<p>Regards,<br />Marco</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192922009-07-24T08:57:05ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>maybe <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1439" title=""legend" items should not be selectable (Closed)">#1439</a> can be squeezed together with this one</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192932009-07-29T03:35:47ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul></ul><p>Hi</p>
<p>I don't have the crash on my system, only the move of the legend layer file to the symbology section. 'legendpatch.diff' fixes that in a generic way (only using the return value of dest->accept(), without explicitely mention the concrete classes).</p>
<p>Could you test if this also works for you and if it fixes the crash on your system or not?</p>
<p>Thanks,<br />Marco</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192942009-07-29T04:44:52ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Hi,</p>
<p>It is pretty easy to reproduce the crash (rev. 11186), see this</p>
<p><a class="external" href="http://www.faunalia.pt/downloads/qgis_legend_crash.mpeg">http://www.faunalia.pt/downloads/qgis_legend_crash.mpeg</a></p>
<p>Now I'll compile the latest revision and try the patch.</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192952009-07-29T05:01:19ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>The pacth works for me (ubuntu 9.04, qgis rev. 11201).</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192962009-07-29T05:06:15ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>Ok, so I'm closing this ticket.</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192972009-07-29T07:37:35ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>but it wasn't yet committed, right?</p> QGIS Application - Feature request #1745: QGis crashes dragging a Legend Layer File over a Legend Layer File Grouphttps://issues.qgis.org/issues/1745?journal_id=192982009-07-29T12:06:36ZMarco Hugentoblermarco.hugentobler@sourcepole.ch
<ul></ul><p>Right, I was too quick with closing :-)<br />Committed now in .</p>