Restore wine access after program loses and regains focus.

This commit is contained in:
Storm Dragon committed 2026-10-12 04:17:31 -04:00
1 parent f40e471938
commit c3e981b4c2
12 files changed
+351 -2

No files matched your search

+19
View File
@@ -1,5 +1,24 @@
# Wine control integration
## Virtual desktop focus recovery
`xvfb-run -a ctest --test-dir build -R foreground-focus --output-on-failure`
uses a disposable Wine prefix configured for a virtual desktop and a separate
Windows launcher fixture. It reproduces a visible launcher returned without
activation, then checks recovery of its native foreground and button focus.
It also checks Linux focus, mismatched window-manager/keyboard focus, disabled
windows, multiple visible applications, hidden windows, existing foreground,
and repeated recovery. The fixture acknowledges ICCCM window visibility on
the private display; the runner propagates the fixture's actual exit status.
After installing the updated helper and restarting the reader, open AudioQuake,
play and close a game, then Tab and Shift+Tab through the launcher. Check speech
and braille for each control. Switch to Linux and back to workspace 3 and repeat.
Recheck ordinary Wine menus, edits and lists, including password exclusion.
With two visible applications in one virtual desktop, recovery intentionally
does not choose between them; focus the intended application normally.
Automated focus checks do not prove audible speech or physical braille.
## Wine flat-review capture
Build the helper and run `ctest --test-dir build --output-on-failure` on a