You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Built-in MacBook trackpad is misidentified as “Touch Bar”, so native gestures never start #239
On my MacBook, LaunchNext’s native trackpad gestures stopped working even though the gesture toggle is enabled and permissions are granted.
I traced it to device detection in the gesture stack:
OpenMTManager labels familyID == 105 as "Touch Bar" instead of a trackpad.
GestureTouchProvider only accepts devices whose name contains "Trackpad".
Because of that, the built-in trackpad is filtered out and LaunchNext never starts listening for gesture events. Reinstalling the app or resetting macOS permissions does not fix it.
Expected behavior:
Built-in MacBook trackpads should be recognized as valid gesture input devices and native pinch/tap gestures should work.
Actual behavior:
The built-in trackpad is exposed as Touch Bar, gets filtered out, and gestures never trigger.
Fix: map this family to a trackpad label (e.g., MacBook Trackpad) or use a reliable device-type property.
Fix fragile candidate filtering logic
File: LaunchNext/Gesture/GestureInputDevice.swift
Bug: candidate detection relies on deviceName.localizedCaseInsensitiveContains("Trackpad").
Fix: do not rely on name substring matching; use a structured signal (e.g., isTrackpad, built-in multitouch traits, or family/type-based classification).
Activity
DoffChen commentedon May 3, 2026
LaunchNext Gesture Input Bug Report
Problem Discovery
Apple Internal Keyboard / Trackpad105YesfamilyID == 105is labeled asTouch Bar.Trackpad.Temporary Workaround (Installed App Only)
Touch BartoTrackpad(same length), then re-sign the app.Suggested Permanent Fix
Fix incorrect device naming mapping
LaunchNext/ThirdParty/OpenMultitouchSupport/Framework/OpenMultitouchSupportXCF/OpenMTManager.mfamilyID == 105is mapped toTouch Bar.MacBook Trackpad) or use a reliable device-type property.Fix fragile candidate filtering logic
LaunchNext/Gesture/GestureInputDevice.swiftdeviceName.localizedCaseInsensitiveContains("Trackpad").isTrackpad, built-in multitouch traits, or family/type-based classification).RoversX commentedon May 4, 2026
Thanks, this looks like a real bug.
I’ll change the detection to use a real trackpad flag / device characteristics instead of relying only on the display name.
RoversX commentedon May 6, 2026
How about this

DoffChen commentedon May 6, 2026
I think it's so perfect
RoversX commentedon May 6, 2026
6e474bd will be available in the next version!
DoffChen commentedon May 6, 2026
Thx!