libretro / libretro/RetroArch

Disabling 'set game focus on' with scroll lock (toggle) turns on the RA mouse cursor

Open
#10,334 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

First and foremost consider this:

  • Only RetroArch bugs should be filed here. Not core bugs or game bugs
  • This is not a forum or a help section, this is strictly developer oriented

Description

Not writing about the native cursor, but the smaller white cursor that appears if you have mouse enabled on xmb. If the game already has a cursor, you see two, out of sinc cursors, and also the 'mouse cursor area' appears to be corrupted and you can't move the mouse as much as you'd expect.

Expected behavior

turning on and off game focus mode shouldn't show the cursor that is only used on retroarch menus, or corrupt the area the games cursors can move to (btw this can be worked around with quick moving back and forth of the touchpad/mouse so the game cursor eventually ends up on a 'forbidden' area, but it's not 'fixed' per-se).

Actual behavior

the things described

Steps to reproduce the bug

I'm not sure if all of these are needed.

  1. use xmb (edit: also happens in ozone)
  2. turn of show mouse cursor / mouse control
  3. make RA windowed fullscreen mode.
  4. set the binding to 'game focus mode' to scroll lock
  5. play a game with a game mouse cursor
  6. notice the change hid the RA menu cursor.
  7. turn on 'game focus mode' and off again.
  8. notice that the small white RA menu mouse cursor appeared and moves with the game native cursor.
  9. it's possible you'll notice that you can't move the cursor(s) to all areas of the screen now.
Bisect Results
Version/Commit

You can find this information under Information/System Information

[INFO] RetroArch 1.8.5 (Git f48c668447)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4
[INFO] Built: Mar 21 2020
[INFO] Version: 1.8.5
[INFO] Git: f48c668447
[INFO] =================================================
<

Environment information
  • OS: Linux AIVAS 5.3.0-42-generic #34-Ubuntu SMP Fri Feb 28 05:49:40 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

  • Compiler: gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)

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

Reproduce the issue using XMB or Ozone, windowed fullscreen, Scroll Lock game focus, and a game with its own mouse cursor. Start by tracing the game-focus toggle and RetroArch menu-cursor handling; done means toggling focus no longer shows the RetroArch cursor or restricts the game's cursor area.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
frontend
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.