Bug report #10449
legend for raster layers expanded by default
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18861|
Since the merge of the legend refactoring raster layers added to the map have their legend expanded by default. This is a change from 2.2, where they were not expanded initially. I personally think the previous behavior was preferred, as rasters with a large number of palettes colors end up taking up a huge amount of space in the legend.
#1 Updated by Martin Dobias over 7 years ago
Rather than having the collapsed layer nodes just for paletted raster layer, maybe it makes sense to have a threshold (number of symbology items - e.g. 25) when the node would be collapsed? So it would work also for vector layers if the number of categories / ranges / rules gets too high.
What do you think?