Unmaximizing the 1st time by dnd doesn't keep whole window visible
Steps to reproduce
- Use GNOME 3.32 Wayland session
- Have a window that has opened maximized.
- Use drag-and-drop from the titlebar/headerbar to unmaximize the window.
Current result
The unmaximized window is pushed to the right, possibly off-screen, such that the top-left corner of the window is under the pointer. This effect is more noticeable the closer to the right edge you start the DnD.
This only happens the first time the window is unmaximized. The second time already gives the expected result.
Expected result
The unmaximized window is not pushed to the right, but, instead, it keeps the relative position to the pointer.
This is what happens under X11.
Additional information
It seems to happen only with GTK (3 and 4) applications, even non-headerbar ones (e.g. Rhythmbox). But it doesn't happen with all of them (e.g. Epiphany).
Original description:
nautilus 3.32.0-a241f8f6f on Arch Linux
Watch the screen recording please. Only the side bar is visible after I unmaximize the window by dragging it down.