[Bug]: PreviousDesktop/NextDesktop actions do nothing on macOS 26.6.2 (MX Master 4)
- Dominant language
- Rust
- Stars
- 21k
- Forks
- 675
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 172
Description
**Description**
On a MX Master 4, the Gesture Button and Haptic Panel are configured in 5-direction gesture mode. `MissionControl` (Up) and `ShowDesktop` (Down) work correctly, but `PreviousDesktop` (Left) and `NextDesktop` (Right) do nothing at all — no visible action, no error dialog.
**Environment**
- macOS 26.6.2 (Build 25G83)
- Device: MX Master 4
- OpenLogi version: 0.8.1 (build 20260826.132846)
- At least 2 Spaces (Desktops) configured in Mission Control
**What I checked**
- Confirmed `Up`/`Down`/`Click` gesture bindings work fine, only `Left`/`Right` fail.
- Per PR #67, this feature reads/toggles the CGS symbolic hotkey registry (IDs 79/81, "Move left/right a space") via private `dlopen`/`dlsym` symbols, then restores previous state.
- Manually forcing symbolic hotkeys 79/81 to `enabled = true` in `com.apple.symbolichotkeys.plist` (and restarting Dock/SystemUIServer) did not fix it — `Ctrl+Left`/`Ctrl+Right` via `osascript` still didn't switch Spaces either.
- Reset and re-granted Accessibility/Input Monitoring permissions — no change.
- Checked `log show` for `openlogi-agent` while pressing the button — no AppleEvent/System Events errors logged (confirming this path doesn't use AppleScript, consistent with PR #67's approach), but also no visible error for the CGS symbolic hotkey call either.
**Hypothesis**
Possible incompatibility between the private CGS symbol resolution/behavior in PR #67 and macOS 26.6.2 (the PR was tested on 26.5). The symbolic hotkey read/temporarily-enable/restore cycle may be silently failing on this OS build.
**Expected behavior**
Left/Right on Gesture Button / Haptic Panel switches to the previous/next Space, consistent with Up/Down working for Mission Control/Show Desktop.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the implementation described in PR #67, especially its private CGS dlopen/dlsym path and symbolic hotkey IDs 79/81. Reproduce the issue on macOS 26.6.2 with at least two Spaces, then trace whether the read, temporary enable, or restore step fails; done means Left and Right switch Spaces without breaking the working gesture actions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100