Bug report #10565

Transparency is not restored with QML style files for rasters

Added by Giovanni Manghi over 6 years ago. Updated over 6 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Symbology
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 #:18972

Description

Tagging this a regression as it used to work, but maybe it is not that important...

anyway... when saving a qml style for a vector and it has a transparency then the style is applied correctly.

With rasters just after selecting the style file the transparency is applied (when the properties dialog is still open), but after clicking "ok" or "apply" then the transparency is set to 0.

Associated revisions

Revision 796c6a33
Added by Nathan Woodrow over 6 years ago

Merge pull request #1315 from manisandro/populate_transparency_table

Populate transparency table when loading qml style for raster layer - Fix #10565

Revision d8b54c41
Added by Jürgen Fischer over 6 years ago

raster layer properties: resync renderer settings after loading qml (fixes #10565)

History

#1 Updated by Nathan Woodrow over 6 years ago

  • Status changed from Open to Closed

#2 Updated by Nathan Woodrow over 6 years ago

Giovanni could you test now. Seems there was a pending pull request already for it.

#3 Updated by Giovanni Manghi over 6 years ago

  • Status changed from Closed to Reopened

Nathan Woodrow wrote:

Giovanni could you test now. Seems there was a pending pull request already for it.

Hi Nathan, I compiled 796c6a3 and it still behave as before.

#4 Updated by Nathan Woodrow over 6 years ago

Ok will take a look in a sec if no one else gets to it before me.

#5 Updated by Paolo Cavallini over 6 years ago

  • Status changed from Reopened to Feedback

Is this fixed?

#6 Updated by Giovanni Manghi over 6 years ago

  • Status changed from Feedback to Open

Paolo Cavallini wrote:

Is this fixed?

no

#7 Updated by Jürgen Fischer over 6 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF