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
It looks like this is happening because an InputEventMouseMotion with a mouse mask is sent before an InputEventMouseButton pressed event, same as #93078 as mentioned above.
Fixing it is not as simple as Windows Input use GetKeyState instead of GetAsyncKeyState #93105, since there is no equivalent non async version that I could find. I think some logic in DisplayServerX11 needs to change to make sure mouse motion does not have the mask set before the mouse pressed event.
This applies to all Controls, but I could make a workaround just for TextEdit if needed.
Tested versions
Godot v4.3.beta2
Godot v4.3.beta3
System information
Godot v4.3.beta3 - Fedora Linux 39 (KDE Plasma) - X11 - Vulkan (Forward+) - nvidia; 555.58.02
Issue description
Selecting text with drag sometimes instantly select all text to previous caret position.
First thought my mouse button was going bad, but don't seem to happen in 4.2.2
Also don't think I have seen this on windows.
Could it be related to?: #94077
Steps to reproduce
Place your caret somewhere in the code.
Then try to select some text at another place.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: