[Wayland] quick vertical resizing reverts the window dimensions to before the resize.
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
mpv Information
mpv v0.39.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
built on Nov 27 2024 18:31:26
libplacebo version: v7.349.0
FFmpeg version: n7.1
FFmpeg library versions:
libavcodec 61.19.100
libavdevice 61.3.100
libavfilter 10.4.100
libavformat 61.7.100
libavutil 59.39.100
libswresample 5.3.100
libswscale 8.3.100
Other Information
- Linux version: Arch Linux
- Kernel Version: Linux karamba2000 6.12.7-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 27 Dec 2024 14:24:37 +0000 x86_64 GNU/Linux
- GPU Model: [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] [1002:73ef] (rev c1)
- Mesa/GPU Driver Version: Mesa 24.3.2-arch1.1
- Window Manager and Version:
- KDE Plasma: 6.2.4
- Niri: 0.1.10 (v0.1.10-154-g4741ab2e)
- Source of mpv: arch extra repo
- Latest known working version: /
- Issue started after the following happened:
I started testing the new Niri floating mode (see https://github.com/YaLTeR/niri/issues/908).
Reproduction Steps
mpv --no-config somevideo.mp4- perform a quick (as in mouse speed) vertical resize
Expected Behavior
mpv keeps the dimensions after the resize regardless of how fast I resize.
Actual Behavior
mpv reverts to its initial dimensions after the compositor already showed mpv at the requested resized dimensions.
(On Niri the video also jumps position but on KDE it does not. Maybe @YaLTeR knows why)
https://github.com/user-attachments/assets/a08e7295-6b2d-43a1-a347-1614f1d213f1
I can attach a kde recording too if requested.
Log File
Sample Files
I carefully read all instruction and confirm that I did the following:
- I tested with the latest mpv version to validate that the issue is not already fixed.
- I provided all required information including system and mpv version.
- I produced the log file with the exact same set of files, parameters, and conditions used in "Reproduction Steps", with the addition of
--log-file=output.txt. - I produced the log file while the behaviors described in "Actual Behavior" were actively observed.
- I attached the full, untruncated log file.
- I attached the backtrace in the case of a crash.
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
Reproduce with mpv --no-config somevideo.mp4 and perform a quick vertical resize under the reported Wayland environments. Start by reviewing the attached output.txt and wayland-resize-sample.zip; done means the window retains the requested dimensions after rapid resizing without the reported position jump.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100