53 lines
3.8 KiB
Markdown
53 lines
3.8 KiB
Markdown
# Native interface build and DEMO review
|
||
|
||
Scope: explicit synthetic DEMO startup → keyboard navigation through ten pages
|
||
→ checklist presentation → normal shutdown. Live mutation/error workflows and
|
||
screen-reader interaction are outside this rendered review. Stack: Qt Widgets/QPainter/QSS; the owner specification in
|
||
`requirements.md` defines layout, colors and motion. The `dedsec-motion` visual
|
||
language uses original geometry, with no third-party artwork or video runtime.
|
||
`better-interface` and its six domain instructions guided source inspection.
|
||
|
||
| Domain | Evidence inspected | Result |
|
||
|---|---|---|
|
||
| Accessibility | MainWindow, WorkflowPage, ChecklistPage, PixelDecoration, UI test source | Native names/plain text, keyboard navigation and reduced-motion tests pass; screen reader not verified |
|
||
| Layout | Splitters, FlowLayout, scroll forms, collapsible diagnostics | Actual 1024×768 action containment tested at 100/150/200%; sidebar label wrapping corrected |
|
||
| Writing | Russian workflow titles, blockers, observations, recovery instructions | Human/machine history separated; raw native details remain expandable |
|
||
| Typography | Theme/QSS, deterministic DejaVu fonts | Actual Cyrillic screenshots inspected at normal/high scale |
|
||
| Colors | Central tokens, focus and primary controls | Declared contrast passes; inspected DEMO states remain readable; high-contrast theme pending |
|
||
| UI | Buttons, tables, model refresh, selection/history and shutdown | Qt UI suite passes at three scales; no live state claimed |
|
||
|
||
## Source findings addressed
|
||
|
||
| Severity | Domain | Location | Before | After | Why |
|
||
|---|---|---|---|---|---|
|
||
| HIGH | Layout | `src/ui/pages/WorkflowPage.cpp:11` | Fixed action row could clip at narrow width | Wrapping FlowLayout | Primary actions must remain reachable |
|
||
| HIGH | UI | `src/ui/models/JsonTableModel.cpp:30` | Imported tooltip text could be interpreted as rich text | Escape markup | Inventory content must stay literal |
|
||
| MEDIUM | Writing | `src/ui/pages/ChecklistPage.cpp` | Results visible only as raw JSON | Separate method/result/operator/time table, expandable full record | Operator must distinguish human checks from automatic evidence |
|
||
| MEDIUM | UI | `src/ui/pages/WorkflowPage.cpp` | Row-number restoration could select another object after refresh | Restore stable row identity | A refresh must not change the apparent subject |
|
||
| MEDIUM | Colors | `resources/styles/dedsec.qss` | Primary fill and focus indicator used the same accent | Distinct focused fill and 2 px accent outline | Keyboard focus needs visible contrast |
|
||
|
||
## Verification
|
||
|
||
Passed: `python3 tools/check_theme.py`, the four CTest suites and
|
||
`python3 tools/check_gui.py`. The actual C++ executable captures 1440×900 logical
|
||
screenshots and exits. Qt tests capture all ten pages at 1024×768, exercise
|
||
keyboard navigation, reduced motion and capability gates at scale 1, 1.5 and 2.
|
||
Image dimensions match the requested scaling. The screenshots are Qt renders,
|
||
not web or Python recreations.
|
||
|
||
Visual inspection covered overview, access, blocked migration, checklist,
|
||
initialization and restoration at normal/high scale. It revealed truncated
|
||
sidebar labels; `NavigationList` now measures wrapping and keeps full labels.
|
||
The port editor now meets the height baseline and uses direct numeric input.
|
||
|
||
Evidence: [GUI smoke results](gui-smoke-results.json),
|
||
[screenshots](../artifacts/screenshots/), and [test results](test-results.md).
|
||
|
||
**Not verified:** actual X11 desktop (Xvfb could not bind local sockets), desktop
|
||
focus/assistive-technology behavior, screen-reader announcements, all live error
|
||
states, high-contrast themes and selection/scrolling under remote updates.
|
||
|
||
**Verdict: Approve for the inspected offscreen DEMO scope.** This is not approval
|
||
of a production administration release; the excluded runtime and laboratory
|
||
checks remain open.
|