Summary: | [Wayland] Fullscreen in mpv cannot be enabled by double-clicking | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | magiblot |
Component: | wayland-generic | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, butirsky, kde, meven29, nate |
Priority: | NOR | Keywords: | wayland |
Version: | 5.18.4 | Flags: | vlad.zahorodnii:
Wayland+
vlad.zahorodnii: X11- |
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/kwin/commit/2d13bc3aa8e6943fc169ab71310ee1ecc680a14b | Version Fixed In: | 5.20.0 |
Sentry Crash Report: | |||
Attachments: |
Link to video showing the issue
Output of mpv with WAYLAND_DEBUG=1 Output of mpv with WAYLAND_DEBUG=1 on GNOME Output of mpv with WAYLAND_DEBUG=1 on weston |
Description
magiblot
2020-05-09 17:28:33 UTC
Created attachment 128301 [details]
Output of mpv with WAYLAND_DEBUG=1
Created attachment 128302 [details]
Output of mpv with WAYLAND_DEBUG=1 on GNOME
On GNOME, the first click also causes the drag cursor to be shown but the second one enables fullscreen mode.
Created attachment 128303 [details]
Output of mpv with WAYLAND_DEBUG=1 on weston
Those logs are with gnome-session 3.36.0 and weston 8.0.0
It is easier to understand if you place mpv's window at the top left corner of the screen. What seems to happen (judging from what I see, without having read the logs) is: 1. Double click into mpv 2. mpv does get in fullscreen mode 3. Immediately after that, mpv's area is resized to the initial window size. 4. But mpv is still in fullscreen mode (so says the Alt+F3 menu, and it is also not possible to drag the window even if holding the Alt key). Additionally, there are times when double-click doesn't trigger the fullscreen mode. When pressing key 'f', mpv gets into fullscreen mode as expected. From the kwin log. [951406.429] -> xdg_toplevel@14.set_fullscreen(nil) [951406.573] xdg_toplevel@14.configure(0, 0, array) That's a super weird thing for us to send. A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/93 Git commit 687ef97875761db0f64dcc76bb1761060a26812e by Benjamin Port. Committed on 29/06/2020 at 07:03. Pushed by bport into branch 'fullscreen_moving'. Prevent move/resize event when handling set full screen event M +32 -0 autotests/integration/move_resize_window_test.cpp M +1 -0 xdgshellclient.cpp https://invent.kde.org/plasma/kwin/commit/687ef97875761db0f64dcc76bb1761060a26812e Git commit 2d13bc3aa8e6943fc169ab71310ee1ecc680a14b by Benjamin Port. Committed on 07/07/2020 at 08:35. Pushed by bport into branch 'master'. Prevent move/resize event when handling set full screen event M +32 -0 autotests/integration/move_resize_window_test.cpp M +1 -0 xdgshellclient.cpp https://invent.kde.org/plasma/kwin/commit/2d13bc3aa8e6943fc169ab71310ee1ecc680a14b |