3liz / lizmap-web-client

Transfer a QGIS project on a server, Lizmap is providing the web interface to browse it
https://www.lizmap.com
Mozilla Public License 2.0
257 stars 143 forks source link

"information popup container" config do not apply to the layer info dialog, only to identify one #3784

Open gioman opened 1 year ago

gioman commented 1 year ago

What is the bug?

Arguably a bug, move it to improvement if you deem so.

image

The above configuration seems to only apply to the dialog/container that shows when identifying features on map. Using "right-dock" for example allows to workaround the UX problem that surfaces when that container is open together with the attribute table one. Unfortunately as this config is not used for the "layer info" container, in the same scenario the UX is really not ideal.

Examples:

All nicely docked

image

Not so much

image

Bonus:

Even when configured as docked (at least on the right), that containers should really be still "floating" because otherwise each time they are closed/reopened they cause a very annoying refresh/reload of the map (I guess it is because there are elements like the right vertical toolbar that need to be re-positioned).

Steps to reproduce the issue

See above.

Versions

image

Check Lizmap plugin

QGIS server version, only if the section above doesn't mention the QGIS Server version

3.28

Operating system

Ubuntu 22.04, desktop and server

Browsers

Firefox, Chrome

Browsers version

Latest

Relevant log output

No response

Gustry commented 1 year ago

The "information layer" you are referring to is displayed in the "sub left dock", which is not the same as "left dock". It's a "sub" one, because the "left" one is already used by the layer tree. When you are using the popup, you are either in the "left" or "right" one.

Maybe the label in the plugin is misleading if it's related to "popup" content only. Or if the "project information" should have been concerned as well, but it's not changing as well.

So I'm not sure too

gioman commented 1 year ago

So I'm not sure too

@Gustry fair enough. Anyway for the explained reasons the layer info panel should also be dockable on the right. Arguably this should be the default also for the popup one, the resulting UX is much better.