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
Godot version:
Godot (Mono*) 3.2 Beta 5
*The reproduction project uses GDScript to demonstrate the issue
OS/device including version:
Manjaro Linux x86_64
Issue description:
When the mouse drag is released over a CenterContainer it prevents its parent from receiving the drag data.
Steps to reproduce:
See reproduction project + explanation
Minimal reproduction project: DragAndDrop.zip
When dragging on the grey Panel the number 42 is given to Godot as the drag data. When it is released on the left side of the screen the HBoxContainer receives this and prints it. However when released on the right side of the screen the CenterContainer instead blocks it. The VBoxContainers on both sides of the screen do not exhibit this behavior.
The text was updated successfully, but these errors were encountered:
Although I wonder why CenterContainer's default is different. It's still a container.
mouse_filter defaults to MOUSE_FILTER_STOP in Control, which Container and thus CenterContainer inherit. BoxContainer and GridContainer seem to have local overrides to MOUSE_FILTER_PASS. The discrepancy is probably not intended.
Containers are meant to forward mouse input to their the Controls
they contain.
PanelContainer has a visible Panel stylebox, so it still defaults
to STOP.
Fixesgodotengine#34933.
Godot version:
Godot (Mono*) 3.2 Beta 5
*The reproduction project uses GDScript to demonstrate the issue
OS/device including version:
Manjaro Linux x86_64
Issue description:
When the mouse drag is released over a CenterContainer it prevents its parent from receiving the drag data.
Steps to reproduce:
See reproduction project + explanation
Minimal reproduction project:
DragAndDrop.zip
When dragging on the grey Panel the number
42
is given to Godot as the drag data. When it is released on the left side of the screen the HBoxContainer receives this and prints it. However when released on the right side of the screen the CenterContainer instead blocks it. The VBoxContainers on both sides of the screen do not exhibit this behavior.The text was updated successfully, but these errors were encountered: