drag-to-move behaviour inconsistent wrt window size #2

Open
opened 2026-03-15 16:50:38 +01:00 by djairoh · 0 comments
Owner

Before resizing the window (i.e. on startup) the drag-to-move logic actually uses screensize to calculate the target position.
This causes perceived incorrect behaviour until the window is resized, at which point the interpolation works correctly.

Working theory is resizing the window activates one or more signals internally that change how the get_global_mouse_coordinates() function works, causing the target to be calculated correctly after resize.

Before resizing the window (i.e. on startup) the drag-to-move logic actually uses screensize to calculate the target position. This causes perceived incorrect behaviour until the window is resized, at which point the interpolation works correctly. Working theory is resizing the window activates one or more signals internally that change how the `get_global_mouse_coordinates()` function works, causing the target to be calculated correctly after resize.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: djairoh/notSpore#2
No description provided.