Historical: Linux-based prototype
Snapping
This page documents the earlier Linux-based prototype as of 24 November 2026. It does not describe the independent Khelforge OS, and its steps are not instructions for it. See the independent Khelforge OS.
Snapping places a window on the left half, the right half or the whole work area. It is implemented and covered by unit tests and automated visual tests, including a snap with a pointer and a keyboard snap in an offscreen session.
Using it
Section titled “Using it”- Drag a window by its title bar to the left edge, the right edge or the top edge of the screen.
- A preview rectangle shows where the window will land.
- Release. Left and right give half the work area. The top edge maximises.
From the keyboard, Ctrl+Alt+Left and Ctrl+Alt+Right snap the focused window. Dragging a snapped window out gives its earlier floating size back.
When a snap is refused
Section titled “When a snap is refused”The window must fit half the work area at the size it accepts. If its minimum size does not fit, the snap does nothing. Task Manager and Files cannot snap on a 1024-pixel-wide screen for this reason.
If the screen becomes smaller than a snapped window allows, the window floats again instead of being cut off.
How it was tested
Section titled “How it was tested”Unit tests cover left, right, refusal and return to floating. The visual test drags a window to an edge, checks the preview, snaps with the keyboard, and checks that a refused snap leaves the window alone.
Known limitations
Section titled “Known limitations”- Two halves only. There are no quarters, thirds, custom zones or saved layouts.
- Two snapped windows are not linked, so resizing one does not resize the other.
- Applications are not told they are tiled, because Qt does not offer that yet.