Skip to content

Integrate touch mouse gestures and verify candidate APK signatures - #1

Merged
trissim merged 13 commits into
masterfrom
mouse/gestures-apk
Nov 2, 2026
Merged

trissim merged 13 commits into
masterfrom
mouse/gestures-apk

Conversation

@trissim

@trissim trissim commented Nov 2, 2026 •

Copy link
Copy Markdown

Summary

Qualified head 841fea7: 12 files, +708/−41 versus fork master. 362 debug/release test executions, zero failures/errors/skips. The 34 gesture/keyboard methods run in each variant. Both bootstrap builds and wrapper validation passed. This is source/build qualification, not phone installation or native remote-bus acceptance.

Maintained fork / upstream patches

The focused upstream branches remain separately reviewable; this fork integrates their product behavior and shared fixture. Synchronization of the focused fixtures remains work on those same PRs, not a claim that every upstream head has this combined qualification.

Before / after owners

Mouse: previously finger scrolling used only vertical rows and tracking could invent another half-screen of wheel reports after release. Both axes now share doMouseScroll, gesture-origin coordinates and the existing encoder. Axis/remainder reset belongs to the recognizer's new-down lifecycle. A queued untracked fling aborts if tracking activates or its emulator disappears; untracked kinetic scrollback remains.

Long press: the former unconditional RIGHT implementation was wrong: the original request required a choice. The client defaults false, the actual app reads its existing cached native property, and the opt-in gate uses the same encoder and recognizer-owned trailing-tap suppression. No second suppression flag. The boolean-key membership derives from the existing property sets, deleting13 duplicate entries while preserving the old keys. Configuration/reload instructions are in docs/mouse-long-press.md.

Keyboard: one monotonic3000ms deadline belongs to TerminalView, armed by the existing quick finger-tap branch. A current-session screen update consumes it before calling the client. It reads DECTCEM, not animation phase, and clears on new/cancelled/multitouch input, selection/tracking-off observation, session replacement, focus loss and detach. The actual app shares its existing preference/visibility/KeyboardUtils path. No new escape, poll, retained MotionEvent or automatic hide. The generic cursor callback is not used because it lacks session identity.

Tests: mouse and keyboard siblings inherit one native-graphics/paused-looper TerminalViewTestCase: actual Activity, renderer metrics, emulator, recognizer, output and clock. The real View decodes attributes from its actual app XML tag, then supplies its own id. No copied focusability flag or weakened selection assertion. Four release-fling controls cover1000/1002, tracking-off fling and transition abort.

Exact qualification

  • Unit: https://github.com/OpenHCSDev/termux-app/actions/runs/41427643886
  • Build: https://github.com/OpenHCSDev/termux-app/actions/runs/41427643763
  • Wrapper: https://github.com/OpenHCSDev/termux-app/actions/runs/41427643802
  • XML:362 executions; debug and release each run20 mouse and14 keyboard cases. No failures, errors or skips.
  • Five downloaded archive SHA256s match GitHub metadata and the exact841 head.
  • Twelve hosted apksigner reports verify: ten candidates across Android5/7 bootstrap variants plus two official references. Each has certificate SHA256 b6da01480eefd5fbf2cd3771b8d1021ec791304bdd6c4bf41d3faabad48ee5e1.
  • Downloaded Android7 arm64 APK SHA256: 9e2a087d99d12e936b5dff7279dd3d73890fa75e2d2ddb02049509848795c913, matching its checksum manifest.
  • Retained local evidence: qualification-841-complete.json, qualification-841.log (rc0), run/artifact metadata and archives under the existing pi-shell-colleague/termux evidence directory. The checker verifies downloaded data and hosted reports; local apksigner was not rerun.

Failed epochs retained, not overwritten

cca5:318 green executions/signatures, but the policy still imposed RIGHT and did not meet the requested choice. fdb9:32 debug cases, two default-selection failures because the fixture omitted actual touch-focus attributes. a275:32 reported cases,30 shared-setup failures before gesture/keyboard bodies because the parser convenience lookup found no view. 841: actual View decoding restores those bodies and all362 executions pass. These are separate source and execution epochs.

Phone safety / remaining acceptance

The public GitHub test key proves certificate compatibility, not authenticity or Google Play overlay compatibility. This v0.118.0-based debug candidate is not permission to force a downgrade. Before any phone migration, verify its actual signer, bootstrap variant, versionCode, architecture and plugins; retain and verify an external private/encrypted HOME+PREFIX backup. No uninstall, clear-data, app-ID shortcut, key/data loss or unapproved signer migration.

Native phone installation, visible IME/selection/scroll behavior and native Toad→remote-Core acceptance are NOT RUN. Core3861 owns the single source-backed remote-bus plan; SSH is interim and mosh is parked. No1003/held-finger scrollbar or splitter scope is claimed.

Assumed: Android's existing event/UI-thread contract; the application reports its current cursor intent within the bounded tap window. Neither an installed Play signer nor phone dependency compatibility is assumed. All unobserved phone/native-remote cases remain open.

Copilot AI balanced review requested due to automatic review settings November 2, 2026 08:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@trissim
trissim merged commit f59304b into master Nov 2, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants