Bug report #15696
Layer effects having unexpected render issues in Print Composer
|Affected QGIS version:||2.14.5||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||23619|
I have search a bit and can't find any previous threads or reports of this issue...
We have encountered on numerous occasions, some bizarre results in the print composer when using layer effects (particularly a drop shadow).
Everything looks fine in the map canvas, but on refreshing the print composer, random triangles are seen (in the base color of the shadow used... black, white, solid blue, etc.)
Frustratingly, it doesn't happen all the time on any particular layer. The screen shots attached are from a project I've been working with no problems for nearly a month, and then today it just starts happening and the only way to get ride of it is to remove the layer effects. Annoying, as this feature is awesome and makes the final map have a much greater impact!
If you export to PDF/JPG the additional, unwanted triangles do transfer to the final result.
The triangles in this particular layer all appear on lines that have a significant change of direction, I'm not sure if this is always the case.
Apologies, if I'm not supposed to assign a ticket to a person... this is one of very few times that I know the developer that came up with the feature!
#3 Updated by Jamie Portman almost 5 years ago
- File shadow_project.zip added
I've managed to strip back the project and isolate when the problem occurs a fair bit!
The attached project demonstrates the issue with a single layer.
The problem only occurs when the layer is duplicated (as it is here). Only the top layer has draw effects (shadow) turned on. If the bottom layer is turned off, the issue goes away. If the bottom layer is moved above the other layer, it also goes away!
The issue is only visible in the print composer, it always looks perfectly as expected in the map window :)
Hope this helps.
#6 Updated by Jamie Portman almost 5 years ago
Thankyou Nyall, you are awesome!
To anyone who says "it's open source, so you just dont have the technical support of commercial software"... well, I am yet to have a bug resolved by Mapinfo or ESRI as quickly as the QGIS developers do!
I take it this fix will flow through into both the next LR and LTR releases?