Add the Windows menu, window cycling, edge snapping and size per kind
Phase 4 of docs/plans/floating-windows.md. A bar button lists the app's windows on every tab (show one, Show all, Minimise all, Close all). Alt+` and Alt+Shift+` bring the next or previous window to the front. Dropping a title at the left or right edge fills that half, at the top it maximises. A new window of a kind opens at the size that kind was last given.
This commit is contained in:
@@ -84,3 +84,23 @@ float, panel height); the bottom panel is still a shell panel.
|
||||
over Runs: the window, its options menu, tooltips, a second tab, typing,
|
||||
hide and show by Alt+T, maximise, move, minimise, and the frame after a
|
||||
reload.
|
||||
|
||||
## Window conveniences (Phase 4)
|
||||
|
||||
- **Windows menu** (`windows_menu_button.dart`): a bar button on every tab
|
||||
while the app has windows. It lists each window (topmost first; a tick on the
|
||||
active one, a minimise mark on hidden ones); choosing one shows it and brings
|
||||
it to the front. Then Show all, Minimise all and Close all.
|
||||
- **Cycle chord** (`window_shortcuts.dart`): Alt+` brings the next window to the
|
||||
front and Alt+Shift+` the previous one, from anywhere, when two or more
|
||||
windows show and no popup covers the app. Ctrl+` stays the terminal's.
|
||||
- **Snapping**: dropping a title with the pointer within 6 px of the app's left
|
||||
or right edge fills that half; at the top edge it maximises.
|
||||
- **Size per kind**: a new window of a kind opens at the size that kind was last
|
||||
given by a move or resize (not a snapped or maximised one), placed by the
|
||||
cascade. Saved with the windows (`sizes`).
|
||||
- Double click on a title maximises for every kind (since Phase 1).
|
||||
- Captured 2026-11-11 at 1280x800 and 1920x1080, light and dark, over Chat and
|
||||
over Runs: the button and its tooltip, the menu, a hovered item, choosing a
|
||||
window, cycling, Minimise all, the menu with minimised windows, Show all, and
|
||||
snapping left, right and to the top.
|
||||
|
||||
Reference in New Issue
Block a user