Skip to content

Virtual Keys Inspector silently falls back from TCP and mislabels the source #687

@malpern

Description

@malpern

Tier: 2 (rough edge)

From the pre-release feature-gap audit.

Problem

The Virtual Keys Inspector tries to load live keys from Kanata over TCP and silently falls back to static config parsing on failure/timeout, with no feedback about which path is in use. The TCP result is also labeled as a fakekeys source even when the config source is virtualkeys, creating a UI/data mismatch.

Evidence

  • Sources/KeyPathAppKit/UI/Settings/VirtualKeysInspectorView.swift:249-261loadVirtualKeysFromTCP() silent fallback; source label hardcoded to fakekeys.

Suggested fix

Indicate the data source/loading state, bound the TCP timeout with feedback, and label the source correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions