Files
vectorcraft/apps
dotCooCooandFredApps aae32d4650 Windows: dialogs and popups open on a connected monitor, clear of the taskbar
The desktop app passed the framework a window system that lists no
monitors, so a dialog such as Preferences reopened at its saved desktop
position without being fitted to any display, and palette popups had no
monitor to stay inside.

The app's window system now lists the monitors through winit, with each
monitor's work area on Windows (GetMonitorInfo), so a saved dialog that
no connected monitor shows comes back onto one with its title bar
reachable, and popups stay above the taskbar. A listing is reused for one
second and kept when winit stops on a display that went away while it
was listed. macOS lists no monitors, as before: winit gives each
display's position in that display's own scale, so displays with
different scales overlap. The main window's restore uses the same
listing.

Fixes #10230

Co-authored-by: FredApps <[email protected]>
2026-12-05 13:12:48 -08:00
..