-
-
Notifications
You must be signed in to change notification settings - Fork 57
emacs-app (Homebrew) windows not detected — window_count: 0 despite app running #313
Description
Describe the bug
Rift does not detect any windows for emacs-app (installed via Homebrew cask). rift-cli query applications shows the app running with
window_count: 0 even when Emacs has a visible frame open. As a result, Rift cannot tile, float, or manage the window in any way — keybinds
like toggle_window_floating have no effect when Emacs is focused.
To reproduce
- Install emacs-app via Homebrew:
brew install --cask emacs-app - Grant Rift accessibility permissions in System Settings → Privacy & Security → Accessibility
- Launch Emacs: a frame should be visible
- Run
rift-cli query applicationsand observewindow_count: 0for org.gnu.Emacs - Focus the Emacs window and attempt any Rift keybind (e.g. toggle_window_floating). no effect
Expected behavior
Rift detects and manages Emacs windows like any other Cocoa app.
Actual behavior
{"bundle_id": "org.gnu.Emacs", "name": "Emacs", "window_count": 0}
App rule { app_id = "org.gnu.Emacs", floating = false, manage = true } has no effect.
Environment
- macOS: 26.3.1 (Build 25D771280a)
- Emacs: emacs-app 30.2-1 (bundle ID: org.gnu.Emacs)
- rift-cli query metrics: windows_managed: 7 (other apps managed correctly)
Additional context
Also tested with railwaycat/emacsmacport/emacs-mac — same result. Issue persists after reboot and re-granting accessibility permissions.
Other apps (Ghostty, Firefox) are detected and managed correctly.
Note that I had an LLM write the issue to quickly make it reproducible, but a human is having this issue ;-).