Bug report #7890
Composer layer transparency not respected in legend
|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 #:||16763|
Layer transparency applied under "Layer rendering" is not respected in composer legends. Instead, layers show the transparency of symbol-level transparency settings. So if you don't set transparency in the symbol properties, it is not correct in the composer legend.
#5 Updated by Miroslav Umlauf about 6 years ago
- Status changed from Reopened to Closed
Oh, sorry. I just found out it is already done in master also for grids in composer. But if you save project, close it and open it again the legend is without transparency settings. Also for raster the legend is not respecting color alpha channel (I thought I could use it as workaround but nope).
#7 Updated by Nyall Dawson about 6 years ago
- Status changed from Reopened to Feedback
Sorry, I don't understand - what do you mean by grids? These aren't shown in the legend at all, and like you've noticed the issue with grid transparency not saving is solved in master and backported to 2.4 already.
#8 Updated by Miroslav Umlauf about 6 years ago
- File transparency_alpha_channel_02.PNG added
- File transparency_global_03.PNG added
- File transparency_global_02.PNG added
- File transparency_global_01.PNG added
- File transparency_alpha_channel_01.PNG added
I hope this help to understand:
transparency_alpha_channel_01 - setting grid colors alpha channel transparency - transparency ok in layer list
transparency_alpha_channel_02 - grid colors in the legend - in the legend list ok, no transparency on the canvas
transparency_global_01 - setting global transparency - no transparency in the layer list
transparency_global_02 - grid colors in the legend - no transparency in the layer list, ok on the canvas
transparency_global_03 - grid colors in the legend after save and reopen - no transparency in the layer list, no transparency on the canvas
All screens form latest 2.5 Master.
#9 Updated by Miroslav Umlauf about 6 years ago
- File transparency_bug.png added
Also when using line pattern fill in combination with transparency there is bug in Export as image / Export as PDF. Seems like line pattern fill is rendered in significantly higher resolution making lines very thin (only in the legend, in map frame it is ok)