Pop-outs and window locks
Lift any tab into its own floating window (grouped, free-standing or in the Dock, optionally pinned on top), and lock other apps' windows to a session.
On this page
Two features take windows out of the main window's layout. A pop-out lifts one of your session's tabs into a floating window of its own. A window lock ties another app's window (a browser, a simulator, a design tool) to a session, so it shows only while you are on that session.
Pop-outs
Any tab of a session can pop out: a terminal, a web tab, Files, Notes, a pull request review or a New tab. The one exception is the primary pane's tab, which is the session itself.
Pop a tab out
- Right-click the tab and choose Pop Out (the last row of the tab menu), or
- run Pop out tab from the palette for the focused tab, or
- from a terminal:
flow-cli popout open --mode free.
The pop-out opens over the tile it came from. Its window has the tab strip in its title bar and three buttons at the right:
| Button | Does |
|---|---|
| Focus | Focus Session: brings forward the window that owns the session and shows the session there |
| Mode | Opens the mode menu: Grouped with Session, Free-Standing, Show in Dock (a choice of one), Pin on Top, Focus Session, Return to Session |
| Pin | Pins the window on top (filled in the accent colour while pinned) |
Drag the band under the buttons to move the window; double-click it to zoom. ⌘T inside a pop-out adds a tab to it. A pop-out never splits.
Modes
| Mode | When the window shows |
|---|---|
| Grouped with Session (the default) | Only while its session is the one shown in the window that owns it. Switch sessions and it hides; switch back and it returns above that window. |
| Free-Standing | Always |
| Show in Dock | Always, and it gets its own Dock icon and ⌘-Tab entry, titled "session name — kind" |
Pin on Top works in any mode: the window floats above other windows, on every Space and over full-screen apps.
If the Dock helper cannot start, or it quits, the pop-out falls back to Free-Standing.
Typing and actions in a pop-out
Typing and tab actions (new tab, close tab, next tab) act on the pop-out's tabs. Session-level actions (switching sessions, New session, the Dashboard, other pages) go to the window that owns the session, which comes forward. Split, collapse and tile-focus actions do nothing in a pop-out.
Put it back
- The red close button, Return to Session (mode menu or tab menu) or Return pop-out to session in the palette moves its tabs back into the session: into the tile they came from, else the first tile right of the primary, else a new tile. Nothing is lost.
⌘Won a pop-out's last tab closes that tab, and the pop-out with it.- Closing the session closes its pop-outs too.
Pop-outs, their mode, pin and frame are saved with the session and come back on the next launch.
Palette actions and the CLI
All unbound by default: Pop out tab, Return pop-out to session, Pin pop-out on top, Cycle pop-out mode, Focus pop-out's session.
flow-cli popout open --group 2 --tab 1 --mode grouped # grouped | free | docked
flow-cli popout pin ID on # on | off | toggle
flow-cli popout mode ID docked
flow-cli popout return ID
ID is the pop-out's id, listed under windows in flow-cli state.
Window locks
A locked window belongs to one session: it is hidden whenever you switch away from that session and shown again when you switch back, the same rule a grouped pop-out follows. Use it for the browser window, simulator or app a session is working on.
Note: Window locks need the Accessibility permission. The first time, Flow shows the macOS prompt; allow Flow in System Settings › Privacy & Security › Accessibility, then try again.
Lock a window
- Switch to the session the window belongs to.
- Run Lock Window to Session… from the palette (unbound by default; give it a shortcut in Settings › Keyboard if you use it often).
- Flow covers your displays with a picker. Point at the window you want: it is highlighted with a button, Lock to (session), or Move to (session) if it is locked to another session.
- Click the button. Click Cancel, or leave the picker alone for 60 seconds, to stop.
Locked Windows… opens a list of windows in the palette instead, front to back, with the one locked to the current session checked. Use it to reach a window that is hidden. Press ↩ on a row to lock it to the current session, or to unlock it if it already is.
While a window is locked
- When it is on screen, Flow draws a quiet border around it and a small tab at its top centre naming its session. Hover the tab for three buttons: jump to its session, pin, and unlock.
- Pin keeps the window above the Flow window that owns its session (not above other apps).
- A window is locked to at most one session; locking it to another moves it.
- Windows are hidden by hiding or minimizing their app, without animation; Flow never moves them off screen.
Limits
- Full-screen windows can't be locked, and are never moved.
- A session reopened from History has no locks.
- Closing a locked window removes its lock. Quitting Flow releases every locked window.
- While the license screen is up, every locked window is released (the locks are kept).
From a terminal: flow-cli window-lock list, flow-cli window-lock add --window-id N, flow-cli window-lock remove --window-id N, flow-cli window-lock pin --window-id N.
Sources
Written from these files in the Flow app repo
src/popout_window.rssrc/dock.rssrc/workspace.rssrc/window_lock.rssrc/window_lock_app.rssrc/window_lock_chrome.rssrc/persist.rssrc/pages.rssrc/main.rssrc/bus.rs