Overlay Placement
Global shell overlays should be positioned against the core workspace rectangle, not blindly against the full browser viewport.
Global shell overlays should be positioned against the core workspace rectangle, not blindly against the full browser viewport.
Why
When Alma is enabled, part of the browser viewport belongs to the assistant rail. Centering Switchbar, command overlays, or future modals against the full viewport makes them look visually off-center relative to the actual work area.
Core Workspace Rect
The shell marks the desktop work area with:
data-os-core-workspaceThe hook useCoreWorkspaceRect reads that element and falls back to the full viewport when the workspace element is not available.
Current file:
apps/os-shell/src/shell/overlays/useCoreWorkspaceRect.tsCurrent Consumers
- Prox Switchbar centers on the core workspace.
- Floating Surface stacks against the core workspace edge.
- Slidepad positions its corner panel inside the core workspace boundary.
Future Migration
Command palette, generic modal placement, app-specific command overlays, and additional app action surfaces can migrate to the same helper gradually. This should be done incrementally so existing shell dialogs do not regress.
Window Manager
Shell chrome and Mission Control UX: [../design/os-shell-design-language.md](../../../product/design/os-shell-design-language.md). State ownership: [state-model
App Content Zoom
App content zoom is an OS runtime readability feature for sub-app windows. It is not browser page zoom and it is not window resizing.