tomasklaen / uosc

Feature-rich minimalist proximity-based UI for MPV player.
GNU Lesser General Public License v2.1
1.74k stars 69 forks source link

Mouse cursor position is freezed at last detected position when quickly moving mouse cursor out of mpv window #1000

Open Tsuchimikado opened 1 week ago

Tsuchimikado commented 1 week ago

How to reproduce:

Mouse cursor position is fixed to monitor coordinates and not to mpv window. It can be checked by resizing mpv window which results to UI elements fading in/out, buttons highlighted, thumbfast showing thumbs etc.

screenshots ![](https://i.imgur.com/AAuHZ82.png) ![](https://i.imgur.com/vlFNNwq.png)

uosc 5.6.0 mpv 0.39.0 os Windows 10

tomasklaen commented 1 week ago

I can't reproduce. Maybe I don't 100% get what you're describing. Video of it happening would help.

But either way, I'd guess this is an mpv issue? We just respond to cursor position events mpv sends us.

Tsuchimikado commented 1 week ago

Sorry, tried it on fresh portable and found that hwdec=d3d11va is also needed.

mpv.conf ``` osc=no osd-bar=no border=no video-sync=display-resample hwdec=d3d11va volume=23 ```

I'd guess this is an mpv issue?

Cannot reproduce this in default UI and ModernX.

Video of it happening would help.

https://github.com/user-attachments/assets/e5274b9d-ec14-4c4b-9e04-5197b6df1e96

UPD: it is possible to reproduce this behaviour with hwdec=no or hwdec=dxva2 but more difficult than with hwdec=d3d11va