# Nexus window chrome fix v1

Date: 2026-06-06
Build: 99 / 0.1.0-windowchrome1 / POC

## Issue

Nexus app windows were rendering with native Windows title bars and empty black bodies. The root cause was that `NexusWindow` did not reliably apply the Nexus app-window style when used as a root WPF window, so the `MainContent` property was never presented by the custom template.

## Fix

- Added an explicit `NexusAppWindowStyle` and kept an implicit `NexusWindow` style based on it.
- Added `WindowChrome` configuration to remove native Windows chrome while preserving resize behavior.
- Updated `NexusWindow` to apply the Nexus chrome style during construction, initialization, and load as a fallback.
- Updated the Nexus close button to close the host window directly instead of depending on each app viewmodel.
- Bumped local POC build/version from 98 to 99.

## Verification

- `dotnet build .\source\nexus-shell\NexusShell\NexusShell.csproj -c Release` passed.
- `dotnet test .\source\nexus-shell\NexusShell.Tests\NexusShell.Tests.csproj -c Release` passed: 74/74.
- `dotnet test .\source\nexus-installer\NexusInstaller.Tests\NexusInstaller.Tests.csproj -c Release` passed: 37/37.
- `powershell -NoProfile -ExecutionPolicy Bypass -File .\scripts\nexus-laptop-poc\build-installer.ps1 -Version "0.1.0-windowchrome1" -Build 99` passed.

## Artifacts

- Setup EXE: `dist\nexus-laptop-poc\NexusSetup.exe`
- Installer SHA256: `36e1fd5fa218f911f209e53c45c746632754599ce72cbd39d9f83d29b50c8ec7`
- Installer size: `90255002` bytes
- Payload ZIP SHA256: `c6c24fbd6fa1a82295eb509f18192a8a582e8f97e438f1fd561dfd35064a6dfe`
- Launched setup for local testing: `NexusSetup` PID `34100`

## Notes

- No CDN/update-channel manifest was changed for this local window-chrome build.
