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
Describe the bug
It is possible to drag a Mechanism2d or Field2d window above the top of the main Glass window, making it impossible to drag it back because the title bar is fully off-screen. Other windows do not have this issue because they can be dragged using the body of the window.
To Reproduce
Steps to reproduce the behavior:
Connect Glass to a robot program that publishes a Field2d or Mechanism2d to NetworkTables
Open the Field2d/Mechanism2d window using the NetworkTables menu bar item
Drag the window by the title bar and bring the mouse above the top of the main Glass window, so the title bar gets dragged off screen.
It is now impossible to drag the window back down.
Expected behavior
I would expect the window position to be constrained so that the window stays within the main window bounds. This already works for the other three sides of the main window because a little bit stays visible, but does not work for the top because only the bottom portion stays visible, which is not draggable.
Screenshots
Field2d with title bar above main window title bar:
Desktop (please complete the following information):
OS: Linux Mint 22 Cinnamon
Project Information: no project, just Glass
Additional context
It is possible to bring the window back down by docking another window that does have a draggable body such as the Timing window into the Field2d/Mechanism2d window, then dragging the combined window downwards using the draggable window. This is however not an ideal solution.
The text was updated successfully, but these errors were encountered:
Describe the bug
It is possible to drag a Mechanism2d or Field2d window above the top of the main Glass window, making it impossible to drag it back because the title bar is fully off-screen. Other windows do not have this issue because they can be dragged using the body of the window.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the window position to be constrained so that the window stays within the main window bounds. This already works for the other three sides of the main window because a little bit stays visible, but does not work for the top because only the bottom portion stays visible, which is not draggable.
Screenshots

Field2d with title bar above main window title bar:
Desktop (please complete the following information):
Additional context
It is possible to bring the window back down by docking another window that does have a draggable body such as the Timing window into the Field2d/Mechanism2d window, then dragging the combined window downwards using the draggable window. This is however not an ideal solution.
The text was updated successfully, but these errors were encountered: