Global hotkey event tap dies silently and never re-arms

オープン
#1,300 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
macos, rust, tauri
領域
desktop

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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))
主要言語
Rust
スター
3.7k
フォーク
349
平均マージ
2日 14時間
マージ済み PR(30日)
97

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Open-Less/openless のほかの issue

Open-Less/openless の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。