mpv icon indicating copy to clipboard operation
mpv copied to clipboard

Screen does not resize if paused then switch to full screen

Open hkenneth opened this issue 12 years ago • 8 comments

Not sure about other OS but for the Windows version, if you pause a video in window mode than switch it to full screen, it would look like this:

untitled

hkenneth avatar Sep 06 '14 03:09 hkenneth

I have seen this once on my Windows machine, but strangely I can't reproduce this today...Will have another look tomorrow.

bodayw avatar Sep 06 '14 23:09 bodayw

OK, I reproduced this, but it's kind of different.

This only happens when I start playing a video on the screen with EXACTLY the same resolution as the video file (1920x1080 in this case), and mpv will somehow "match" the video picture to the screen (feels like a fullscreen mode), and then try to drag the window (no matter paused or not), you will get the bug above.

This doesn't happen when I start playing a video file with any resolution smaller than 1920x1080 (not even 1920x1038).

Tested this on a laptop with Windows 8.1 Pro and a external 1920x1080 monitor.

bodayw avatar Sep 08 '14 23:09 bodayw

Windows usually considers windows with a size same as the screen as fullscreen. Maybe we need some more hacks around this.

ghost avatar Sep 08 '14 23:09 ghost

But as you can see in my screenshot, my video is not exactly 1080p. Yesterday I tried this on a 1080p video but could not reproduce the issue. The only difference between the 2 videos, besides the resolution, is that the 1st one loaded with subtitles and the 2nd one didn't.

hkenneth avatar Sep 09 '14 21:09 hkenneth

Well, I have no idea what could cause this, but I pushed a commit which tries to be more careful with large video sizes.

Please try as soon as @lachs0r has a new build.

ghost avatar Sep 09 '14 22:09 ghost

Please try as soon as @lachs0r has a new build.

I'm not sure whether the latest build (20140909) has include this change or not, but I just updated to this build anyway. And now I can no longer reproduce the bug.

bodayw avatar Sep 12 '14 01:09 bodayw

I can confirm that. I downloaded the latest build (20140909) and the issue is gone.

hkenneth avatar Sep 14 '14 05:09 hkenneth

I'll just assume it's fixed, then.

(Strange thing, though.)

ghost avatar Sep 14 '14 08:09 ghost