Syncplay / syncplay

Client/server to synchronize media playback on mpv/VLC/MPC-HC/MPC-BE on many computers
http://syncplay.pl/
Apache License 2.0
2.12k stars 215 forks source link

MPV interface is stretched out and button are messed up when you use `window-maximized=yes` until you go to full screen #678

Closed soredake closed 4 months ago

soredake commented 5 months ago

Describe the bug MPV interface is stretched out and button are messed up when you use window-maximized=yes until you go to full screen

To Reproduce Steps to reproduce the behavior:

  1. Install syncplay.
  2. Install mpv-git from scoop.
  3. Setup path to mpv-git in syncplay.
  4. --no-config --window-maximized=yes set this as player arguments.
  5. Load some file, I used 4k movie.
  6. Interface is stretched and button are messed up, for example, pressing play will actually trigger playlist change to previous item.

Expected behavior No such problem observed with mpv.net

Screenshots Screenshot 2024-04-30 135615

Version and platform:

Additional context Add any other context about the problem here.

Et0h commented 5 months ago

I don't use scoop so I tried with https://sourceforge.net/projects/mpv-player-windows/files/64bit/mpv-x86_64-20240421-git-b364e4a.7z/download with Syncplay 1.7.3 and on my set-up it the text in the top-left is a bit small for like half a second then corrects itself.

It is possible that the issue only sticks around on a computer that is running faster and/or slower than my computer which causes something to happen too soon or too late, maybe relating to the timing/sequencing of mp.command('print-text "<get_syncplayintf_options>"') in syncplayintf.lua which triggers self._sendMpvOptions() in mpv.py. However, since I can't reproduce unfortunately I am not in a position to work on a fix.

soredake commented 4 months ago

This stretching issue can be fixed with auto-window-resize=no