I made a map in QGIS that includes a couple different gradients. Here you can see an indicator map that has a gradient fill enabled. (This image is from the print layout/composer.)
The gradient fill on the indicator map appears in the layout, however when I export the layout as an image they disappear.
What do I need to do to preserve the gradient fill on export? Is this the QGIS manifestation of this issue?
Update: The issue seems to be that the gradient fill being lost on export to image. I changed the color of the gradient from the old white-to-transparent gradient to one that is green to transparent. Here it is in the main QGIS window:
And here it is in the print composer:
When I check the exported image (png) I still get the flat white appearance I showed above. Not even a hint of green. Somehow QGIS seems to be ignoring the fill when it exports.
My best guess at the moment is that it has something to do with the gradient fill's coord mode being set to viewport. If I set coord mode to object, the gradient fill in the print layout looks the same as the exported image. The question now becomes how to export a gradient fill with the coord mode set to viewport.