Bug report #10581
Composer - Draw map canvas items option
|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 #:||18987|
I have several Composer templates created in QGIS 2.2 that, when opened in master, appear with "Draw map canvas items" option unchecked.
Basically what happens is that as the "Draw map canvas items" option appears unchecked when opening a template created in an older version of QGIS, the map is printed in white. Grids, annotations, legend, etc., appears ok, but the content of canvas is blank.
If you open a new composer and add a new map, "Draw map canvas items" option appears selected, so opening old templates, the ideal was that this option also appear selected by default.
#4 Updated by Pedro Venâncio over 7 years ago
- File Planta_localizacao_2k_A3_3_QGIS2.qpt added
Yes, of course.
I've been watching and in .qpt file appears:
<ComposerMap keepLayerSet="false" overviewFrameMap="-1" id="0" previewMode="Cache" drawCanvasItems="false">
ie, the option is set to false.
The strange thing is that in QGIS 2.2 the map canvas is printed even with this option set to false. At this moment it seems to me that is the master who is acting correctly, no?