[Bug]: TapKeyHoldingModifiers on HapticPanel releases the modifier immediately, so Cmd+Tab switcher flashes and closes
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
Research direction
Start by reading the handling for TapKeyHoldingModifiers and the HoldShortcut press lifecycle described in related issue #1098. Then trace how HapticPanel events arrive for Bluetooth LE devices and whether they include distinct press and release events. Done means Cmd+Tab keeps the macOS app switcher open while the panel is held and releasing the panel commits the choice.
Written by the indexing model from the issue text.
Description
Pre-flight checklist
- I searched existing issues and this is not a duplicate.
- I am on the latest release or a recent
masterbuild. - 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
OpenLogi 0.9.0
Operating system
macOS
OS version & architecture
macOS 27.2.1
Device model
MX Master 4, Bluetooth LE
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
- Other
What happened?
Binding HapticPanel = { TapKeyHoldingModifiers = "Cmd+Tab" } on an MX Master 4 (Bluetooth LE) does not keep Cmd held while the haptic panel is pressed. The macOS app switcher flashes and closes immediately, exactly like CustomShortcut = "Cmd+Tab".
Expected: same behaviour #1098 describes for buttons. Cmd stays held for the duration of the panel press, Tab is tapped once, the switcher stays open, and releasing the panel commits the choice.
My guess (not verified in the code): #1098 says this action reuses the HoldShortcut press lifecycle (try_hidpp_button_down / try_hidpp_button_up), but the haptic panel press seems to arrive as a one-shot click/force event with no separate release, so the hold lifetime collapses to zero. With Mac Mouse Fix, the same haptic panel can keep the app switcher open while pressed, so the hardware seems able to report press and release separately.
If the panel truly can't report a release, an alternative would be to keep the modifiers held until the next click or a timeout.
Related: #1098, #1894
Steps to reproduce
- Connect an MX Master 4 over Bluetooth LE.
- In config.toml set
HapticPanel = { TapKeyHoldingModifiers = "Cmd+Tab" }(or pick "Hold modifiers, tap key" → Cmd+Tab for Haptic Panel in the GUI) and restart OpenLogi. - Press and hold the haptic panel.
- The app switcher appears for a split second and closes; it does not stay open while the panel is held.
Diagnostics report
(inventory read from the running agent)
MX Master 4 (—, vid=046d pid=b042)
└─ slot 255 ● MX Master 4 (mouse, wpid=?, battery=50% good (discharging))
model_ids=[b042,0000,0000] ext=01 serial=<redacted> unit_id=<redacted> transports=btle
openlogi list output
(inventory read from the running agent)
MX Master 4 (—, vid=046d pid=b042)
└─ slot 255 ● MX Master 4 (mouse, wpid=?, battery=50% good (discharging))
model_ids=[b042,0000,0000] ext=01 serial=<redacted> unit_id=<redacted> transports=btle
Logs
macOS permissions (if applicable)
- OpenLogi has Accessibility permission (needed to remap buttons via the event tap).
- OpenLogi has Input Monitoring permission (needed for Bluetooth-direct devices and capture).
- Dominant language
- Rust
- Stars
- 26.4k
- Forks
- 1k
- Avg merge
- 3d 9h
- Merged PRs (30d)
- 103
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AprilNEA/OpenLogi
-
[Bug]: Installation source reads "Not identified" on the AUR openlogi-bin packagePossibly taken @stevie86 claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
area: hidpp needs: triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
macOS agent: camera watcher leaks autorelease-pool entries every second (no pool on its thread)Possibly taken @Zekuath claimed this 4 days ago. Openplatform: macos type: bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
area: assets needs: decision platform: all type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AprilNEA/OpenLogi#2454 · 1 comment ·
Maintainers usually reply within 1 day
-
area: assets platform: all type: feature
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
AprilNEA/OpenLogi#2452 · 3 comments ·
Maintainers usually reply within 1 day
All issues in AprilNEA/OpenLogi
Similar issues
-
claim
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Nixitov/Riptide-Native#946 ·
Maintainers usually reply within 1 day
-
area: ai-assistants documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
BetaBots-LLC/latticegate#17 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 94/100
storytold/craft-libs#5594 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
听歌识曲历史跳转后对应音源界面无法返回Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
LingyunStudio/RustMusic#16 ·