Bug report #18733
Legend not matching map with "lock style for layers" option
|Affected QGIS version:||3.1(master)||Regression?:||No|
|Operating System:||Windows 10||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||26620|
Steps to reproduce
1: Create a project with some polygons and a make a new layout.
2: In the layout editor, add a map and a legend.
3: Activate the "Lock layers" and "Lock style for layers" options on the map. Disable auto-update on the legend.
4: Close the layout editor.
5: Change the colors of some objects.
6: Save the project and exit QGis.
7: Reopen QGIS, load the project and open its layout.
8: The map kept the styles locked but the legend updated with the new styles.
I use QGis 3.0.1 and the issue was there in version 2.18.
Related question: Is it possible to copy the styles from a layout and paste them to an object on the map? If not should I would like to ask it as a feature request.