display-names
property doesn't correctly update after moving mpv.net
between monitors.
#705
Labels
display-names
property doesn't correctly update after moving mpv.net
between monitors.
#705
Describe the bug
In multi-monitor setup
mpv
returns the value based on window position, for example:\\.\DISPLAY1
,\\.\DISPLAY2
or\\.\DISPLAY1,\\.\DISPLAY2
when the window is between screens. Inmpv.net
the value is only correct when the window is first created or after it was resized in any way (edge-drag / fullscreen / maximized / minimized).mpv.net
opens on primary monitor thendisplay-names
correctly returns\\.DISPLAY1
, but after moving it to the secondary screen, it gets stuck on\\.\DISPLAY1,\\.\DISPLAY2
value. Only after the mentioned resizing it will correctly return\\.\DISPLAY2
.mpv.net
opens on the secondary screen (screen=1
) then the issue is reversed. The same thing happens after refreshing the value with the mentioned 'resizing actions' and then moving the window back to the other screen.To Reproduce
mpv.net
and checkprint-text ${display-names}
in the console.Expected behavior
display-names
should correctly return the current position without requiring any additional actions, same as it does inmpv
.Additional context
The text was updated successfully, but these errors were encountered: