Summary: | MPV player running on Wayland is partially out of the screen when video resolution is higher than screen resolution | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Patrick Silva <bugseforuns> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | matejm98mthw |
Priority: | NOR | Keywords: | wayland-only |
Version: | 5.22.90 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://github.com/mpv-player/mpv/pull/9794 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Patrick Silva
2021-02-20 15:11:35 UTC
Same thing happens here. It will be fixed once mpv adds support for xdg_toplevel.configure_bounds https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/41 wayland-protocols with xdg_toplevel.configure_bounds has been released. If mpv starts using it, this issue will be fixed. Thank you very much Vlad. :) Hi Vlad xdg_toplevel.configure_bounds support was finally added to mpv. I'm using mpv-git on Arch Linux, the video is no longer partially out of the screen after the provided steps, but the playback controls on bottom are hidden behind Plasma panel. Is this a kwin bug or a mpv bug? Not sure, I would need to take another look at it. kwin sends mpv the size of the work area, but mpv still provides a buffer bigger than the specified configure bounds, I assume that's because of the aspect ratio constraint. Not much that we can do, try disabling aspect ratio constraint in mpv. (In reply to Vlad Zahorodnii from comment #7) > try disabling aspect ratio constraint in mpv. I'm not sure if I'm doing it right, but playback controls of mpv are still behind Plasma panel when running the following: $ mpv --video-aspect-override=no video.mkv Try mpv --keepaspect=no <video> instead or put keepaspect=no in mpv config file (In reply to Vlad Zahorodnii from comment #10) > or put > > keepaspect=no > > in mpv config file Thanks, Vlad, it works. :) Should I report the issue with playback controls behind Plasma panel on Wayland to mpv devs? |