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
reproducible in v4.0.stable.official [92bee43] and v4.4.dev.custom_build [b9437c3]
System information
Debian Linux X11
Issue description
Using a GraphEdit in a SubViewport or in an embedded Window has currently the problem, that panning doesn't work, when moving the mouse out of the GraphEdit area. In that case, the mouse cursor jumps in unexpected ways:
In a SubViewport, this leads the mouse to be shifted by the distance from the top-left corner of the root window to the top-left corner of the SubViewportContainer.
In an embedded Window, this leads the mouse to be constantly jumping around.
I would expect, that the mouse reappears on the other side of the GraphEdit area without lateral movement.
Tested versions
System information
Debian Linux X11
Issue description
Using a
GraphEdit
in aSubViewport
or in an embeddedWindow
has currently the problem, that panning doesn't work, when moving the mouse out of theGraphEdit
area. In that case, the mouse cursor jumps in unexpected ways:SubViewport
, this leads the mouse to be shifted by the distance from the top-left corner of the root window to the top-left corner of the SubViewportContainer.Window
, this leads the mouse to be constantly jumping around.I would expect, that the mouse reappears on the other side of the GraphEdit area without lateral movement.
BugViewPannerMouseWarp.mp4
I have tracked this to:
godot/scene/gui/view_panner.cpp
Line 113 in b9437c3
Input::get_singleton()->warp_mouse_motion
assumes, that its argument are in root-viewport coordinates, which they are not.Steps to reproduce
Minimal reproduction project (MRP)
viewpanner-in-subviewport.zip
The text was updated successfully, but these errors were encountered: