Idea: Automatically hide the mouse cursor when idle #892
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/mods
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#892
Loadingβ¦
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Reported by 3ππ πππππππΎ on Discord
What would you like?
Automatically hide the mouse cursor after it has been idle for a while, particularly when returning to the game after alt-tabbing, so it does not remain visible in the middle of the screen until clicked or moved.
Why would you like this?
The requester alt-tabs frequently and finds the persistent cursor distracting. They note this is not a high-priority request.
Mouse cursor stays visible while playing with a controller (Linux, KDE Wayland)
Version: Longshot v3.1.1 (rc channel), Launcher v1.2.0
System: Bazzite 45 (KDE Plasma, Wayland), NVIDIA RTX 5070 Ti, driver 620.70.06
The mouse cursor is shown over the game even when I'm only using a controller (DualSense). I'd expect it to hide after inactivity or when the controller is in use, as it does on Windows. I found no option to hide it.
I support this feature. Here's my proposed behavior:
The following only applies to the mouse cursor within the Longshot window:
While in-game: If the cursor remains stationary for more than 3 seconds, it should disappear. It should reappear as soon as the cursor moves again.
While in the recompiler settings menu: The cursor should appear whenever it moves and should remain visible even when stationary.
Claimed, for the Linux side Simpeltronic describes: on Windows the cursor over the window hides once the pads or keys are used and comes back when the mouse really moves (host/display.c, gm_cursor_shown / gm_move_counts); the Linux window (host/posix/display_sdl.c) only hides it while the mouse is captured, so with a controller it stays. I'll give the SDL window the same rule, with a check without the game and a windowed run on Linux (GNOME Wayland, RTX 4070). The idle timer posti85 proposes is not part of this: Windows has none either.