mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
28.04k stars 2.88k forks source link

Double click fullscreen on touchpad is broken on latest Manjaro KDE Plasma (X11) #14248

Closed d-patyk closed 4 months ago

d-patyk commented 4 months ago

mpv Information

mpv v0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
 built on Apr 18 2024 06:31:17
libplacebo version: v6.338.2
FFmpeg version: n6.1.1
FFmpeg library versions:
   libavutil       58.29.100
   libavcodec      60.31.102
   libavformat     60.16.100
   libswscale      7.5.100
   libavfilter     9.12.100
   libswresample   4.12.100

Other Information

Reproduction Steps

Install Manjaro with latest KDE Plasma, install mpv, open some video. Exit fullscreen if in fullscreen.

When you click on window, cursor immediately goes into "Move window" mode. When clicking with mouse, it goes back fast enough to register second click in normal mode and go into fullscreen. (Although still not perfect, sometimes it doesn't register second click) When clicking with touchpad, it goes into "Move window" mode and stays there for 0.5-1 second, so double click can't register and you can't go into fullscren.

upd. if you click suuuuuper fast with touchpad, you can manage to double click before cursor goes into "Move window" mode :3

Expected Behavior

Working

I expect that when I click, cursor doesn't go into "Move window" mode, but if I click, hold and then move cursor while holding, it goes into "Move window" mode. If I'm not wrong, before latest Manjaro KDE Plasma update (KDE 5 -> KDE 6), it was working pretty good. Not sure if issue should be fixed on their side or on mpv side.

Actual Behavior

Not working

Log File

output.txt

Sample Files

No response

I carefully read all instruction and confirm that I did the following:

Dudemanguy commented 4 months ago

Bisected to 531704e35d9a5a4b143072d25657509138b5607c. Looks the _NET_WM_MOVERESIZE eats the second click. cc @na-na-hi