mpv-player / mpv-player/mpv

[Wayland] `auto-window-resize` should resize relative to center point of the window

Open
#17,714 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

meta:feature-request vo:gpu:wayland
Dominant language
C
Stars
37k
Forks
3.5k
Avg merge
1d 10h
Merged PRs (30d)
22

Description

Expected behavior of the wanted feature

auto-window-resize should resize relative to center point of the window to minimize jarring image changes during file switching.

Alternative behavior of the wanted feature

Select which border is best to resize to prevent going video outside the screen.

Log File

No.

Sample Files

No.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Wayland handling of the auto-window-resize feature and how it chooses the window's resize position. Compare the centered resize behavior with selecting a border that keeps the video on screen. Done means file switching produces less jarring changes without placing the video outside the screen.

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
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.