Bug: windows become unreachable when the viewport shrinks
Repro (Jay): ran taOS fullscreen on an ultrawide with several windows open, then moved the taOS window/browser to a 16:9 display. The windows opened on the ultrawide were positioned off the smaller viewport - couldn't see them or move them onto the new display.
Cause: window positions are absolute and are not re-clamped when the viewport/display size changes (going from a wide to a narrow screen leaves windows beyond the right/bottom edge, with no way to drag them back since their title bars are off-screen).
Fix: on viewport resize (and on app focus), re-clamp every open window so its title bar stays within the visible bounds (nudge off-screen windows back in by their top-left, like macOS does). Consider a "gather windows" affordance too.
Feature: dock right-click controls
Right-click an app's dock icon -> a context menu with Minimise / Maximise / Close (and pin/unpin already exists). This also gives a way to recover/act on a window whose chrome is off-screen.
- Close confirmation: some apps should confirm before closing (unsaved work, long-running task). Add an optional manifest flag (e.g.
confirmOnClose: true in the app manifest); the dock Close (and the window close button) then show a confirm dialog for those apps.
Both live in the window manager / dock (desktop/src/stores/process-store.ts, Dock, Window.tsx). Logged for the queue; not started (wind-down).
Bug: windows become unreachable when the viewport shrinks
Repro (Jay): ran taOS fullscreen on an ultrawide with several windows open, then moved the taOS window/browser to a 16:9 display. The windows opened on the ultrawide were positioned off the smaller viewport - couldn't see them or move them onto the new display.
Cause: window positions are absolute and are not re-clamped when the viewport/display size changes (going from a wide to a narrow screen leaves windows beyond the right/bottom edge, with no way to drag them back since their title bars are off-screen).
Fix: on viewport resize (and on app focus), re-clamp every open window so its title bar stays within the visible bounds (nudge off-screen windows back in by their top-left, like macOS does). Consider a "gather windows" affordance too.
Feature: dock right-click controls
Right-click an app's dock icon -> a context menu with Minimise / Maximise / Close (and pin/unpin already exists). This also gives a way to recover/act on a window whose chrome is off-screen.
confirmOnClose: truein the app manifest); the dock Close (and the window close button) then show a confirm dialog for those apps.Both live in the window manager / dock (
desktop/src/stores/process-store.ts,Dock,Window.tsx). Logged for the queue; not started (wind-down).