You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While testing mouse controls i've noticed that mpv.net seems to be having issues with detecting consecutive MBTN_RIGHT clicks, even when it's unbinded from default context menu command, or when defined as MBTN_RIGHT ignore.
On top of that… MBTN_RIGHT_DBL seems to only be detected on third mouse click.
And if this is any clue… When MBTN_RIGHT_DBL is unbinded, mpv.net doesn't seem to send the typical message:
[input] No key binding found for key 'MBTN_RIGHT_DBL'
like it happens in mpv.
Steps to reproduce the behavior:
Either use RMB in the linked seek-to.lua script or put this into input.conf:
MBTN_Right script-message-to console type "print-text 'MBTN_Right'" ; keypress ENTER
MBTN_Right_dbl script-message-to console type "print-text 'MBTN_Right_dbl'" ; keypress ENTER
MBTN_RIGHT should detect every single click the same as in mpv, and MBTN_RIGHT_DBL shouldn't require 3 clicks.
At first i thought that this might not be a bug, since mpv.net uses the RMB for handling the context menu. On the other hand, it does this through a normal command like any other hotkey, so the disparity seems a bit odd, especially when MBTN_RIGHT is unbinded or when forced by mp.add_forced_key_binding.
Additional context
mpv.net version: mpv.net 7.0.0.5 (28.12.2023)
Windows version WIN10 22H2
GPU name RX570
The text was updated successfully, but these errors were encountered:
Sneakpeakcss
changed the title
Potential bug with `MBTN_RIGHT / MBTN_RIGHT_DBL handling
Potential bug with MBTN_RIGHT / MBTN_RIGHT_DBL handling
Jan 4, 2024
Describe the bug
While testing mouse controls i've noticed that
mpv.net
seems to be having issues with detecting consecutiveMBTN_RIGHT
clicks, even when it's unbinded from default context menu command, or when defined asMBTN_RIGHT ignore
.On top of that…
MBTN_RIGHT_DBL
seems to only be detected on third mouse click.And if this is any clue… When
MBTN_RIGHT_DBL
is unbinded,mpv.net
doesn't seem to send the typical message:like it happens in
mpv
.Steps to reproduce the behavior:
RMB
in the linkedseek-to.lua
script or put this into input.conf:Screenshots
In case of the mentioned .lua script:
Spamming
RMB
inmpv.net
1mpvnetspam.mp4
And in
mpv
for comparison2mpvspam.mp4
3RMBspamcomparison.mp4
4mpvnettrippleclick.mp4
Expected behavior
MBTN_RIGHT
should detect every single click the same as inmpv
, andMBTN_RIGHT_DBL
shouldn't require 3 clicks.At first i thought that this might not be a bug, since
mpv.net
uses theRMB
for handling the context menu. On the other hand, it does this through a normal command like any other hotkey, so the disparity seems a bit odd, especially whenMBTN_RIGHT
is unbinded or when forced bymp.add_forced_key_binding
.Additional context
mpv.net 7.0.0.5 (28.12.2023)
WIN10 22H2
RX570
The text was updated successfully, but these errors were encountered: