Skip to content

Global hotkey event tap dies silently and never re-arms #1300

Open

Description

@EmmyBeckmann

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))

Activity

  1. added
    bug
    macOS
    area:hotkey
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:hotkeybugmacOS

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions