Bug report #16517

Locked raster layers do not refresh in Composer

Added by Assaf Wunsch about 7 years ago. Updated about 7 years ago.

Status:Closed
Priority:High
Assignee:Nyall Dawson
Category:Map Composer/Printing
Affected QGIS version:2.18.7 Regression?:Yes
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:24423

Description

I recently upgraded from V2.12 (I think) to V2.18.7. After upgrade, I noticed that locked raster layers are not displayed in the Composer. Vector layers, and their labels, do appear correctly. Panning or changing zoom level of the map in the Composer does not solve the issue. Also, toggling "Lock styles for layers" before saving and re-opening does not have an effect. The raster layers appear again only after I uncheck "lock layers" and hit "update preview".

This occurred with both a DEM (GeoTiff .tif) and an ortho (.sid).

I upgraded using the OSGeo installer. I tried rolling back to an earlier version, but the installer only allowed rolling back to V2.18.6, where the problem persists.

bug_composer2.png - Reopening project and composer (41.1 KB) Arnaud Poncet-Montanges, 2017-05-05 08:17 AM

bug_composer.png - Saving with raster layer locked styles (342 KB) Arnaud Poncet-Montanges, 2017-05-05 08:17 AM


Related issues

Duplicated by QGIS Application - Bug report #16561: Map Composer: Lock layers for map item seems to ignore ra... Closed 2017-05-17

Associated revisions

Revision cc2e68d4
Added by Nyall Dawson about 7 years ago

[composer] Fix locked raster layers do not restore when loading
project (fix #16517)

Revision e12209ea
Added by Nyall Dawson about 7 years ago

Merge pull request #4576 from nyalldawson/fix_16517

[composer] Fix locked raster layers do not restore when loading project (fix #16517)

History

#1 Updated by Arnaud Poncet-Montanges about 7 years ago

This is working on latest 2.14.14 LTR but not anymore on 2.18.7.

Added some screens, does the same behaviour for other raster like WMTS sources

This is a Regression.

#2 Updated by Giovanni Manghi about 7 years ago

  • Regression? changed from No to Yes
  • Operating System deleted (Windows 7 64-bit)
  • Priority changed from Normal to High

#3 Updated by Nyall Dawson about 7 years ago

  • Assignee set to Nyall Dawson

Fix incoming

#4 Updated by Nyall Dawson about 7 years ago

  • % Done changed from 0 to 100
  • Status changed from Open to Closed

#5 Updated by Giovanni Manghi about 7 years ago

  • Resolution set to fixed/implemented

#6 Updated by Jürgen Fischer about 7 years ago

  • Duplicated by Bug report #16561: Map Composer: Lock layers for map item seems to ignore raster layers added

Also available in: Atom PDF