mpv.net
mpv.net copied to clipboard
remember-window-position doesn't work while using gpu-api=vulkan
Describe the bug
When gpu-api = vulkan is used, mpv.net doesn't move the newly opened window (dual monitor setup) to the correct position, and always opens it centered based on current mouse cursor location.
To Reproduce
Steps to reproduce the behavior:
- Fresh clean download of mpv.net.
- Place
remember-window-position = yesinmpvnet.confandgpu-api = vulkaninmpv.conf. - Open any video in mpv.net and close it.
- Launch mpvnet.exe and either move your mouse very quickly to a different screen before it launches, or use anything that will slightly delay it. Opening streams with streamlink for example.
Expected behavior
remember-window-position should work the same as in different gpu-api= settings, rather than opening a centered window based on mouse cursor position.
Additional context
- mpv.net 6.0.4.0 (17.08.2023) mpv v0.36.0-103-g455487bd (16.08.2023)
- Windows 10 Pro
- Radeon RX 570