Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 opened this issue Apr 30, 2024 · 2 comments

Comments

@soredake
Copy link
Contributor

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:

  • OS: Windows 11 Pro
  • Syncplay version and build type: Syncplay 1.7.2
  • Media player and version: mpv v0.38.0-63-gb364e4a6

Additional context
Add any other context about the problem here.

@Et0h
Copy link
Contributor

Et0h commented Apr 30, 2024

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants