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
249 stars 141 forks source link

Tooltip tool works only on border of a point (symbol) not within it #3779

Open gioman opened 1 year ago

gioman commented 1 year ago

What is the bug?

When setting up the tooltip tool for a point layer I'm seeing what to me are one minor annoyance and one major one:

1) the tool does not take into account the size of the symbol, or the same size/tolerance configured for the popup

image

2) the tool seems to work on a fixed size symbol for points, so that the highlighted geometry is/can be much smaller than the real symbol

image

Actually this is not the major annoyance. The real one is that the tool seems to work only when the tip of the mouse pointer touches the border of this fixed size symbol, and it does not work when the tip of the mouse pointer is within this circle.

Works

image

Works

image

Does not work

image

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

nboisteault commented 2 months ago

@gioman the last point about tooltip working only when pointer is on point edge will be fixed with https://github.com/3liz/lizmap-web-client/pull/4104

gioman commented 3 weeks ago

@gioman the last point about tooltip working only when pointer is on point edge will be fixed with #4104

@nboisteault thanks, good news!