[Bug]: macOS trackpad history navigation pauses after finger lift
Once the history arrow is armed, releasing a two-finger swipe should switch threads immediately.
T3 Code uses Chromium's gestureScrollEnd to finish a swipe. Chromium holds that event while it checks for momentum, even if the fingers have already lifted and no momentum follows. In a standalone Electron 44.10.1 reproduction, the event arrived 101.2 ms after synthetic AppKit finger lift at the median of ten runs. A local T3 build using AppKit's release signal committed history in under 1 ms at the median with Reduce Motion enabled.
Area
apps/desktop
Steps to reproduce
- Open two threads in T3 Code Desktop on a Mac with a trackpad.
- Over the conversation body, slowly swipe horizontally with two fingers until the back arrow is armed.
- Lift both fingers without flicking. Watch when the thread changes.
- Swipe in the opposite direction to go forward and repeat.
Expected behavior
An armed swipe switches threads on finger lift.
Actual behavior
The current thread stays visible briefly after finger lift. The pause is easiest to see after a slow release with little or no momentum.
Impact
Minor bug or occasional failure
Version or commit
The release path is present in Nightly 0.1.12-nightly.20261124.5204 at 11c63a9f2cea. That release pins Electron 44.10.1, the version used in the standalone timing reproduction. The native-release comparison used a local T3 development build with production renderer assets.
Environment
macOS 26.6.2 on Apple silicon, Electron 44.10.1, Chromium 152.0.7977.169.
Evidence
All ten synthetic no-momentum swipes in the Electron reproduction returned gestureScrollEnd between 100.6 and 101.4 ms after release. The measurement covers event delivery and excludes thread rendering. The local native-release measurement covers release to history change. A physical trackpad check on the local build confirmed that the gesture felt more responsive.
The nightly's desktop window forwards Chromium's scroll-end event and the renderer uses it to commit history. Chromium sets a 100 ms timeout to see if momentum starts. Desktop event bridge · Swipe handler · Chromium timeout