bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://blueos.cloud/cockpit/docs
Other
73 stars 22 forks source link

bug: Can't change map provider #1460

Open patrickelectric opened 1 week ago

patrickelectric commented 1 week ago

Bug description

Can't change map provider

Peek 2024-11-22 17-18

Steps to reproduce

Open cockpit default profile, try to click in the map selection menu

Primary pain point(s)

Can't select something other that the first

Additional context

I'm stuck on the first map style

Prerequisites

rafaellehmkuhl commented 1 week ago

Interesting. Could reproduce here.

What is happening is that the map widget is not checking for mouse inside an area in the screen, but for mouse hovering, and the other two widgets are actually above it, so the mouse is considered to be inside them, and not inside the map widget.

The solution is to check for area and not for hover. Will fix that.