Centralize legacy app preferences
This commit is contained in:
@@ -179,7 +179,10 @@ contracts while legacy canvas/project loading remains in place.
|
||||
scale option selection, viewport scale, RTL layout direction, timelapse
|
||||
recording toggles, VR controller enablement, and canvas cursor mode;
|
||||
the live tools/options menu and `pano_cli plan-app-preferences` consume those
|
||||
contracts while legacy widgets and settings persistence execute them.
|
||||
contracts. Options-menu preference execution now dispatches through
|
||||
`AppPreferenceServices` and `src/legacy_app_preference_services.*` before
|
||||
legacy widgets, settings persistence, recording toggles, and canvas cursor
|
||||
updates continue.
|
||||
It also owns tested app status/display plans for document title text,
|
||||
resolution mapping/labels, DPI text, history-memory text, and recording-frame
|
||||
status text, plus renderer diagnostic indicator labels for framebuffer fetch
|
||||
@@ -602,6 +605,11 @@ dispatch through `ToolsMenuServices` in the shared app-shell bridge before the
|
||||
legacy UI/panel/canvas/platform adapters continue execution. The live animation
|
||||
panel route now also checks animation panel visibility and applies animation
|
||||
panel layout state instead of using the grid panel by mistake.
|
||||
Options-menu preference callbacks now dispatch UI scale, viewport scale, RTL,
|
||||
VR-controller, auto-timelapse, and cursor-mode side effects through
|
||||
`AppPreferenceServices` in `src/legacy_app_preference_services.*` before
|
||||
retained settings writes, recording lifecycle calls, and legacy canvas/UI
|
||||
adapters continue.
|
||||
`pano_cli plan-about-menu` exposes app-core planning for About menu help,
|
||||
about, what's-new, crash-test, and performance-test commands, including
|
||||
versioned what's-new labels, diagnostic gating, and no-canvas performance-test
|
||||
@@ -1345,6 +1353,11 @@ Results:
|
||||
`pp_app_core_document_export_tests`, `pano_cli_plan_export_menu_*`,
|
||||
`pano_cli_plan_export_target_name_smoke`, and
|
||||
`pano_cli_simulate_document_export_smoke`.
|
||||
- `PanoPainter`, `pp_app_core_app_preferences_tests`, and `pano_cli` built
|
||||
after options-menu preference execution moved behind app preference services.
|
||||
- Focused preference CTest coverage passed for
|
||||
`pp_app_core_app_preferences_tests` and the app-preferences CLI smoke tests
|
||||
after the live bridge split.
|
||||
- `pp_app_core_document_recording_tests` passed, covering recording start/stop,
|
||||
clear, platform recorded-file cleanup, frame-count reset, export progress
|
||||
totals, and oversized progress-total clamping.
|
||||
|
||||
Reference in New Issue
Block a user