Skip to content

Hide the console pointer after about 1.5 seconds idle - #359

Merged
v0lumehi merged 1 commit into
fix/launch-options-translationsfrom
fix/console-pointer-idle
Nov 1, 2026
Merged

v0lumehi merged 1 commit into
fix/launch-options-translationsfrom
fix/console-pointer-idle

Conversation

@v0lumehi

Copy link
Copy Markdown
Collaborator

Fix or feature

  • Fix
  • Feature

What and why

In console mode the pointer took a while to hide after it stopped moving (see the comment on #335). It hid after 3 seconds, and a 0.25 s polling timer was added on top of that.
I changed the idle time to 1.25 seconds. With the 0.25 s timer the pointer is hidden 1.25 to 1.5 seconds after the last movement.
The rules are the same. It shows again on movement, a click or a scroll over the launcher, and it hides only over the console window.
The poll interval is now a named constant so a test can check the real delay.
Refs #335.

Checked

  • Tests: cd frontend && swift build && swift test, 651 tests, 0 failures. The ConsolePointer tests use the new times, and a new test steps the poll timer and checks the pointer hides within 1.5 s.
  • Run on a device or Mac: not run by hand. The timing logic is covered by the unit tests only.

Screenshots

None, no visible change. Only the timing of the pointer changes, and no view is drawn differently.

Scope

  • No engine file (dm/, scripts/, docs/, ref/) is added to the repository
  • This does not touch the engine or a game profile, so nothing goes to seedds/nxnative
  • No launcher view changes
  • No keys, game files or data extracted from a game in the change or the attachments

@github-actions github-actions Bot added the launcher The NX2Apple launcher app label Oct 31, 2026
@v0lumehi
v0lumehi force-pushed the fix/console-pointer-idle branch from e6ce032 to 4f76b4a Compare November 1, 2026 00:15
@github-actions github-actions Bot added the windows Windows (the Qt front end) label Nov 1, 2026
@v0lumehi
v0lumehi changed the base branch from main to fix/launch-options-translations November 1, 2026 00:15
@v0lumehi
v0lumehi added this pull request to stack #370 November 1, 2026 00:16
@v0lumehi
v0lumehi removed this pull request from stack #370 November 1, 2026 01:10
@v0lumehi
v0lumehi added this pull request to stack #375 November 1, 2026 01:11
@v0lumehi
v0lumehi merged commit 3ce469d into main Nov 1, 2026
12 checks passed
@v0lumehi
v0lumehi deleted the fix/console-pointer-idle branch November 1, 2026 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

launcher The NX2Apple launcher app windows Windows (the Qt front end)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant