[Bug]: Per-app Actions Ring on the M720 gesture button intermittently dispatches the global gesture map (opens Task View)

Open
#2,701 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
backend, desktop

Research direction

Start by tracing per-app profile selection and gesture dispatch, then check how raw-XY diversion is armed when a plan is republished; the report names inject/windows.rs as the Win+Tab mapping point. Reproduce with the M720 and the supplied profiles, collecting debug agent logs around a leaking press. Done means taps in Chrome consistently open the Actions Ring without dispatching the global Down action or the device's Task View action.

Written by the indexing model from the issue text.

Description

area: gui needs: triage platform: windows type: bug
Pre-flight checklist
  • I searched existing issues and this is not a duplicate.
  • I am on the latest release or a recent master build.
  • 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.9.0

Operating system

Windows

OS version & architecture

Windows 11 Pro, x64 (build 10.0.26200)

Device model

Logitech M720 Triathlon

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?

With Chrome focused and the pointer sitting on the Chrome web page, tapping the M720's thumb gesture button intermittently opens Windows Task View (Win+Tab) instead of the configured Actions Ring.

Configuration

  • Default profile: gesture button in gesture mode, all five directions customized — Up = Show Desktop, Down = Application Windows, Left = Ctrl+Shift+Tab, Right = Ctrl+Tab, Click = Enter
  • Chrome per-app profile: the gesture button is overridden with the single action Show Actions Ring ("Show ring on button press" enabled, ring slots customized)

Expected: every tap opens the Actions Ring while Chrome is frontmost.

Actual: most taps open the ring, but occasionally a tap opens Application Windows / Task View instead.

Analysis (from a read-only look at master)

  • The leaked window is exactly the global gesture map's Down action. The global Click action is Enter, so a tap-classified leak types an invisible Enter — which matches the observation that only swipe-classified presses are ever noticed.
  • The leaking presses appear to be dispatched against a stale or absent foreground-app state (falling back to the global bindings), combined with the M720 thumb key's physical micro-movement classifying as a Down swipe (pressing the front-left thumb key rocks the mouse slightly).
  • An alternative path worth ruling out: a window in which the gesture button's raw-XY diversion (0x1b04) is not armed — e.g. while a capture session restarts on a per-app plan republish. The M720's onboard multiplatform action is itself Task View on Windows, which would look identical to the user.
  • inject/windows.rs maps MissionControl | AppExpose to Win+Tab, which is how the leak surfaces.

Workarounds

  • Setting mouse_profile_target = "focused" is expected to reduce the leaks (verification in progress).
  • Changing the global Down direction to "No-op" should mask the symptom; if Task View still appears after that, the un-armed-diversion path is implicated.

Device is connected via Bluetooth directly (no receiver). Happy to run a debug build or capture OPENLOGI_LOG=debug agent logs around a leaking press if told what to collect.

Steps to reproduce
  1. Default profile: gesture button in gesture mode; set Down = "Application Windows", Click = Enter (harmless), and Up/Left/Right to anything.
  2. Create a Chrome per-app profile; override the gesture button with the single action "Show Actions Ring"; keep "Show ring on button press" on.
  3. Focus Chrome and keep the pointer on the Chrome web page.
  4. Tap the thumb button repeatedly, including right after app switches and after dismissing the ring overlay.
  5. Most taps show the ring; occasionally Task View (Win+Tab) opens instead.

Intermittent by nature — roughly 1 in 10-20 taps in my sessions; no deterministic reproducer yet.

Diagnostics report

openlogi list output

Logs
No logs attached yet; will capture OPENLOGI_LOG=debug output around a leaking press on request.
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AprilNEA/OpenLogi

All issues in AprilNEA/OpenLogi

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.