Window doesn't auto resize on Hyprland
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Important Information
- mpv version:
0.36.0 - Linux Distribution and Version: Archlinux, kernel version
6.6.1 - Source of the mpv binary: Official Archlinux build
- Window Manager and version: Hyprland version
0.30.0
Reproduction steps
Run mpv with --auto-window-resize=yes flag, and provide it with two input files that differ in aspect ratio or resolution.
$ mpv --config=no --auto-window-resize=yes --log-file=/tmp/mpv.log Downloads/vertical.jpg Downloads/horizontal.jpg
Screenshots for the first and second images being displayed.
Expected behavior
mpv resize its window to fit the second image resolution.
Actual behavior
mpv doesn't change its window size.
Log file
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 reported command with the two images under Hyprland and inspect /tmp/mpv.log alongside the linked screenshots. Trace the window-size update path for --auto-window-resize when the second image is loaded; done means the window resizes to fit the second image without regressing other window managers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100