https://issues.qgis.org/https://issues.qgis.org/favicon.ico2016-01-25T03:42:28ZQGIS Issue TrackingQGIS Application - Bug report #14161: Remove Current style can corrupt another stylehttps://issues.qgis.org/issues/14161?journal_id=676132016-01-25T03:42:28ZMartin Dobiaswonder.sk@gmail.com
<ul></ul><p>Hmm I cannot replicate - I have just tried it and for me right after removal of the current style the dialog is updated to contain the newly selected style.</p>
<p>Maybe a screencast would be helpful to understand if you do something in a slightly different manner than I did...</p> QGIS Application - Bug report #14161: Remove Current style can corrupt another stylehttps://issues.qgis.org/issues/14161?journal_id=676332016-01-25T15:05:03ZSebastian Dietrich
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul> QGIS Application - Bug report #14161: Remove Current style can corrupt another stylehttps://issues.qgis.org/issues/14161?journal_id=676992016-01-27T12:50:13ZSebastian Dietrich
<ul></ul>@Harrissou<br />I can not reproduce either. But I noticed a probably related misbehaviour when working with named styles:
<ul>
<li>Create a new project</li>
<li>Create a new memory layer</li>
<li>Open the layer properties dialog</li>
<li>Change the symbol, e.g. to the airplane</li>
<li>Select <em>Rename current</em> from the style menu and enter a name, e.g. <code>airplanes</code></li>
<li>Select <em>Add...</em> from the style menu and enter a name, e.g. <code>arrows</code></li>
<li>Change the symbol, e.g. to the arrow</li>
<li>Open the style menu and verify both styles are there, <code>airplanes</code> and <code>arrows</code></li>
<li>Select the <code>airplanes</code> style -> your airplane is gone, you end up with the default style</li>
<li>Select the <code>arrows</code> style -> your arrow is gone, you end up with another default style</li>
</ul>
<p>Maybe your delete operation triggered that issue?</p>
<blockquote>
<p>Create for a layer two different styles.</p>
</blockquote>
<p>This only works if you <em>Apply</em> your changes before creating the second style, otherwise your first style will be lost and replaced by the default.</p>
<p>If it is in fact the same it can be dealt with here, if not I would open a new ticket.</p> QGIS Application - Bug report #14161: Remove Current style can corrupt another stylehttps://issues.qgis.org/issues/14161?journal_id=677022016-01-27T13:43:58ZHarrissou Santanna
<ul></ul><p>Sorry for the late reply.<br />I retry it and surprisingly it works as expected. I was pretty sure I had the second style changed.</p>
<p>Sebastian, not 100% sure but it may be related (didn't try again). For the Documentation purpose, I was trying the behaviour of the Add, Rename and Remove tools and had used the <b>Apply</b> button to avoid dialog closure. But I can't tell if it was the same sequence.<br />I don't think you should open a new issue. You narrowed my report. Now the most important is to get it fixed.<br />Thanks.</p> QGIS Application - Bug report #14161: Remove Current style can corrupt another stylehttps://issues.qgis.org/issues/14161?journal_id=695292016-04-09T21:44:57ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>worksforme</i></li><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li></ul><blockquote>
<p>I retry it and surprisingly it works as expected.</p>
</blockquote>