Commit Graph
108 Commits
Author SHA1 Message Date
Storm DragonandClaude Opus 5.5 87b6aa49da Follow Steam Big Picture overlays and stop false Steam notifications
Big Picture draws Quick Access, the Steam menu and the power menu as
separate Chromium frames in its one X11 window and never marks them
active, so their focus was discarded and Cthulhu kept reading the
library. Accept a focus gain in a showing Steam frame owned by the X11
foreground process. Steam closes these popups when focus leaves them,
which browse-mode caret movement caused, so Steam popup documents
(<Name>_uid<n>) start in focus mode.

Steam's events calendar sits in a live region and was spoken as dozens
of "Steam:" notifications. Live regions now count as Steam notifications
only inside toast popups; notification and alert roles are unchanged.

Verified live: F2, Notifications, Right reached and completed the
hardware survey. The toast restriction is not yet checked against a
real toast.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-01 02:18:32 -05:00
lilmike 5c919016bb Ocr updates, fixed issue where cthulhu could say ocr failed when it didn't, and cthulhu only cares about if the word boundary changes when clicking 2026-11-28 10:54:42 -08:00
hjozwiak a3308aa9fd Testing goodies. 2026-11-24 19:29:50 -05:00
Storm Dragon 03066b2abe Harden touch device recovery and input lifecycle 2026-11-24 19:17:26 -05:00
ChaseandClaude Opus 5.5 e4ba4d9882 Say Blank and window titles while exploring by touch
Silence over empty space sounded like a broken screen reader to testers, so
exploring empty space, an unnamed container with no text, or no window at all
now says "Blank" once, until the finger reaches something again.

A finger that slides off one application into another, or onto the desktop,
had no way to know it had left. Crossing into another window now says that
window's title first, once per crossing. The title comes from the nearest
titled ancestor, because the window under a point can be an untitled inner
window; the native window locator test checks this with xterm.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 19:09:45 -05:00
ChaseandClaude Opus 5.5 e68d2fa440 Add touch screen support
A blind user can now run the desktop with the touch screen as the only
input, in the style of TalkBack, VoiceOver and NVDA touch. It is off by
default: "Use the touch screen with gestures" in preferences, the
"Touch screen" quick setting, or Cthulhu+Ctrl+Alt+T (toggle-touch-screen).

Input: internal/platform/evdev reads the touch screen from the Linux input
layer in pure Go and grabs it with EVIOCGRAB while touch is on, so no other
program sees touches until it is turned off. It needs read access to
/dev/input (the input group, as Fenrir already needs); Cthulhu never uses
sudo. internal/touch recognizes taps, double and triple taps, holds, double
tap and hold, flicks, two finger rotation and up to ten fingers.

Gestures send Cthulhu's keyboard commands through the normal command
dispatch. Modes, chosen with a three finger tap, each have their own rotor:
navigation (default: items, then scroll, windows, workspaces or
notifications), text (lines, words, characters), browse (page order, then
element types; entered automatically on web pages), object (tree) and
speech settings. Exploring speaks what is under the finger and moves object
review there; double tap activates. docs/touch-support.md has the full
gesture table, design, testing notes and open issues.

Supporting changes:
- Object review gains next and previous item in reading order, skipping
  unnamed containers, and object-activate, which runs the default action of
  the object of interest. Its results no longer need a known focus, because
  a touch user may never produce a focus event.
- browserModeController exposes Browsing for other goroutines.
- internal/i3command sends i3 commands; internal/i3ipc stays observe-only.
- X11 helpers find the client under a point and send XTest clicks and keys.
  The window lookup releases the X11 guard before the XRes fallback, which
  takes the guard itself; a native test reproduces the old deadlock.
- Mouse review stays quiet for one second after touch input.

Tested live on a Lenovo Yoga 7 2-in-1 14AKP10 (Wacom HID 53FC, ten touch
points) under i3, MATE and in Brave, Thunar and GTK dialogs. Not yet
handled: the lock screen, rotation and multiple monitors, pass-through, and
touch typing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 19:09:45 -05:00
hjozwiak 64ee749a8e Agent review pass. 2026-11-24 11:12:17 -05:00
lilmike a34d7e70c8 More capabilities for tentacles, for an upcoming one 2026-11-23 08:25:36 -08:00
Storm Dragon ffc5107112 Preserve queued speech during automatic voice changes
Adopt screenreader-common v0.9.0 for in-place retuning and restore the complete effective speech configuration when retuning and fallback replacement fail. Add interruption diagnostics and require the retune and recovery regressions in the speech push gate.
2026-11-19 12:29:46 -05:00
Storm Dragon 440400985b Changes to packaging. 2026-11-17 21:57:42 -05:00
ak47 5fd5a26120 Keep notification history on single lines with responsive navigation 2026-11-16 22:54:28 -05:00
Storm Dragon 5dfa038706 Adopt common v0.8.0 and preserve canceled hardware settings 2026-11-16 20:10:47 -05:00
Storm Dragon b21fceb311 Preview voice profile edits and restore parent speech 2026-11-15 18:29:24 -05:00
Storm Dragon 1b42dde756 Fix quick voice defaults and combo history with shared core v0.7.0 2026-11-15 17:56:36 -05:00
Storm Dragon cad3360bd8 provide a way to get back to the default voice profile. 2026-11-15 17:14:56 -05:00
Storm Dragon 322f151344 Attempt to fix bugs where Cthulhu was reading previous entry in comobo boxes in addition to the current entry. 2026-11-15 15:20:33 -05:00
Storm DragonandClaude Opus 5.5 764a289071 Add primary voice profiles from shared reader core v0.6.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:26:44 -05:00
Storm Dragon 0f5c2db158 Add speech language to quick settings 2026-11-15 12:44:12 -05:00
Storm Dragon 09e9570c66 Use shared quick settings and migrate speech values to the SSIP scale 2026-11-15 12:30:20 -05:00
Storm Dragon 679d81a804 Some browser fixes for reliability. 2026-11-13 22:49:10 -05:00
ak47 d95dc2d00d Use shared reader core v0.4.0
Use common date/time formatting, locale voice selection, tone synthesis, phonetic spelling, and hardware command encoding. DECtalk now follows the common Fenrir mapping and command filtering; legacy saved settings are converted at the boundary.

Validated affected race-enabled tests and standalone builds with GOWORK=off against the published module. Common PCM hashes, serial cancellation, no-CGO datetime, and speech regression checks passed. Physical hardware, audible synthesis, keyboard, and braille remain separate live checks.
2026-11-12 23:45:10 -05:00
ak47 3d515b8810 Use shared internal UI toolkit v0.2.0 2026-11-12 01:32:10 -05:00
ak47 f27dec8502 Read attached MATE menus outside the focused panel
Validate attached panel menus through fresh showing state and selected menu ancestors, and recognize explicit GTK menu focus without a FOCUSED state. Preserve X11 foreground ownership and reject stale menu focus and actions after dismissal.

Add native ownership and speech/braille regressions covering desktop, bottom panel, top panel, editor, reopening, submenus, and impostor rejection.

Validation: targeted native race tests, AT-SPI race suite, normal app suite, required speech regression check, build, vet, and parity ledger passed. The broader app race run exceeded its three-minute limit while compressing a Tentacle fixture. golangci-lint is unavailable; live MATE speech and physical braille acceptance remain pending.
2026-11-11 23:12:33 -05:00
hjozwiak 469ed7c549 Stop discarding Steam toasts on root defunct 2026-11-11 06:56:15 -05:00
hjozwiak 04a1070055 Merge of testing. 2026-11-11 06:31:00 -05:00
ak47 873967d18a Ignore stale table row focus after selection changes 2026-11-10 21:49:04 -05:00
ak47 ae53f23c63 Announce the initial row in unselected GTK menus 2026-11-10 21:26:17 -05:00
hjozwiak 0459fb8e50 Add golangci-lint gate and fix its findings
Configure golangci-lint v2 for the whole tree (brlapi/duckdb build tags, curated linters, documented exclusions) and resolve what it reports: dead code, wrapped-error comparisons and %w wrapping, unclosed websocket handshake bodies, staticcheck SA/S items, ineffectual assignments, and explicit _ = discards for best-effort teardown errors. Document the gate in CONTRIBUTING and AGENTS.
2026-11-10 21:13:49 -05:00
ak47 090ac9dbeb Log Tentacle lifecycle and remote connection diagnostics 2026-11-10 20:45:43 -05:00
ak47 64f60fe4e8 Honor Num Lock during Remote keyboard capture
Forward numeric keypad identities with Num Lock enabled and preserve held-key pairing across lock changes. Suppress local lock feedback during remote capture so it cannot interrupt incoming speech. Add debug speech and capture-end diagnostics, expand private keypad checks, and repair the suspension probe source list.

Validated affected Go packages, focused remote speech race checks, the private X11 Remote input harness, and a reader build. Live physical keyboard, audible PowerShell speech, Braille, and disconnect-cause verification remain pending; the active reader session was left running.
2026-11-07 22:37:39 -05:00
ak47 4c95c9f278 Add global command bypass with Cthulhu+Z 2026-11-07 22:07:03 -05:00
ak47 d01965c00d Group inline links and list items into browse lines 2026-11-07 20:31:50 -05:00
ak47 64440fbb78 Add Mumble message review shortcuts 2026-11-07 19:59:23 -05:00
ak47 7752c4e566 Fix Thunderbird deselection and review test synchronization 2026-11-07 15:57:33 -05:00
ak47 e7d02b1f62 Allow keyboard interruption of i3 speech during terminal handoff 2026-11-07 15:16:26 -05:00
ak47 a29910d002 Merge remote-tracking branch 'origin/testing' into testing 2026-11-07 14:46:59 -05:00
ak47 bf1f155018 Add native i3 desktop announcements 2026-11-07 14:46:46 -05:00
lilmike 20578ada40 Fix some issues with clickables on some websites. 2026-11-07 10:58:48 -08:00
ak47 d0c977281d Bug fixes and package updates. 2026-11-07 13:14:22 -05:00
ak47 19b789ef5c Fix Remote speech stalls after pause and early completion 2026-11-06 22:11:29 -05:00
Chase CichorzandClaude Opus 5.5 6867d901b2 Support Remote browser and media keys and connection history UI
Accept the eighteen browser, volume, media and launch identities in the input vocabulary and both SDKs. Exercise media-key capture on the private Xorg harness, and permit only the new remember-host checkbox in the connection form integration test.

Validated: affected-package race tests, Tentacles make check, private native_remote_input.py and native_remote_keys.py. Physical input, live peer interoperability, speech and Braille acceptance remain pending.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 21:17:01 -05:00
Storm Dragon bf4a23645e Support compact Remote setup with reader-owned access selection 2026-11-06 20:07:05 -05:00
ak47 952d3c8204 Fix Remote Braille ordering and lease cleanup 2026-11-06 19:01:25 -05:00
Chase CichorzandClaude Opus 5.5 551ef86d5f Export and display Remote Braille through the reader
A controlled reader renders accepted application frames in a new
virtual-only cthulhu-braille mode at the controller's width and applies
its pan and route gestures; reader UI, flashes and secure frames are
never exported, and hidden frames are unroutable. A controller reader
reports its display width, shows peer cells as an untranslated raw
frame and forwards local pan and routing keys. The physical helper now
reports its width and edge pans.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:06:38 -05:00
Chase CichorzandClaude Opus 5.5 477d860fb8 Return the keyboard on Remote shortcuts and announce focus changes
During remote focus a Remote shortcut now ends capture, like F11,
instead of running its command, which would race with the focus change.
The reader announces when the keyboard starts and stops controlling the
remote computer, and the consent wording names the F11 escape.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:06:38 -05:00
Chase CichorzandClaude Opus 5.5 c234cb82a8 Add Xorg Remote controller capture with a core F11 escape
The Xorg command owner gains an exclusive Remote capture mode. Native
transitions pass through the repeat normalizer and capture router;
forwarded keys leave as remote.input events, Remote's own shortcuts are
dispatched locally, and F11 ends capture on the X thread. Reader policy,
overflow or inconsistent input also end it. Ending releases forwarded
keys first and keeps the grab until held keys are released. Local key
echo is suppressed during capture. The app attaches the owner to
sessions installed with keyboard-capture.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:06:38 -05:00
Chase CichorzandClaude Opus 5.5 27017bef11 Attach Remote keyboard injection to approved controlled sessions
Local launch and managed startup now start the incoming-key owner for
sessions installed with keyboard-inject, using one input-helper
Supervisor retained for the reader lifetime. Delivery rechecks lock,
XTerm handoff and internal reader UI in addition to lease, grant and
deadline. build-cthulhu.sh and both Arch packages build and install
cthulhu-input-helper; a missing helper leaves keyboard input
unavailable without affecting startup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-06 16:06:38 -05:00
ak47 ee1c32f049 Verify quarantined Remote mailbox owner crash recovery 2026-11-05 23:21:22 -05:00
ak47 06530f0120 Join quarantined Remote key mailbox to supervised input cleanup 2026-11-05 23:12:47 -05:00
ak47 9ac33560dc Share verified reading context announcements with Remote 2026-11-05 20:39:19 -05:00