Something went wrong. Try again.
A simple, small calculator placed discreetly near the Windows Taskbar or anywhere on the screen
Something went wrong. Try again.
fix: restore calculator window on-screen when saved monitor is disconnected master
PlaceInitial() restored the saved window position from the registry without checking that it still landed on a connected monitor. After detaching an external display the window ended up off-screen and invisible (ToggleVisible shows it with SWP_NOMOVE). Validate the target rect with MonitorFromRect (MONITOR_DEFAULTTONULL); if it intersects no active monitor, discard the saved position and fall through to the first-run bottom-right anchoring. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author Marco Maroni Co-author Claude Opus 4.8 (1M context) Date (Jul 17, 2026, 10:06 AM UTC) Commit eeebfc6f eeebfc6feddc39124f77c1252c65436ce5cc85e2 Parent be50d0d4 be50d0d4644cbd57eec0457489b794c78735a8d7