Bug report #14968

Inverted polygons > Heatmap crashes QGIS

Added by Harrissou Santanna about 5 years ago. Updated about 5 years ago.

Affected QGIS version:2.14.3 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:22917


Apply an "Inverted Polygons" style to a layer and select the Heatmap subrenderer. QGIS crashes!!!
Given that this subrenderer is for point only and thus incompatible with "Inverted Polygons" it should not be proposed in the list.

Associated revisions

Revision 94e1d5e5
Added by Nyall Dawson about 5 years ago

Fix crash when using inverted polygons with heatmap renderer

Add methods to QgsRendererV2AbstractMetadata and QgsRendererV2Registry
to control renderer compatiblity by layer type. Should make it
easier to avoid this recurring bug popping up again in future.

Also add unit tests for QgsRendererV2Registry

Fix #14968


#1 Updated by Nyall Dawson about 5 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF