[Qgis-developer] ComposerLegend, the new layer tree, auto-update and QGIS-Server

René-Luc Dhont rldhont at gmail.com
Wed Sep 17 01:09:42 PDT 2014


Hi  Devs,

I have some trouble with the new layer tree in ComposerLegend.

I have discovered that QGIS-Server 2.5 is not able to render 
ComposerLegend for a GetPrint Request, if the project has not be made by 
QGIS 2.5 and when the auto-update ComposerLegend property is set to true.

Here is what I understand :
* every ComposerLegends made with an earlier version are automatically 
an auto-update ComposerLegend
* auto-update ComposerLegend renders all the layer tree of the project
* auto-update ComposerLegend does not filter layers with the one 
selected in the ComposerMap
* the issue in QGIS-Server is just the consequences of these

Do you think the current behaviour is the good one ?
Do you think QGIS 2.6 will automatically convert ComposerLegendModel to 
ComposerLegendV2 ?
Do you think auto-update ComposerLegend linked to a ComposerMap has to 
filter layer tree with layers in ComposerMap ?

Regards,
René-Luc D'Hont
3Liz



More information about the Qgis-developer mailing list