Repository navigation
Hide the console pointer after about 1.5 seconds idle - #359
Merged
v0lumehi merged 1 commit intoNov 1, 2026
Merged
Conversation
v0lumehi
force-pushed
the
fix/console-pointer-idle
branch
from
November 1, 2026 00:15
e6ce032 to
4f76b4a
Compare
v0lumehi
changed the base branch from
main
to
fix/launch-options-translations
November 1, 2026 00:15
5 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix or 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
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.Screenshots
None, no visible change. Only the timing of the pointer changes, and no view is drawn differently.
Scope
dm/,scripts/,docs/,ref/) is added to the repository