Phase 297 — two desktop polish fixes.
Windows shrink to fit when the resolution / browser viewport changes
- Before, a window was fit to the screen only when it opened; if you then lowered the screen resolution or shrank the browser, the window kept its old (now-too-big) size and could drift off-screen.
- Now a debounced viewport listener re-fits any window that has become oversized and pulls any off-screen window back so its title bar is always reachable. It only ever shrinks oversized windows (never auto-grows), and a manual drag-resize can no longer make a window bigger than the screen.
Files force-light reset hardened
- Files already renders light in the dark OS theme (shipped in v44.78). This release makes the
.livos-app-lightforce-light wrapper a complete light reset by also re-declaring the v32 token family, so every token family inside a force-light app renders light. If Files still looked dark for you, it was because the box had not yet updated past v44.78 — this update brings it current.
The OS chrome (desktop, taskbar, title bars) stays dark.
Box update (operator):
ssh bruce@100.112.68.1
sudo -s
curl -fsSL https://raw.githubusercontent.com/utopusc/livinity-io/v44.79/update.sh -o /opt/livos/update.sh && chmod +x /opt/livos/update.sh && bash /opt/livos/update.sh 2>&1 | tee /tmp/livos-4479.log
Verify in DARK theme: open Files → fully light; open a window, then shrink the browser / lower the resolution → the window shrinks to fit and stays on-screen (no giant off-screen windows).
Full Changelog: v44.78...v44.79