https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-08-11T13:22:46ZQGIS Issue TrackingQGIS Application - Bug report #8446: Legend in Print Composer - Layername in default empty symbology classhttps://issues.qgis.org/issues/8446?journal_id=439752013-08-11T13:22:46ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Subject</strong> changed from <i>Legend in Print Composer - Layername in empty signature</i> to <i>Legend in Print Composer - Layername in default empty symbology class</i></li></ul> QGIS Application - Bug report #8446: Legend in Print Composer - Layername in default empty symbology classhttps://issues.qgis.org/issues/8446?journal_id=439772013-08-11T13:25:11ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Operating System</strong> deleted (<del><i>Windows and MAC</i></del>)</li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li></ul><p>Confirmed on Linux.</p>
<p>This is a regression since 1.8</p>
<p>In the legend item properties the layername is not associated with the empty class, so it is not possible to just remove the name.</p> QGIS Application - Bug report #8446: Legend in Print Composer - Layername in default empty symbology classhttps://issues.qgis.org/issues/8446?journal_id=439832013-08-11T14:48:13ZNathan Woodrow
<ul></ul><p>This is because of:</p>
<p>QString text = symbolItem->text();<br /> if ( text.isEmpty() )
{<br /> // Use layer label, used for single symbols<br /> text = layerItem->text();<br /> }</p> QGIS Application - Bug report #8446: Legend in Print Composer - Layername in default empty symbology classhttps://issues.qgis.org/issues/8446?journal_id=439842013-08-11T15:12:23ZNathan Woodrow
<ul></ul><p>I have fixed the bug of using the layer name for anything but single symbols. However there is a side effect of not allowing for blank text. This seems to be a feature of the new legend in 2.0 in order to allow people to reset the label back to the symbol label.</p> QGIS Application - Bug report #8446: Legend in Print Composer - Layername in default empty symbology classhttps://issues.qgis.org/issues/8446?journal_id=439882013-08-11T15:22:40ZNathan Woodrow
<ul><li><strong>Resolution</strong> set to <i>fixed</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/df0d690cd08e835cd49e7c6e9ef168cc157e38b8" title="Fix #7012">df0d690cd08e835cd49e7c6e9ef168cc157e38b8</a></p>