mpv master, own build, 0.33.0-102-g5824d9fff8
Windows 10 20H2.
Reproduction steps
- Open mpv with a video roughly the same height as the the display but narrow enough such that resizing would be limited by the height. E.g. on a 1080p display this would do:
mpv --no-config av://lavfi:testsrc=size=1000x1000
- Drag the window down such that roughly only the top half remains visible on screen.
- Resize the window upward from the window top edge or one of the top corners, and try to make it taller than the screen height would allow (should be reached quickly because the height is near or at the maximum already).
Expected behavior
The window should not grow bigger at some stage, and remain in place.
Actual behavior
Once the maximum allowed height is reached, the window starts moving very rapidly upwards until it goes out of the display (it does come back into the display when releasing the mouse button which was held down during the resize)..
Log file
https://0x0.st/-TR3.txt