Echo typed characters in Wine edit fields

This commit is contained in:
deedra committed 2026-10-12 15:31:00 -07:00
1 parent d9aa40e16c
commit a002c4cc1e
7 files changed
+154 -22

No files matched your search

+17 -11
View File
@@ -193,21 +193,24 @@ python3 tests/menu_integration.py --build-dir build --fixture winforms --32-bit
python3 tests/menu_integration.py --build-dir build --fixture notepad
```
The standard Edit fixture checks focus, characters/words/lines, incremental
selection and unselection, Backspace/Delete/Clear, read-only controls, password
The standard Edit fixture checks focus, typing echo, characters/words/lines,
incremental selection and unselection, Backspace/Delete/Clear, read-only controls, password
exclusion, surrogate pairs, rapid repeated letters, menu return at the caret,
short replacements, CRLF deletion, long-line truncation, Undo snapshots, and
Ctrl+End line reading, and Up/Down navigation in a read-only multiline output
control. Both 32-bit and 64-bit fixtures use the same assertions. Lifecycle
variants attach after the control has focus or
control. Typing checks include repeated letters, spaces, Enter/Tab, accented
characters, surrogate pairs, selection replacement, documents beyond the full
snapshot limit, and silence for password/background/read-only fields and
input rejected at the text limit. Both 32-bit and 64-bit fixtures use the same
assertions. Lifecycle variants attach after the control has focus or
restart the helper without closing it. Every text action must have an established
focus source, matching the Go reader's filtering contract.
The Notepad fixture launches Wine's actual `notepad.exe` and uses `SendInput`
for arrows, Ctrl+Right, Shift selection, Delete, and Alt/Escape menu return. It
checks resulting document text as well as recorded accessibility output. These
for typing, arrows, Ctrl+Right, Shift selection, Delete, and Alt/Escape menu return.
It checks resulting document text as well as recorded accessibility output. These
tests use a recording D-Bus service; they do not run the full reader or prove
audible speech, typing echo, physical keys, or a physical braille display.
audible typing echo, physical keys, or a physical braille display.
For live MUSHclient acceptance, install the helper and reopen MUSHclient so the
updated 32-bit DLL can load. In the command field, check Left/Right and
@@ -408,8 +411,9 @@ helper and the application load the new DLL together. Reopen BARD in its own
prefix. Tab and Shift+Tab between Email, Password, Sign in and Work Offline.
Expect labels and edit/password roles; navigate and select ordinary email
text, and confirm password contents stay excluded. Recheck native Notepad,
menus, the installer list and switching to Linux applications. Typing echo
and routable Wine review remain separate unfinished features.
menus, the installer list and switching to Linux applications. Standard Edit
typing echo is now forwarded through editor events; routable Wine review
remains unfinished.
## Live Notepad acceptance
@@ -421,8 +425,10 @@ Close existing Notepad windows after saving any work so the updated hook can loa
rebuilds Cthulhu and its braille helper and opens the test terminal; it does
not build wine-access.
3. Run `wine notepad` in the intended Wine prefix. Expect edit/blank focus
feedback. Type `hello beta`, Enter, then `second line`. Typing echo should
follow the reader's configured settings.
feedback. Type `hello beta`, Enter, then `second line`. Expect each typed
character, including both `l` characters, spaces and the line break. Standard
Edit typing uses the reader's editor feedback path. Check typing over selected
text too, and confirm password fields never announce their typed contents.
4. Press Ctrl+Home, then Right three times. Expect the first line at Ctrl+Home,
then `e`, `l`, `l`. Both repeated letters should produce feedback. Ctrl+Right
should read `beta`; Down should read `second line`.