jellyfin-mpv-shim icon indicating copy to clipboard operation
jellyfin-mpv-shim copied to clipboard

Mouse cursor not hidden when playing video with MPV Shim on Raspberry PI OS

Open SteveDinn opened this issue 4 years ago • 6 comments

Describe the bug After a moment of mouse inactivity, the mouse cursor should disappear when it is in front of the playing video. On every other OS, this is the case, but on Raspberry Pi OS on my new RPi 4, it is not. The kicker here is that when I play a video manually via MPV, it does disappear as intended, so it doesn't seem like MPV itself is the culprit. This also does not happen on the same hardware with Ubuntu installed.

Raspberry Pi OS is still 32-bit, so that may be part of the issue, I'm not sure.

I know this sounds like a sketchy bug, but I'm willing to test or answer any questions I can to help resolve it.

To Reproduce Steps to reproduce the behavior:

  1. Install Raspberry Pi OS
  2. Install jellyfin-mpv-shim and connect to a server
  3. Play a video
  4. See that the mouse cursor does not disappear

Expected behavior The mouse cursor should disappear from in front of MPV when a video is played.

Desktop:

  • OS: Raspberry Pi OS (2020-08-20)
  • Raspberry Pi 4, 4GB RAM

Error Messages There are no error messages.

SteveDinn avatar Sep 09 '20 12:09 SteveDinn

Sending logs would be helpful. I'm specifically curious if it happens with external or internal mpv. You can follow these instructions to send logs: https://github.com/iwalton3/jellyfin-mpv-shim/wiki/Sending-Logs

iwalton3 avatar Sep 09 '20 22:09 iwalton3

Came back here to mention that I realized it was only happening because I didn't have libmpv installed and it was using external mpv. Installed the library, and it works as expected. Just super weird.

SteveDinn avatar Sep 10 '20 00:09 SteveDinn

That makes even less sense, but I'm glad you found a solution.

iwalton3 avatar Sep 10 '20 00:09 iwalton3

Also happening to me on Windows 10, cursor hides normally when I manually play a video. Log file: https://pastebin.com/raw/Fy1G46r3

Only a problem with external MPV.

whiteworthy avatar Sep 14 '20 03:09 whiteworthy

same issue, would an mpv log also be useful for fixing this? its pretty annoying and only happens whilst shim is running (when i close it manually without killing the mpv window the mouse disappears again normally)

Sakusuke avatar Jun 18 '22 16:06 Sakusuke

I have the same issue while using the external mpv, and funnily enough it only happens if I unassign the "kb_menu_up" and "kb_menu_down" keys in the conf.json. The cursor starts autohiding again if I assign keys back to those functions.

gzpr avatar Jan 20 '23 22:01 gzpr