Bug report #4709
If a raster band is set to "no set", then the raster become transparent
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Rasters | ||
Affected QGIS version: | master | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | fixed |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 14593 |
Description
in a multi-band raster. Tested on qgis-mster.
History
#1 Updated by Alexander Bruy almost 13 years ago
Looked at several old QGIS versions (1.5, 1.3 and 1.1) and all of them have same behavior. Don't know how 3-band raster can be displayed when only 2 bands supplied. Maybe, draw one band twice, e.g. RED = Band 1, GREEN = Band 2 and BLUE = Band 2?
#2 Updated by Giovanni Manghi almost 13 years ago
Then I would say to don't allow unselect a band. Your solution seems good to me.
#3 Updated by Giuseppe Sucameli over 12 years ago
- Priority changed from 6 to Normal
Giovanni Manghi wrote:
Then I would say to don't allow unselect a band
Why should anybody unset a band? Any reason?
#4 Updated by Giovanni Manghi over 12 years ago
Why should anybody unset a band? Any reason?
maybe it does not make sense, but if it is possible to do that (unselecting a band) then someone will do, and if the result is "wrong" or can puzzle the user, then better not allow it at all. Just my 2c.
#5 Updated by Paolo Cavallini over 12 years ago
- Target version changed from Version 1.7.4 to Version 1.8.0
#6 Updated by Paolo Cavallini about 12 years ago
- Target version changed from Version 1.8.0 to Version 2.0.0
#7 Updated by Giovanni Manghi about 12 years ago
- Resolution set to fixed
- Status changed from Open to Closed
It seems fixed in master.