Bug report #9559
Composer guide lines get printed on map
|Affected QGIS version:||2.0.1||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||18145|
Using master with a composer template which is loaded in python, the generated pdf includes the composer guides. Can we ensure that they are always hidden before rendering the pdf?
An example is attached.
#1 Updated by Nyall Dawson almost 9 years ago
- Status changed from Open to Feedback
Can you test using QgsComposition::renderPage() to export the pdf and confirm if this works correctly? renderPage sets a bunch of important things before rendering the page, so skipping it and using render() directly on a painter will result in gui elements like the guides showing up in the output.