[Bug]:OpenLogi crashes/exits after macOS machine sleeps
- Dominant language
- Rust
- Stars
- 21k
- Forks
- 675
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 180
Description
### Pre-flight checklist
- [x] I searched [existing issues](https://github.com/AprilNEA/OpenLogi/issues?q=is%3Aissue) and this is not a duplicate.
- [x] I am on the [latest release](https://github.com/AprilNEA/OpenLogi/releases/latest) or a recent `master` build.
- [x] I quit **Logi Options+** before running OpenLogi (the two apps fight over HID++ access and only one can own a receiver at a time).
### Which part of OpenLogi?
GUI (desktop app)
### OpenLogi version
0.7.10
### Operating system
macOS
### OS version & architecture
macOS 15.7.8
### Device model
MX Master 3
### How is the device connected?
Bluetooth (direct, no receiver)
### Affected area(s)
- [ ] Device discovery / detection
- [ ] Button remapping
- [ ] DPI control
- [ ] SmartShift
- [ ] Per-application profiles
- [ ] Battery status
- [ ] Settings / configuration (TOML)
- [ ] Auto-update
- [ ] Menu bar / tray
- [x] Other
### What happened?
Whenever my machine sleeps/wakes, OpenLogi is not running.
I thought it was because Auto Updates was making it crash, but it's not enabled.
### Steps to reproduce
1. Use computer with OpenLogi
2. Go away from machine for some time, let it shut off the monitor, etc.
3. Upon resume, OpenLogi is no longer showing and has to be re-opened manually.
### Diagnostics report
```markdown
### OpenLogi Diagnostics
**App**
- OpenLogi (GUI): v0.7.10 (release)
- Agent: v0.7.10 (connected)
- IPC protocol: GUI 26 / agent 26
- Inventory: ready
- OS: macOS 15.7.8 (x86_64)
- Locale: en-CA (UI: follow system)
- Accessibility: granted · Input hook: installed
- Launch at login: yes · Menu bar: yes · Update check: on
- Running from: source build (dev)
- Config: schema 4 · 1 configured device(s) · thumbwheel 14
**Assets**
- Source: user cache · Index: loaded (210 models) · User cache: present
- Cache path: ~/.local/share/openlogi/assets · Bundle assets: absent
**Devices (1)**
- MX Master 3 — mouse (codename: Wireless Mouse MX Master 3)
- Connection: Bluetooth (direct) · Online: yes · Battery: 100% (discharging, full)
- Capabilities: buttons=yes, pointer=yes, lighting=no
- DPI: 1200 dpi (range 200–4000, 77 steps)
- Model: 1b023 (model-ids: b023/4082/0000, ext-model: 01)
- Transports: eQuad, BTLE
- Render: mx_master_3 · direct
```
### `openlogi list` output
```text
zsh: command not found: openlogi
```
### Logs
```shell
```
### macOS permissions (if applicable)
- [x] OpenLogi has **Accessibility** permission (needed to remap buttons via the event tap).
- [x] OpenLogi has **Input Monitoring** permission (needed for Bluetooth-direct devices and capture).
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Start by reproducing the macOS sleep/wake sequence in steps 1–3 for the GUI desktop app, using the OpenLogi 0.7.10 diagnostics context and MX Master 3 Bluetooth setup. Done means OpenLogi remains running and available after resume without requiring a manual relaunch.
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
- 48/100