UI-096: Complete modal and focus pausing#
Status and classification#
Plan-only draft proposal; no implementation, tests-run claim, retirement or merge.
Classification:
missing_behavior.Baseline:
meneerkrabs/OpenTPWmain5ccddcab(2026-10-18).One ID per proposal; shared dependencies are coordination edges, not duplicated ownership.
Source-verified residual#
TimeScaleFor handles named pause/map/postcard/delete/dismiss screens but not remaining generic messages or application deactivation.
Source sites#
source/OpenTPW/Hud/ParkHud.cs:140— APPROX annotation and adjacent implementation inspected.
Implementation cross-check#
source/OpenTPW/Hud/ParkHud.cs:142:public static float TimeScaleFor( float speedScale, IEnumerable<string> openScreens ) =>Existing behavior described above was checked against implementation, not only the register summary.
The presence of an APPROX marker alone is not evidence of an absent feature.
Evidence needed#
Original conditional pause gates and host activation event lifecycle.
Available private Data contains assets, not an original executable; no new binary trace was obtained in this audit.
Existing address annotations are provenance leads, not a claim that this audit independently verified instructions.
Any original captures/assets remain private; fixtures should be synthetic or references/hashes, not redistributed game media.
Bounded investigation and implementation plan#
Confirm current ownership and rebase the proposal against the latest main before runtime changes.
Replace incomplete name-only coverage with explicit pause ownership for relevant dialogs/focus state; preserve gate exceptions and user speed.
Turn each verified behavioral distinction into a small deterministic regression fixture before editing runtime paths.
Keep unknown behavior explicitly unresolved; an evidence-only outcome is valid if no mismatch is established.
Submit any later implementation with exact evidence, changed scope and test output for review.
Acceptance tests to author and run later#
Nested dialogs; close in either order; deactivation/reactivation; pause gate off; texture-download modal; resume previous speed once.
Run the nearest existing unit suite plus targeted integration/visual checks for changed behavior.
Compare baseline and candidate with identical inputs; label screenshots by platform, display settings and state.
Report unsupported/corpus-external cases separately; synthetic consistency alone is not original-fidelity proof.
Ownership and overlap#
Consult: Window/focus lifecycle and online notice owners.
Do not overwrite another worker's runtime edits or duplicate an existing active implementation PR.
Merged UI #433 and languages #423 are baseline work, not open implementation dependencies.
Evening #439 is an extension and is not proof of original lighting or behavior.
Completion boundary#
This deliverable is a documentation proposal only; no gameplay source files are changed by this PR.
Runtime work remains blocked on the evidence/ownership decisions listed above where applicable.
No approximation is retired by creating this plan; no PR is claimed implemented or ready to merge.
Source: docs/proposals/ui-096-complete-modal-and-focus-pausing.md in the project repository.