mpv.net icon indicating copy to clipboard operation
mpv.net copied to clipboard

--window-maximized=yes does not work with --border=no

Open DJXJD opened this issue 4 years ago • 3 comments

Describe the bug When running mpv.net through the command line with the flags "--border=no --window-maximized=yes", the window appears without a border and briefly takes over the entire screen, before quickly no longer being maximized.

To Reproduce Steps to reproduce the behavior: run: "(path to mpv.net) --border=no --window-maximized=yes (path to video)" notice entire screen going black for a second notice window then appears unmaximized

Expected behavior window behaves almost as if it were fullscreen

edit: I initially had "path to mpv.net" and "path to video" surrounded in greater than and less than symbols. Because of that, that text couldn't be seen, so I replaced those symbols with parentheses

edit 2: I forgot to mention this earlier, but I tested this in the latest beta version and the problem still occurs

DJXJD avatar Dec 02 '20 16:12 DJXJD

Can confirm that I can recreate this issue on 5.4.8.5 Beta.

DReaper avatar Dec 11 '20 23:12 DReaper

Difficult to implement...

That's why it does not work in mpv either...

Try:

mpv --fullscreen=no --window-maximized=yes --border=no video.mkv

Does not start maximized but fullscreen...

Or start with normal size and then try to maximize with the maximize button or with Win+Up...

Again does not start maximized but fullscreen...

Difficult to implement... like most window related functionality..., already spent weeks for window related features... 😒

stax76 avatar Dec 12 '20 16:12 stax76

Sorry, had a bad day yesterday, but no, I don't think I can do it.

stax76 avatar Dec 13 '20 22:12 stax76