Summary: | Bogus resize events sent to mpv | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Jagannathan Tiruvallur Eachambadi <jagannathante> |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde |
Priority: | NOR | Flags: | mgraesslin:
Wayland+
mgraesslin: X11- |
Version: | 5.12.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
mpv and corresponding wayland events
mpv and corresponding wayland events (weston) |
Description
Jagannathan Tiruvallur Eachambadi
2018-02-19 17:48:59 UTC
Can you test the same with weston? From the wayland debug output I don't see any issues. The window is correctly resized to fullscreen and according to the log mpv notices this and scales the video source. Also the buffer is requested in correct size. I don't see what in KWin could cause any problems. Thus I would like to know how other compositors act in this case. Created attachment 110837 [details] mpv and corresponding wayland events (weston) I cannot reproduce it in weston, attaching the logs. In the previous log, the interesting part to look at is: > [889030.075] zxdg_toplevel_v6@15.configure(0, 0, array) > [vo/gpu/wayland] Resizing due to xdg from 1366x768 to 1280x720 > [889030.125] zxdg_surface_v6@3.configure(38258) > [889030.139] -> zxdg_surface_v6@3.ack_configure(38258) > [cplayer] starting audio playback These xdg events don't happen in weston. Thanks that's a help That configure event seems to be in reply to some state changes. From my side, mpv is started fullscreen and I don't perform any operation. I don't even see the resize, I think it happens well before the video is rendered. Unfortunately the mpv version my distribution provides doesn't provide xdg-shell support yet. Thus I cannot really investigate. Sending null configure event sizes should be fixed in master/5.15. Testing opening fullscreen worked here. Please reopen if there's still an issue |