Bug report #6230
Layer may become unselected after "paste style"
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | GUI | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 15539 |
Description
In the layers pane (TOC) vector layers have one line for the layer overall and then one additional line underneath for each symbol that has been applied to the layer. The top line has a +/- to show/hide the symbology lines.
If the symbology lines are shown, when the "Apply" or "OK" button is clicked in the layer properties dialogue, they automatically become hidden (this is annoying if you want them to remain shown :) )
Similarly, if you right-click on a layer and choose "Paste Style", then the symbology lines become hidden. However, in this case, if the layers pane is full with the scroll bar visible, and it is scrolled right to the bottom, when the symbology lines become hidden, this layer also becomes unselected, and whatever layer is now in the same place that it was on the screen becomes selected.
This is potentially dangerous if the user does not notice that a different layer has become selected.
History
#1 Updated by Paolo Cavallini over 12 years ago
- Target version set to Version 2.0.0
#2 Updated by Jürgen Fischer over 10 years ago
- Target version changed from Version 2.0.0 to Future Release - Lower Priority
#3 Updated by Médéric RIBREUX about 9 years ago
- Status changed from Open to Feedback
Hello, bug triage...
this seems to be fixed, at least in QGIS 2.13 master. The initial state (collapsed of expanded) of categorized/graduated layers is kept when you make some changes in the layer properties.
Can you confirm this ?
#4 Updated by Alister Hood about 9 years ago
Yes, seems to be fixed.
#5 Updated by Giovanni Manghi about 9 years ago
- Resolution set to fixed/implemented
- Status changed from Feedback to Closed