Add page and endpoint navigation to F1 menus #2315

Open
Han-Wentao wants to merge 1 commit from upstream-pr/2315 into main
Han-Wentao commented 2026-11-29 11:46:35 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Han-Wentao on 2026-11-29T11:46:35Z.


Summary

  • Add PageUp / PageDown and Home / End to the F1 settings, key-bindings list, and save-import picker.
  • Show the current page and shortcut hint in the existing blank header row; use stable page-sized windows so the page number matches the visible list.
  • Navigate by visible rows, skipping the other console's hidden resolution setting. Page keys clamp at the ends; existing Up/Down wrapping remains unchanged.
  • Leave navigation keys available for binding while the bindings list is capturing a key, and clear pending action confirmations when navigating.
  • Document the shortcuts. No dependencies or lockfile changes.

Validation

  • 4/4 portable navigation tests passed, compiled directly from the new module with Rust 1.98.1 (page boundaries, partial/empty pages, endpoints, and captions).
  • Added 2 Windows menu integration tests for hidden settings, submenu selection, and preserving key-capture mode. These are not claimed as executed.
  • git diff --check passed; the repository's staged asset-policy check passed for all 4 changed files using an isolated temporary index.
  • Attempted Windows-target checking from WSL: cargo +1.98.1 check --locked --offline --target x86_64-pc-windows-msvc -p victory-gpu --all-targets --all-features --features blake3/pure. The blake3/pure feature avoids the unavailable MSVC assembler for this cross-check; it is not a source or dependency change.
  • The check is blocked by the same 9 existing errors reproduced on an untouched checkout of base 829188e969: missing mb in copystat.rs, and the shadowed timing function/cascading errors in host.rs. No diagnostics point to the new code. Strict Clippy is also blocked by existing unused imports in victory-shader.
  • Full asset-policy checking fails on the unchanged base file crates/victory-loader/src/heap_sites/frame_users.rs (2022 hex digits). The changed-file check passes; this PR does not modify that file or relax policy.
  • No game/GPU smoke test performed. No game assets or SDK files included.

This is independent of the separate named-settings-profile change.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5550391619 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/2315). Originally posted by [Han-Wentao](https://github.com/Han-Wentao) on 2026-11-29T11:46:35Z. --- ## Summary - Add **PageUp / PageDown** and **Home / End** to the F1 settings, key-bindings list, and save-import picker. - Show the current page and shortcut hint in the existing blank header row; use stable page-sized windows so the page number matches the visible list. - Navigate by visible rows, skipping the other console's hidden resolution setting. Page keys clamp at the ends; existing Up/Down wrapping remains unchanged. - Leave navigation keys available for binding while the bindings list is capturing a key, and clear pending action confirmations when navigating. - Document the shortcuts. No dependencies or lockfile changes. ## Validation - **4/4 portable navigation tests passed**, compiled directly from the new module with Rust 1.98.1 (page boundaries, partial/empty pages, endpoints, and captions). - Added 2 Windows menu integration tests for hidden settings, submenu selection, and preserving key-capture mode. These are not claimed as executed. - `git diff --check` passed; the repository's staged asset-policy check passed for all 4 changed files using an isolated temporary index. - Attempted Windows-target checking from WSL: `cargo +1.98.1 check --locked --offline --target x86_64-pc-windows-msvc -p victory-gpu --all-targets --all-features --features blake3/pure`. The `blake3/pure` feature avoids the unavailable MSVC assembler for this cross-check; it is not a source or dependency change. - The check is blocked by the **same 9 existing errors reproduced on an untouched checkout of base 829188e969ffd2907e5867c5d9aca29bd91cb1b6**: missing `mb` in `copystat.rs`, and the shadowed `timing` function/cascading errors in `host.rs`. No diagnostics point to the new code. Strict Clippy is also blocked by existing unused imports in `victory-shader`. - Full asset-policy checking fails on the unchanged base file `crates/victory-loader/src/heap_sites/frame_users.rs` (2022 hex digits). The changed-file check passes; this PR does not modify that file or relax policy. - No game/GPU smoke test performed. No game assets or SDK files included. This is independent of the separate named-settings-profile change.
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2315:upstream-pr/2315'
git switch 'upstream-pr/2315'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2315'
git switch 'upstream-pr/2315'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2315'
git switch 'upstream-pr/2315'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2315'
git switch 'main'
git merge --squash 'upstream-pr/2315'
git switch 'main'
git merge --ff-only 'upstream-pr/2315'
git switch 'main'
git merge 'upstream-pr/2315'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!2315
No description provided.