-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Expand button for legend from layers grouped as a layer doesn't work #4842
Comments
@ClemDut even in mine, it seems the expansion of layer (Grouped as layer), It's managed by the father group as you can see in screencast below, it seems an anomalous behaviuor because of there isn't a logic flow in response of click @Gustry @nboisteault , It seems to me that disabling the father group It shouldn't be the child group automatically collapsed, however the re-expansion doesn't seems to follow the child group reactivation, but only the father group deactivation/reactivation it seems able to do it, but only after subsequent further deactivation/reactivation of child group. Am I wrong? Video.del.07-10-2024.11.17.42.webm |
{
"0": {
"nodes": [
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAH0lEQVQ4jWNUVlb+xUAJoNQAJopsHzVg1IBRA6hnAAAe4ALkYETtuQAAAABJRU5ErkJggg==",
"title": "sousquartiers",
"type": "layer"
},
{
"symbols": [
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUUlP5z0ABYGFgYGD4vM6WbAOYKLF91IBRA0YNoKIBAB1PA2vFB/uGAAAAAElFTkSuQmCC",
"title": "CROIX D'ARGENT"
},
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUV1X7z0ABYGFgYGA4mTCfbAOYKLF91IBRA0YNoKIBAOHFA1sV3nu5AAAAAElFTkSuQmCC",
"title": "HOPITAUX-FACULTES"
},
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUU1P+z0ABYGFgYGBYNZOFbAOYKLF91IBRA0YNoKIBAO2yAtfoSp6eAAAAAElFTkSuQmCC",
"title": "LES CEVENNES"
},
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUVVf9z0ABYGFgYGBoPZRMtgFMlNg+asCoAaMGUNEAAGwgAzwQHj0OAAAAAElFTkSuQmCC",
"title": "MONTPELLIER CENTRE"
},
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUVVb7z0ABYGFgYGCoZtxLtgFMlNg+asCoAaMGUNEAALO6AsisoPSYAAAAAElFTkSuQmCC",
"title": "MOSSON"
},
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUV1b+z0ABYGFgYGA4oMpJtgFMlNg+asCoAaMGUNEAAJS4AnwZPPjLAAAAAElFTkSuQmCC",
"title": "PORT MARIANNE"
},
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUVlP7z0ABYGFgYGBgm7yGbAOYKLF91IBRA0YNoKIBAOTOAtUUMgxkAAAAAElFTkSuQmCC",
"title": "PRES D'ARENE"
},
{
"icon": "iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAACXBIWXMAAA9hAAAPYQGoP6dpAAAAJ0lEQVQ4jWNUUVH7z0ABYGFgYGAwddhCtgFMlNg+asCoAaMGUNEAAHbsArjT0z3CAAAAAElFTkSuQmCC",
"title": ""
}
],
"title": "quartiers_categorized",
"type": "layer"
}
],
"type": "group",
"name": "mutually_exclusive_group_with_one_categorized_layer",
"title": "mutually exclusive group with one categorized layer",
"layerName": "mutually exclusive group with one categorized layer"
}
} |
What is the bug? (in English)
Legend from layers "grouped as a layer" in lizmap plugin can't be expand by clicking on the appropriate button. However, legend expands when click on the sup group checkbox, but you can't unexpand it after that.
The layer's symbology is based on rules.
Steps to reproduce the issue
You can see our project adzi_2021.qgs of our main instance to reproduce this bugg (SMAVD).
1- Group many layers, at least one must have a symbology based on rules (probably same with categorised or other symbology)
2- Check "Group as layer " in lizmap plugin
3- try to expand legend on lizmap web
4- after clicking on the expand button, check the group checkbox to expand the legend
5 - try to unexpand the legend
Versions, safeguards, check summary etc
Check Lizmap plugin
Operating system
windows 11 Pro v 10.0.22621
Browsers
Firefox
Browsers version
Firefox 131.0
Relevant log output
No response
The text was updated successfully, but these errors were encountered: