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:
2026-11-11 00:05:16 +00:00
parent e9fa1b6ec9
commit ef1c120f57
12 changed files with 593 additions and 15 deletions
+3 -3
View File
@@ -85,16 +85,16 @@ void main() {
);
await tester.drag(
find.byKey(const ValueKey('window-title')),
const Offset(5000, 5000),
const Offset(600, 5000),
);
await tester.pumpAndSettle();
expect(
windowRect(tester, 'Probe a'),
const Rect.fromLTWH(880, 640, 400, 160),
const Rect.fromLTWH(750, 640, 400, 160),
);
expect(
manager.byId(entry.id)!.frame,
const Rect.fromLTWH(880, 640, 400, 160),
const Rect.fromLTWH(750, 640, 400, 160),
);
});