Bug report #11089
Lock Layers does not persist through save in 2.5
|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|
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.