Steam Frame VR keyboard intermittently emits two key presses for one click
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux, shell
- Área
- desktop, operating-systems
Línea de trabajo
Start by comparing the two Steam keyboard paths described in the issue: dashboard/keyboard.js and steamui/virtualkeyboard.js, then trace the native text bridge routes and compositor-to-XWayland delivery. The captures show duplicate key transitions before the application, but do not identify the first duplicated call; completion means locating and explaining that source and confirming one deliberate click yields one key press.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Environment
| Component | Version |
|---|---|
| Steam Frame SteamOS | 0.6.0, build 20261118.6185619 |
| Frame SteamVR | 2.19.4, Linux arm64 |
| Steam client | 1795048523 |
| Left and right Frame controllers | Firmware 1789082792, matching the installed required version |
| XRService | Build d99559fed1, 2026-11-12 00:21:48 |
| Controller driver | SteamVR CV driver (IServerTrackedDeviceProvider_004) |
Reproduction
- On the Frame, open a local app overlay and focus an unsent text field. The measured case used the Hubchat composer.
- Open the SteamVR on-screen keyboard. Aim at the letter A and click it once with the right or left controller trigger. Repeat with a full release and roughly half a second between deliberate clicks.
- Repeat with the digital bumper above the trigger. Then use the headset Aux button with head aiming to select keys.
- If a PC is streaming to the Frame, disconnect the stream and repeat on the headset.
Expected: Each deliberate click inserts one letter and produces one typing sound.
Actual: Some clicks insert two copies of the selected letter and make two typing sounds. Trigger, bumper, and headset Aux all reproduce it. It persists after PC streaming stops. The reporter has not encountered it when typing on PC SteamVR.
Measured input trace
On 2026-11-20 at about 19:00 UTC, a 60-second XI2 capture on the Frame subscribed to raw key events on XWayland display :0. It filtered to X keycode 38 (A). It recorded server timestamps, press/release state, device IDs and the X repeat flag. No input was injected.
- In the first 11 distinct timing clusters, seven doubled, yielding 18 complete press/release pairs. The reporter saw exactly 18 characters in the test draft from about 10 deliberate clicks.
- Across the full capture, 14 timing clusters yielded 22 pairs. Eight clusters doubled. The two presses were 0–7 ms apart, with a median of 2 ms. Each pair had its own release.
- All 22 presses and releases had master device 3 and source 9 (
xwayland-keyboard:21). Every event had the repeat flag clear. None came from XTEST source 5. - Example using X server time relative to the first press:
0 ms press, 2 ms release, 2 ms press, 32 ms release. - VRLink had shut down at 18:56:33 UTC, before this capture. General system load remained elevated after shutdown.
Local code and log findings
- SteamVR loaded the default
vrcompositor_bindings_frame_controller.jsonandvrcompositor_bindings_frame_hmd.json. The trigger, bumper and headset Aux all map to/actions/lasermouse/in/leftclick. The trigger uses 0.50 activation and 0.45 deactivation thresholds. The bumper and Aux are digital, and the bumper has no binding in the separate Dual Analog keyboard action set. - The dashboard requests
ShowKeyboardForOverlay. The native vrwebhelpersystem.keyboardoverlay registers mouse input. The shippeddashboard/keyboard.jsinvokes the ordinary key handler on mouse-down and passes text to nativeVRKeyboard.SetKeyboardText. Its mouse-click callback handles Done. The shared button wrapper plays the press sound on mouse-down. - Steam also ships a separate
steamui/virtualkeyboard.jsthat can accept mouse-down and gamepad Confirm. We have no event trace showing that the two keyboard implementations handled the same click. vrcompositor.txtsometimes logsMouse down count is 1 but states are all false. What?. The corresponding branch resets the counter. The warning occurs outside the test and was absent during the 18-pair portion, so we cannot use it as a marker for the duplicate.
Follow-up native trace
A second 60-second capture at about 19:06 UTC combined the same XI2 capture with hardware performance events at two SteamVR compositor call sites and a vrwebhelper call site. It used no ptrace attachment, settings changes, or restart.
| Test batch | Groups at the compositor click sites | Complete XI2 pairs | Doubled groups |
|---|---|---|---|
| First batch | 10 | 12 | 2 |
| Second batch | 10 | 13 | 3 |
The two output counts matched the drafts reported after each batch. Each group ran the same two adjacent compositor call sites, one queueing overlay event 301 (MouseButtonDown) and the other entering a distinct follow-on path. They ran about 4–10 μs apart for both ordinary and doubled keys. There was no second invocation of the measured event-301 enqueue site for the five doubled keys. The traced native mouse-button delivery call in the vrwebhelper browser process was active for other dashboard interactions and recorded no samples during either A batch.
Steam's separate floating keyboard accepts both mouse and gamepad confirm events. Its text dispatcher selects one route per call, including SteamClient.OpenVR.Keyboard.SendText or SteamClient.Input.ControllerKeyboardSendText, depending on the active overlay. Which branch the measured Hubchat keyboard used has not been captured.
What the results establish
The duplicate key transitions already exist at XWayland, before the application processes them. Conventional X autorepeat and parallel delivery from XTEST do not fit this trace. The digital alternatives reproduce the issue without using the analog trigger threshold. An active PC stream is unnecessary.
The follow-up narrows the likely duplication to a stage after the traced compositor mouse-down enqueue and at or before XWayland. The separate Steam-hosted keyboard and its native text bridge are candidates. The two typing sounds also make duplicate delivery to a keyboard handler plausible. The trace did not cover every compositor output path or identify the first duplicated call inside the Steam keyboard, the native bridge, or Gamescope.
- Lenguaje dominante
- Shell
- Estrellas
- 1.2k
- Forks
- 58
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ValveSoftware/SteamVR-for-Linux
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ValveSoftware/SteamVR-for-Linux#981 · 4 comentarios · 1 reacción ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 38/100
ValveSoftware/SteamVR-for-Linux#1097 ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ValveSoftware/SteamVR-for-Linux#1095 · 2 comentarios ·
-
bug
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
ValveSoftware/SteamVR-for-Linux#1094 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ValveSoftware/SteamVR-for-Linux#1093 ·
Todos los issues de ValveSoftware/SteamVR-for-Linux
Issues similares
-
Bump runtime to 26.08Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
flathub/cc.arduino.IDE2#168 ·
-
area:docs community needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
NetSparkleUpdater/NetSparkle#759 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
sidebandstudio/clawtrate#1114 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100