mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-20 15:41:38 +01:00
Follow-up to the review of komorebi-core (S/review/core.md, F2 and F4 and its untested-behaviours list); most of the list was already pinned, this adds the rest: - the after_floating_removed hook is pinned to run BEFORE the window is taken out (it sees both windows and the old focus index), today's KDE/macOS order, although the trait doc says after; the stub now logs len and focus for the hook. - resolve_placement_index with Rules maps (Single and Many matching, Secondary, no match falls back after the focused container); the stub gained a match id and a path (a window without a path never matches Rules: it falls back). - the JSON key set of a default workspace, and of Windows and macOS monitors per extra. - the documented defaults of every optional hook on a platform that overrides nothing (the KDE-shaped test platform), and that the default place hooks make update_shared fail. - Monitor remove_workspace_by_idx at the length, and an old monitor file with a non-empty ring of workspaces missing optional keys. Verified: cargo test -p komorebi-core 215 passed, 1 ignored (the known bug), and with --features schemars 217 passed, 1 ignored; clippy --all-targets has no warning in the crate. No non-test source changed.