Some browser fixes for reliability.

This commit is contained in:
Storm Dragon committed 2026-11-13 22:49:10 -05:00
1 parent d95dc2d00d
commit 679d81a804
10 files changed
+287 -23

No files matched your search

+21
View File
@@ -10,6 +10,21 @@ focus and typing events, leaving browse-mode grabs active. Window ancestry now
resolves the enclosing frame, including nested frames in the same provider.
Separate application windows still undergo the existing foreground checks.
## Firefox focus and delayed labels
Firefox can expose a newly created Find entry before localization supplies its
name. libatspi can retain that empty name after Firefox has the label. On focus,
Cthulhu refreshes only an unnamed editable Gecko entry's own cache. If it is
still unnamed, the existing GLib timer checks for its label for at most 350 ms.
The update uses the provider's label and normal name-change presentation.
It stops on focus loss, a different focus, window/secure ownership changes,
defunct state, or expiry; password fields and other toolkits are excluded.
The native Find test also drains delayed speech around address-bar setup and
return from Find. Previously, a queued heading announcement could satisfy setup
while native focus was still in the address bar or moving to another control.
Find label, typing, caret and heading-command assertions remain intact.
## Automated checks
```sh
@@ -25,6 +40,12 @@ entry speech, browse-key release, typing a structural-navigation letter,
Tab/Shift+Tab, Escape, restored caret/heading commands and reopening Find.
It records requests without producing audible speech.
On 2026-11-13, the unchanged Firefox Find assertions passed 30 consecutive
fresh-profile runs with the bounded recovery and synchronized setup (the
baseline failed 4 of 10 runs). Firefox baseline/tab checks, the AT-SPI, app and
review package tests, and AT-SPI/app `go vet` also passed. This is repeat-run
reliability evidence, not a guarantee against all browser/provider failures.
## Live acceptance
With a rebuilt reader, check Brave and Firefox separately: