Closed na-na-hi closed 4 months ago
Download the artifacts for this pull request:
It breaks OSC seekbar mouse dragging, both osc.lua uosc and mpv-osc-modern are affected.
It breaks OSC seekbar mouse dragging
Should be fixed by https://github.com/mpv-player/mpv/pull/14301.
Why conflict with MBTN_LEFT script binding. In this case, #7563 can still reproducible, the difference is MBTN_LEFT is triggered at the begin of dragging, not at the end of dragging.
mp.add_forced_key_binding('MBTN_LEFT', 'MBTN_LEFT', function() mp.commandv('cycle', 'pause') end)
In this case, https://github.com/mpv-player/mpv/issues/7563 can still reproducible, the difference is MBTN_LEFT is triggered at the begin of dragging, not at the end of dragging.
There is a bug with key bindings registered by scripts which are incorrectly triggered if the command is canceled. https://github.com/mpv-player/mpv/pull/14311 fixes this.
input.conf
bindings aren't affected.
This PR fixes several problems with VO dragging:
--input-dragging-deadzone
option, which adds a deadzone for the built-in VO dragging.MBTN_LEFT
binding.Fixes #7563. Fixes #13225. Fixes #13958. Fixes #14248.