When changing videos mpv window resizes from center, there should be an option to resize from any corner or automatically detect which corner to resize from depending on snapped edges (see pictures)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
Provide following Information:
- mpv version : mpv 0.33.0-204-ga1c6762156
- Windows Version : 21H1 Build 19043.1052
- Source of the mpv binary : Sourceforge
- If known which version of mpv introduced the problem : No, It was always there
- Possible screenshot or video of visual glitches : si senor, read along
Reproduction steps
- Load a few videos in playlist which are of different resolutions
- Snap the window to any corner (I'll be doing upper-right because why not)
- Play one video and then keep playing next to see how window leaves the corner as it gets resized (screenshots):
first video (I have snapped this manually to upper right corner):

the next video has larger width but smaller height and thus part of it moves outside the desktop and window is no longer snapped to the corner:

next video is smaller than the first one in both height and width and I cant believe you've done this:

Expected behavior
Consider this is first video I play and snap to upper left corner:

when i play next video, instead of resizing from the center and leaving the screen corner, there should be some way to set the resize anchor, so that window is resized from upper left corner and next video stays in that corner:

I think you get the idea by now:

Actual behavior
Just described this in Reproduction steps
Log file
Not required to reproduce the problem
Sample files
Not required, unless you want me to send you some memes?!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior on Windows with a playlist containing videos of different resolutions, after snapping the mpv window to a corner. Investigate the existing window-resizing behavior; done means providing a selectable or automatic resize anchor so playback keeps the window attached to the snapped corner.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100