Open beamer159 opened 1 week ago
Can reproduce in 4.2.2 and current master v4.3.beta.custom_build [cae2f853d].
For 3, It looks like the mouse focus isn't being changed when the mouse filter changes after the control gets the mouse focus.
As a workaround, you can try hiding and immediately showing the Control when changing it to IGNORE, or using grab_click_focus()
on another Control.
Tested versions
System information
Godot v4.2.2.stable - Windows 10.0.22631 - GLES3 (Compatibility) - NVIDIA GeForce RTX 2070 SUPER (NVIDIA; 32.0.15.5599) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
Control node
gui_input
detection does not behave consistently with the documentation. The docs state this function won't trigger for various reasons, though two of these reasons are of note:I made a test project to test this:
Example
This example works as follows:
mouse_filter
state (STOP/PASS/IGNORE)This example shows the following unexpected behavior:
mouse_filter
is set to IGNORE, the "drop" element no longer detects the mouse motion mentioned in (1).Steps to reproduce
Run the MRP and perform the steps described above.
Minimal reproduction project (MRP)
Test.zip