Skip to content

RasterLayerStyling Panel changes color stretch without being (t)asked for #1494

@jakimowb

Description

@jakimowb

The raster layer styling panel often changes the color stretch without it being desired. This quickly ruins painstakingly adjusted render settings.

How to reproduce:

  1. Open example data
  2. Select the EnMAP layer and open the raster layer styling panel for
  3. Change Min/Max Value settings from "user defined" to "Cumulative count cut". This is the renderer we like to keep.
  4. Select the aerial_potsdam layer, either in the layer tree or Raster Layer Styling panel combobox
    => this changes the the Min/Max Value settings back to "User defined" and the aerial_potsdam renderer. Why?
  5. Now select the enmap_potsdam layer.

As a general rule: Never change a renderer without being asked, i.e. without an interaction between user and raster layer panel

A similar problem

  1. Open example data
  2. Select the EnMAP layer and open the raster layer styling panel for
  3. Select the aerial_postdam layer to switch the raster layer styling for
  4. Change Min/Max Value settings to "current canvas" and "Cumulative count cut"
  5. Select the EnMAP layer again. Band selection changes to 3-2-1, showing a dark EnMAP raster in the background.
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions