Skip to content

Fix XP application resizing, focus, and Calculator layout - #132

Merged
astrovm merged 1 commit into
mainfrom
agent/fix-xp-window-behavior
Aug 13, 2026
Merged

Fix XP application resizing, focus, and Calculator layout#132
astrovm merged 1 commit into
mainfrom
agent/fix-xp-window-behavior

Conversation

@astrovm

@astrovm astrovm commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Summary

  • enable resize and maximize for FreeCell and Spider Solitaire
  • resize the real Win32 game windows together with their BoxedWine framebuffers
  • enable resize and maximize for Command Prompt
  • focus the command input after clicking anywhere in the Command Prompt window content or title bar
  • correct Calculator to the measured Windows XP 260x260 geometry, control positions, spacing, colors, and raised-button appearance

XP VM comparison

  • captured Calculator and Command Prompt from the isolated Windows XP SP3 reference VM at 1024x768 and 96 DPI
  • measured Calculator outer bounds, display, clear controls, keypad columns, keypad rows, menu positions, and label colors from the VM capture
  • verified that XP Command Prompt exposes resize and maximize controls and accepts typing after the window receives focus

BoxedWine implementation

FreeCell and Spider Solitaire now include small native resize hosts. Each host starts the original XP executable and applies browser window size changes to the real Win32 window. Small screens still scale the complete native surface, while larger and maximized windows resize the framebuffer and game window.

Validation

  • bun run quality
  • bun run typecheck
  • bun test — 121 tests, 2,216 assertions
  • bun run validate:javascript
  • bun run validate:icons
  • compiled both new MinGW resize-host variants
  • verified package hashes and provenance manifests

@astrovm
astrovm merged commit bd8cd7d into main Aug 13, 2026
7 checks passed
@astrovm
astrovm deleted the agent/fix-xp-window-behavior branch August 13, 2026 04:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant