Skip to content

mpv.net breaks scripts that rely on mouse-up events #567

@Sneakpeakcss

Description

@Sneakpeakcss

Describe the bug
Initial discussion about this issue was created on uosc repo tomasklaen/uosc#615.

No matter the configuration, mpv.net seems to be blocking(?) mouse-up events and breaking scripts that rely on them, the mentioned uosc discussion has a video showcasing it in that case, but same issues happen in other scripts like crop.lua where the cropping action doesn't properly execute unless mpv.net is in fullscreen.

To Reproduce

Steps to reproduce the behavior:

  1. Install either uosc or crop.lua script
  2. Try to change volume by clicking on uosc's volume bar or initialize cropping(with hotkey) by clicking on video.

Expected behavior
In case of uosc: The volume bar shouldn't be locked to the mouse cursor like LMB is still being held after clicking on it.
In case of crop: The cropping overlay should initialize after using the hotkey+LMB rather than locking it in mouse-down state.

Screenshots

uosc.mpv.net.mp4

Additional context

All of those examples work without any issues when mpv.net is in fullscreen/maximized state, so it might be connected to dragging action, but i can't be sure since --no-window-dragging doesn't seem to do anything in mpv.net. It might also be connected to previously reported #533 issue

  1. mpv.net version v6.0.4.0-stable
  2. Windows version WIN10 21H2

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions