lizmap-plugin icon indicating copy to clipboard operation
lizmap-plugin copied to clipboard

Impossible to toggle popup checkbox

Open vlebert opened this issue 3 years ago • 2 comments

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

  • QGIS version: 3.10.12
  • Lizmap version: 3.4.1
  • OS: W10

vlebert avatar Mar 02 '21 15:03 vlebert

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 ?

Gustry avatar Mar 05 '21 04:03 Gustry

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.

vlebert avatar Mar 06 '21 10:03 vlebert