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.
This commit is contained in:
1 parent
8592d3be11
commit
f27dec8502
15 files changed
+206
-34
No files matched your search
@@ -33,8 +33,22 @@ showing, non-iconified, non-defunct native menu window. The existing menu
|
||||
structure check permits a window with one menu child, or an unnamed frame
|
||||
with one menu-bar child. A panel application name alone grants no exception.
|
||||
|
||||
This check is used both before routine background content capture and during
|
||||
foreground validation. It also works when X11 has no foreground client, as
|
||||
Attached Applications menus need a second check. GTK parents these menus under
|
||||
the menu-bar item in the top panel, which can remain inactive when the menu
|
||||
opens over the desktop, bottom panel, or another application. Require a freshly
|
||||
showing menu source, selected menu ancestors through the menu bar, a showing
|
||||
non-iconified/non-defunct host, and the verified panel process for both source
|
||||
and host. Ordinary host controls cannot use this exception. Panel menu items
|
||||
also cannot borrow another panel's foreground through the generic same-process
|
||||
focused-item shortcut after the menu closes.
|
||||
|
||||
GTK menu containers can emit focus-gained without exposing FOCUSED in their
|
||||
state set. Normalize that explicit signal just as for native menu items, so
|
||||
the event loop can follow the accepted menu into its panel window without a
|
||||
separate activation. Foreground validation still precedes presentation.
|
||||
|
||||
These checks are used both before routine background content capture and during
|
||||
foreground validation. They also work when X11 has no foreground client, as
|
||||
when a panel menu opens over an empty desktop. Ordinary panel windows and
|
||||
hidden menu items retain normal filtering. Native actions and review use the
|
||||
same window validation. The correlated X11 application is preserved; no popup
|
||||
@@ -69,14 +83,18 @@ python3 tests/native_test_session.py env CTHULHU_NATIVE_PANEL_APPLET=1 go test -
|
||||
go test ./internal/app -run '^TestNotificationProvidersAndHistoryMatchReferenceBehavior$' -count=1
|
||||
```
|
||||
|
||||
The private GTK fixture uses separate panel and editor providers. Native
|
||||
checks cover menu activation over an editor and an empty desktop, forward and
|
||||
reverse navigation, a submenu, Escape, editor restoration, rejection of an
|
||||
The private GTK fixture uses separate panel and editor providers, plus two
|
||||
panel windows on the same provider. Native checks cover detached and attached
|
||||
menus over an editor, an empty desktop and the bottom panel, forward and
|
||||
reverse navigation, a submenu, Escape, editor restoration, accessible action
|
||||
validation while open and rejection after dismissal, rejection of an
|
||||
ordinary panel window, a late focus signal from a hidden menu, and an unrelated
|
||||
process claiming the panel's application name. Panel icon captures verify
|
||||
inherited labels, own-name/description precedence and unrelated-container
|
||||
rejection. The event-loop check verifies queued speech and Braille frames for
|
||||
navigation, dismissal, editor return and reopening. It emits no audible speech.
|
||||
navigation, dismissal, editor return and reopening. Attached-menu presentation
|
||||
is checked with initial focus in the editor, desktop, bottom panel and top
|
||||
panel. It emits no audible speech.
|
||||
|
||||
The socket/plug fixture uses separate host, applet and editor processes. It
|
||||
checks the shared containing-window identity, preserved applet identity, icon
|
||||
@@ -109,7 +127,9 @@ Review the diff before submission, as required by the contribution policy.
|
||||
The fixtures model the native contracts; they do not run the reporter's Fedora
|
||||
MATE session. After starting the candidate through the normal launcher:
|
||||
|
||||
1. Open the Applications menu over a browser, a terminal and the desktop.
|
||||
1. Open the Applications menu with Alt+F1 over a browser, a terminal and the
|
||||
desktop. Repeat after focusing the bottom panel and then the top panel;
|
||||
opening announcements and navigation must work from each starting point.
|
||||
Navigate forward/backward, enter/leave submenus, and check spoken labels
|
||||
and Braille if available. Repeat with Places/System menus and panel context
|
||||
menus offered by the installed MATE configuration.
|
||||
|
||||
Reference in new issue
Block a user