Window controls (minimize, maximize, close and snap layouts)
On Windows, every Omniscio window draws its own minimize, maximize and close buttons in the title bar instead of the standard Windows ones. Hovering the maximize button still opens the Windows 11 snap-layout menu, the same as in any other app; clicking it maximizes or restores the window. On a Mac the native traffic lights stay.
What it is
The three buttons at the top-right of every Omniscio window on Windows — the main window, the KMS and Scratchpad windows, pop-out project windows and detached sessions. They are Omniscio's own buttons, styled to match the app's theme, rather than the standard Windows ones (those used to poke through other windows that overlapped Omniscio).
Where to find it
- Main window: the top-right corner of the title bar.
- Pop-out windows: the top-right corner of each pop-out's title strip (KMS, Scratchpad, Writer, themed project windows, detached sessions).
- Keyboard: Win+Z opens the snap-layout menu for whichever window has focus.
How it behaves
- Minimize — the left button hides the window to the taskbar.
- Maximize / restore — the middle button fills the screen; click it again to go back. Its icon switches between a single square and two overlapping squares to show which one a click will do.
- Snap layouts — rest the mouse on the maximize button for a moment and the Windows 11 snap-layout menu appears. Pick a zone to snap the window into that part of the screen. Like a native button, it waits a short moment, so sweeping the mouse straight across does not open it.
- Close — the right button. In a pop-out window it also shows its shortcut, Ctrl+W; in the main window Ctrl+W archives a session instead, so the main window's close button does not show it.
- The snap-layout menu needs Windows 11 with Snap Layouts switched on in Windows Settings (System → Multitasking). On Windows 10 the button simply maximizes.
- The maximize button shows no "Maximize" tooltip on hover — the snap-layout menu appears there instead, as it does on a standard Windows button.
For agents
Windows opens the snap-layout menu only when the window under the mouse answers its "what is
here?" question (WM_NCHITTEST) with "maximize button" (HTMAXBUTTON). An HTML button cannot, so
an invisible native child window is laid exactly over the maximize button and gives that answer; it
passes hover and press back to the button and performs the maximize toggle itself. The button
reports its device-pixel position over WINDOW_SNAP_ANCHOR, and the hover state comes back over
WINDOW_SNAP_HOVER. Rules: window-controls-contract.md
snap-layouts-on-maximize; moving parts: window-controls-mechanism.md.
Related
Last verified 2026-10-07