GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||
GeezerVison is showing github.com — [Bug]: Streamed browser hover and clicks lag behind stale queued pointer events · Issue #17538 · pingdotgg/t3code Closed DescriptionBefore submitting
Areaapps/server Steps to reproduce
Scripts, candidate patch, capture protocol and raw timestamps: https://gist.github.com/gillesgw/42c7ca4df0e429ba84b122d93906d6ab A smaller reproduction loads the actual original and candidate node queue-repro.mjs /path/to/patched/t3code ec80933ac8cd02fec5c97b342462ccc9567cdb1e Expected behaviorHover input should converge quickly to the latest position under load. Clicks, keys, drag points, navigation and ownership changes must preserve their ordering and control guarantees. Scroll distance must not be lost. Actual behaviorHover effects and clicks can be seconds late. Every obsolete pointer position remains queued, even after the viewer stops moving. Before/after recording (MP4, 15 seconds) compares the actual Chromium page in T3: original FIFO on the left, candidate on the right, with identical offered inputs.
Measurement limits: the recorded driver bypasses client animation-frame batching to keep server input at 50 Hz during nested capture. Latency comes from sender and page-handler timestamps on the same host; it includes localhost transport, queue and CDP/page processing, and excludes image decode/display. These are single stress samples with recording overhead, not production latency estimates. Obsolete waiting moves are intentionally skipped by the candidate. The separate queue-only reproduction also shows the backlog with bounded dispatch: original median wait 2,119.8 ms and drain time 4,269 ms; candidate 11.3 ms and 107.1 ms. These simulated queue measurements exclude network and graphics. ImpactMajor degradation or frequent failure Version or commitRecorded against main @ EnvironmentLinux x64; Chromium 154.0.8037.92, software rendering; 800 × 800 page viewport. Node 26.8.2 for recorded browser runs, Node 24.19.0 for queue reproduction and focused tests. Diagnosis and related work
Those fixes address different causes and do not merge queued hover bursts. Workaround and candidate scopeA candidate server patch merges adjacent waiting continuous inputs: latest no-button hover with matching modifiers, compatible accumulated wheel deltas, and latest valid resize. It preserves running inputs and click/key/text/drag/navigation/system/ownership boundaries. It changes four server implementation/test files, with no dependency or wire-contract change. All 67 focused tests pass, including 13 added batching/control cases; lint, formatting and server typecheck pass. Earlier nightly checks exercised the real canvas handler, clicks, text, scrolling and control handoff, and the patched nightly improved ordinary use for the reporting user. Native desktop and mobile interaction have not been manually tested. Please triage this failure and intended scope before its candidate PR is submitted, following CONTRIBUTING.md. No prior approval is claimed. Generated with GPT-6.1 Sol. Harness: Codex through T3 Code. Activity
MetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||||||||||||||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |