3liz / lizmap-plugin

Lizmap plugin for QGIS, allowing to publish QGIS maps to Lizmap Web Client
https://www.lizmap.com/
GNU General Public License v2.0
62 stars 30 forks source link

Impossible to toggle popup checkbox #334

Open vlebert opened 3 years ago

vlebert commented 3 years ago

Description

Hi Lizmap Team

I have a project with differents groups level (I think this may be related with the bug) : image

When I toggle popup in the Lizmap plugin it does not save in .cfg file. If i close and re-open the plugin popup remains untoggled.

If I manualy sets popup : "True" in the .cfg file, then it appears toggled in the plugin. However any changes (untoggle, or changing the source of the popup) won't be recorded on the .cfg file.

Moreover, editing the .cfg setting popup : "True" does not actually enable popups in Lizmap web client (so maybe this issue is also related to the client)

I can share the .qgs project in private as it contains only Postgis data stored on your servers :)

Valérian

Context

Gustry commented 3 years ago

Moreover, editing the .cfg setting popup : "True" does not actually enable popups in Lizmap web client (so maybe this issue is also related to the client)

Let's first fix the CFG file I think.

When I toggle popup in the Lizmap plugin it does not save in .cfg file.

The popup for "Éligibilité FTTH à l'adresse" ?

Do you have any group or layer with the same name ? Might be related to (not close not similar) #291

Is your QGIS Project valid for QGIS Server ? (Project properties -> QGIS Server tab, at the bottom) ? Not duplicated names ?

vlebert commented 3 years ago

There are indeed other layers with the same name. I did try to make the project valid for QGIS server by adding shortname to all groups and layer but It didn't fix the issue.

I also wonder if sometimes, it is required to delete the .cfg file when importants change are made to the qgs project. I don't remember if I did it on not, I can run other tests if needed.