Skip to content

cua-driver v0.69.1-loomhand.2: a Windows background key to a hung window is refused, not posted - #538

Merged
CMGS merged 2 commits into
mainfrom
pins/driver-0691-lh2
Dec 1, 2026
Merged

CMGS merged 2 commits into
mainfrom
pins/driver-0691-lh2

Conversation

@CMGS

@CMGS CMGS commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Bundles cua-driver v0.69.1-loomhand.2 (was v0.69.1-loomhand.1). The new release adds one Windows fix to .1. A background press_key, hotkey or type_text sent to a window, not an element, and with no x,y, first checks that the window that takes the posted keys answers a WM_NULL within 2 s. When it does not, the call is refused with app_unresponsive and nothing is sent. Before this, the keys were posted and landed when the app responded again, up to a minute later. The recovery hint for app_unresponsive no longer names UI Automation.

shuttle's auto input does not match this refusal, so it stays an error and is not retried in the foreground against the hung app.

Changes: packaging/pins (the five cua-driver lines: release URLs and sha256 from the release's SHA256SUMS) and the CHANGELOG bundled entry.

Evidence:

  • Release assets: shasum -a 256 -c SHA256SUMS 5/5 OK. --version prints cua-driver 0.69.1 for macOS arm64 and x86_64, and for linux-arm64 in a Debian 11 container with no missing libraries. The Windows zip lists cua-driver.exe, cua-driver-uia.exe and cua-cursor-theme.exe.
  • packaging/fetch.sh with these pins: exit 0 on all 5 platforms. A tampered sum gives exit 1 with sha256 mismatch.
  • Windows 11 hardware, on a driver built from the same fix (the release adds only the hint text on top):
    • Each of the three routes to a hung window was refused after about 2 s. Nothing landed when the app woke, and a control key to the awake window landed.
    • Against .1, the driver call to a responding window took 7 ms at the median against 8 ms (20 calls each).

CMGS added 2 commits December 1, 2026 18:29
… window only, an element act is still posted, and desk type pays the check per character
@CMGS
CMGS merged commit e5635eb into main Dec 1, 2026
10 checks passed
@CMGS
CMGS deleted the pins/driver-0691-lh2 branch December 1, 2026 12:54
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.

1 participant