Bug report #11089
Lock Layers does not persist through save in 2.5
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | - | ||
Category: | Map Composer/Printing | ||
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 #: | 19422 |
Description
In 2.5 (latest nightly, and at least several previous versions) it seems that the lock layers data for map layers in composers does not persist correctly when a saved project is opened. The lock layers flag will display correctly, however it will show all layers which were enabled when the project was saved, as opposed to the correct lock layers. Behaviour is correct in 2.4
This was tested in 599255c using the attached project file, and can easily be reproduced. In the print composer, only layer 1 (the blue rectangle) should be visible, however both layer 1 and layer 2 (the purple triangle) display.
Opening this file in 2.4.0 will correctly only show layer 1 in the composer.
The lock layers behaviour works fine in 2.5 during one session, and files saved in 2.5 open correctly in 2.4.
Associated revisions
[composer] Fix regression in locked map layers (fix #11089)
History
#1 Updated by Nyall Dawson over 10 years ago
- Category set to Map Composer/Printing
#2 Updated by Nyall Dawson about 10 years ago
- Status changed from Open to Closed
Fixed in changeset 709c285338413adb5f55f1c05781c21027c21cb3.