fix #407: windowed resolution offering decoupled from the video-mode list
Campaign CC gate round 1. The Config Resolution dropdown now offers DisplayModeCatalog.WindowedResolutions — the curated hardware modes UNIONed with the static modern-ladder sizes that fit the desktop — because a windowed pick is a plain Size write needing no video mode, and remote/RDP virtual displays advertise almost none (the live RDP display exposed exactly 1920x1080 + the 2056x1290 desktop, leaving the dropdown with nothing below 1920). The fullscreen apply still validates against the hardware Resolutions list plus the switcher's monitor-mode-list hard guard, so a fullscreen pick of a windowed-only entry refuses safely (log-and-stay, #388/#392) — IA-22's offered-implies-supported invariant narrows to the fullscreen half and its register row carries the amendment. Three new pure-union tests including the exact live RDP shape. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
26e6f984f4
commit
e601a496db
4 changed files with 119 additions and 5 deletions
|
|
@ -2578,7 +2578,12 @@ public sealed class RetailUiRuntime : IDisposable
|
|||
// default, installed at startup by the graphical host;
|
||||
// fixture/headless mounts leave the catalog empty and the
|
||||
// controller falls back to the static preset ladder.
|
||||
availableResolutions: Rendering.DisplayModeCatalog.Resolutions,
|
||||
// #407: the dropdown offers the WINDOWED union (hardware
|
||||
// modes + static-ladder sizes that fit the desktop) — a
|
||||
// windowed Size write needs no video mode, and remote/RDP
|
||||
// displays advertise almost none. The fullscreen APPLY
|
||||
// still validates against the hardware list only.
|
||||
availableResolutions: Rendering.DisplayModeCatalog.WindowedResolutions,
|
||||
resolutionDefault: Rendering.DisplayModeCatalog.DesktopResolution);
|
||||
if (!configBound)
|
||||
Console.WriteLine("[UI] options panel: Config tab rows did not bind.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue