https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-01-22T21:00:23ZQGIS Issue TrackingQGIS Application - Bug report #17927: Group Layers not activating when Theme is selected.https://issues.qgis.org/issues/17927?journal_id=860382018-01-22T21:00:23ZNathan Saylorgisn8@yahoo.com
<ul></ul><p>Playing around a little more with it,starting with a new project...<br />1. Add two layers<br />2. Add group layer<br />3. Move the two layers to the group layer.<br />4. With all three activated, add Theme.<br />5. Add another layer; move it out of the group if necessary.<br />6. Turn off group layer.<br />7. Click on Theme to activate. <br />7r. Group layer does not activate. Theme shows active.<br />8. Turn on group layer to reveal layers.<br />8r. Theme shows inactive.<br />9. Turn off layers inside group.<br />9r. THEME SHOWS ACTIVE?!<br />10. With the sublayers already off, turn off group layer.<br />10r. Theme still shows active!</p> QGIS Application - Bug report #17927: Group Layers not activating when Theme is selected.https://issues.qgis.org/issues/17927?journal_id=861362018-01-24T17:36:37ZAlessandro Pasotti
<ul><li><strong>Assignee</strong> set to <i>Alessandro Pasotti</i></li></ul> QGIS Application - Bug report #17927: Group Layers not activating when Theme is selected.https://issues.qgis.org/issues/17927?journal_id=861402018-01-24T18:31:16ZAlessandro Pasotti
<ul></ul><p>Do I understand that correctly that the issue is that if the layers in a theme are within a group the group must be switched on if at least one of the layers is visible?</p>
<p>Let's make an example V=visible v=visible-grey:<br /><pre>
[V] Group 1
[V] Layer 1
[V] Layer 2
-> save theme
-> make some changes in the tree
[ ] Group 1
[v] Layer 1
[ ] Layer 2
-> activate theme
[V] Group 1
[V] Layer 1
[V] Layer 2
-> make some changes in the tree
[V] Group 1
[V] Layer 1
[ ] Layer 2
-> activate theme
[V] Group 1
[V] Layer 1
[V] Layer 2
</pre></p>
<p>If this is the issue, a patch is coming ...</p>
<p>Note that group status is not saved in the themes.</p> QGIS Application - Bug report #17927: Group Layers not activating when Theme is selected.https://issues.qgis.org/issues/17927?journal_id=861422018-01-24T19:14:35ZAlessandro Pasotti
<ul><li><strong>Pull Request or Patch supplied</strong> changed from <i>No</i> to <i>Yes</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li></ul><p>PR: <a class="external" href="https://github.com/qgis/QGIS/pull/6163">https://github.com/qgis/QGIS/pull/6163</a></p> QGIS Application - Bug report #17927: Group Layers not activating when Theme is selected.https://issues.qgis.org/issues/17927?journal_id=861502018-01-24T21:16:17ZNathan Saylorgisn8@yahoo.com
<ul></ul><p>The group layers have always responded to the the toggling of any of its sublayers. THAT may actually be the bigger issue here. So yeah, I think you got it then. I didn't realize that the problem isn't with the Themes, but with how the groups and sublayers are responding to each other. Thanks!</p> QGIS Application - Bug report #17927: Group Layers not activating when Theme is selected.https://issues.qgis.org/issues/17927?journal_id=861632018-01-25T07:45:15ZAnonymous
<ul><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Applied in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/b64444720ccc1ef27b3b0af6f658919d0c22c02f" title="[bugfix] Ensure parent group visibility when apply theme Fixes #17927 Group Layers not activati...">qgis|b64444720ccc1ef27b3b0af6f658919d0c22c02f</a>.</p> QGIS Application - Bug report #17927: Group Layers not activating when Theme is selected.https://issues.qgis.org/issues/17927?journal_id=861652018-01-25T07:52:35ZAlessandro Pasotti
<ul><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul><p>Please give it a try.</p>