You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:Controls have a hint_tooltip field which displays a hint when hovered. For a PanelContainer with a MarginContainer child, this hint does not display when hovered (by default).
By default, MarginContainer's mouse_filter is set to MOUSE_FILTER_STOP. If it's changed to MOUSE_FILTER_IGNORE, then the parent PanelContainer's hint tooltip will work again.
Steps to reproduce:
Create a PanelContainer
Add a hint_tooltip to the PanelContainer
Add a MarginContainer child to the PanelContainer (by default using MOUSE_FILTER_STOP)
Observe the hint tooltip does not appear upon hovering
This is not a bug per se, it's as you described it: if a Control has MOUSE_FILTER_STOP, it will prevent its parent container's tooltip from being shown. You should change to MOUSE_FILTER_PASS if you want to forward the event to the parent.
The default mouse filter has been changed for containers in #35068, which incidentally solves this. It's a compat breaking change so it will not be backported to 3.2.
Godot version: 3.2.stable.official
Issue description:
Control
s have ahint_tooltip
field which displays a hint when hovered. For aPanelContainer
with aMarginContainer
child, this hint does not display when hovered (by default).By default,
MarginContainer
'smouse_filter
is set toMOUSE_FILTER_STOP
. If it's changed toMOUSE_FILTER_IGNORE
, then the parentPanelContainer
's hint tooltip will work again.Steps to reproduce:
PanelContainer
hint_tooltip
to thePanelContainer
MarginContainer
child to thePanelContainer
(by default usingMOUSE_FILTER_STOP
)Minimal reproduction project:
panel_container_hint_bug.zip
The text was updated successfully, but these errors were encountered: