Global hotkey event tap dies silently and never re-arms

Abierto
#1,300 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
50/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
macos, rust, tauri
Área
desktop

Línea de trabajo

Start by tracing the global hotkey event-tap and listener handling for macOS tap-disabled notifications; the issue does not name source files or tests. Done means the listener re-arms after a timeout and, if that fails, the user sees a warning with a restart-listener option.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Environment: OpenLess 2.0.2-Beta.3+build.20261026-c9f49c60, macOS 27.2 (26B123) arm64.

Steps
  1. Use the app normally for a while.
  2. At some point the global hotkey stops responding.
Expected

Re-arm the tap when macOS reports kCGEventTapDisabledByTimeout, and if re-arming fails, warn the user visibly and offer "restart listener".

Actual

The event tap is gone. The app stays in the menu bar, looks completely healthy, and the capsule never appears again. Nothing in the UI indicates a problem, and there is no log line either. Only a full quit and relaunch restores it.

Evidence
01:09:30 [hotkey] 触发键与其他键组合按下 —— 撤销本次触发     # last hotkey line ever
… 40 minutes of the app running with zero hotkey events …
01:46:20 [hotkey] CGEventTap 已启动                          # after manual restart
01:46:20 [coord] hotkey listener installed (after 1 attempt(s))
Lenguaje dominante
Rust
Estrellas
3.7k
Forks
349
Merge medio
2 d 14 h
PR fusionados (30 d)
97

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Open-Less/openless

Todos los issues de Open-Less/openless

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.