760 Commits
Author SHA1 Message Date
Storm Dragon 6337f768b6 Merge OCR improvements. 2026-11-28 13:58:04 -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
Storm Dragon 069adb62df Merge hunter into testing 2026-11-24 19:38:14 -05:00
Storm Dragon 89043dc58b Changed binding to toggle touch screen mode. 2026-11-24 19:30:07 -05: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
ChaseandClaude Opus 5.5 418b72329e Search below providers that end hit testing early
Mouse review and touch exploration ask AT-SPI for the object at a point.
Some providers stop at a container: Chromium at tables, so cells were never
reached, and GTK notebooks report a page tab as only its label, so a page
such as the Thunar file view was never reached either.

When the provider returns nothing deeper, ask the children directly for the
smallest one containing the point, then search up to three levels below,
bounded at 512 children per object and 1024 objects in all.

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
hjozwiak e9b2e9508b Correlate foreground windows whose frame reports no bounds
- GPUI via AccessKit publishes frame extents of -1 and gives the
  frame's root child window-local bounds at 0,0, so every GPUI
  window failed foreground geometry correlation and all of its
  events were ignored as background: total silence under a reader
  that otherwise received a complete, well-formed tree.
- foregroundBounds keeps a valid frame rectangle and only falls
  back to the root child's, which must still pass the existing
  same-process, exact-client-size unpositioned-window rule.
- Factor the Component extents query into accessibleScreenExtents
  shared by the frame and root-child lookups.
- Verified with GPUI's a11y example (crates/gpui/examples/a11y.rs)
  in a private Xvfb/i3 session: focus, value, name, and pressed
  announcements all spoken; foreground test suite passes.
2026-11-24 11:10:39 -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 58d8f6bee1 Replay browse keys when native focus leaves the document window 2026-11-19 04:27:39 -05:00
Storm Dragon 938847e6ae Wake GTK helpers for events instead of polling every millisecond 2026-11-19 04:27:39 -05:00
Storm Dragon eb9dddbc2b Cache document validation until the accessible tree changes 2026-11-19 04:27:31 -05:00
Storm Dragon 8cc293113e QT regression fixes. 2026-11-18 15:31:28 -05:00
Storm Dragon 440400985b Changes to packaging. 2026-11-17 21:57:42 -05:00
Storm Dragon 758b038e1a Keep speech regression gate current with shared voice profiles 2026-11-16 23:31:31 -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 124293e3c8 Use shared reader core v0.6.1
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:45:48 -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 8ab9d3395a Use shared Speech Dispatcher client v0.3.0
Move SSIP transport and protocol tests to screenreader-common. Recover both channels and voice settings for fresh speech after a daemon restart.

Validated race-enabled speech, preferences, and application speech tests and the standalone build with GOWORK=off. Physical keyboard, audible speech, and braille acceptance remain separate live checks.
2026-11-12 22:26:30 -05:00
ak47 3d515b8810 Use shared internal UI toolkit v0.2.0 2026-11-12 01:32:10 -05:00
Storm Dragon c1ca5746d0 Use shared emoji catalog 2026-11-11 23:47:45 -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
Storm Dragon 8592d3be11 Keep master-tracking package independent of unreleased DuckDB 2026-11-11 11:29:32 -05:00
Storm Dragon 8cfb9e5593 Merge reviewed hunter changes into testing 2026-11-11 11:26:02 -05:00
Storm Dragon 12cadda7c1 Dismiss Wayland internal UI on suspension and retain key repeats 2026-11-11 11:25:47 -05:00
hjozwiak 0d5a5f7ac1 Recover browser list selection on ticking pages 2026-11-11 10:39:09 -05:00
hjozwiak ac7f7acc43 Fix Wayland internal UI lifecycle edge cases 2026-11-11 09:05:10 -05:00
hjozwiak fc25f7e7e8 Add command bypass and internal UI sessions to Wayland keyboard backend 2026-11-11 08:12:04 -05:00
hjozwiak bebde8fd5e Name unnamed clickables from descendant text on structural landings 2026-11-11 07:42:50 -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
Storm Dragon 2fb4a1b9a0 Merge branch 'testing' of ssh://git.stormux.org:1101/storm/cthulhu into testing 2026-11-10 21:34:44 -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
hjozwiak b03cb8917d Add optional DuckDB debug log database with typed schema
New --debug-db flag writes the redacted debug record stream to a DuckDB database alongside or instead of the NDJSON --debug-file. Frequent type-stable attributes are promoted to typed columns; the complete record remains in attrs JSON. libduckdb is dlopen'ed at runtime (build tag duckdb, Arch optdepends) so the reader runs unchanged without it. v1 databases upgrade in place on append.
2026-11-10 21:13:41 -05:00
Storm Dragon 5f7806eb32 Merge branch 'testing' of ssh://git.stormux.org:1101/storm/cthulhu into testing 2026-11-10 20:46:59 -05:00