libretro / libretro/RetroArch

Mouse input has a delay and feels unresponsive

Open
#13,867 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

input input: mouse
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

This certainly isn't a big problem, but it's an annoying issue that has always existed with RA. There's an input delay when using a mouse, it feels unresponsive, and occasionally the delay will cause me to click on the wrong thing.

In the image below i'm moving my mouse upwards, and the Windows system cursor is in orange and the RA cursor is in white. You can see the RA cursor lags significantly behind...

cursors

To reproduce:

  1. Open RA in fullscreen
  2. Press F11 twice to see both the RA cursor and the system cursor at the same time
  3. Move the mouse around. With both cursors visible it will be more obvious

The problem becomes worse when moving the cursor over playlists because now the cursor will also show visible stuttering if you have thumbnails displayed for each game (RA loading thumbnails causes this stutter). But the system cursor doesn't stutter at all. You can also see that menu buttons are not highlighted and selectable until the RA cursor moves over them, so the OS system cursor can be on top of a button, but you can't actually select it until the RA cursor moves over it.

RetroArch 1.10.3 was used (but it happens in all versions).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in fullscreen RetroArch: press F11 twice, compare the RA and Windows cursors, and move over playlists with thumbnails enabled. No source file or test is named in the report; done means the RA cursor and menu interaction no longer visibly lag or stutter behind the system cursor.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.