Compositor: niri or mango, judged on the best end state #37
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The spaces map in #36 runs into the edge of what niri reports, so we checked whether mango (MangoWC) would be a better foundation. This issue judges both on the best desktop we could end up with, not on migration cost. It is written to be read without the earlier discussion.
What fjord needs from a compositor
rrename rely on that.Findings
Tags: ran = seen running (niri 26.04 on the laptop and nested; mango 0.18.4 nested), src = read in source, unverified = inference.
tag_gather=1: emptied spaces vanish and renumber, one past the last can be opened, and per-space layout moves along (ran)tile_pos_in_workspace_viewis null for every tiled window (ran)client,<id>, but column moves silently do nothing on a hidden space (ran)WindowLayoutsChangedand others) (ran)niri msgis a process, ~24 ms each, and parallel calls arrive out of order (ran). A persistent socket should fix both (unverified)Theme.spring*)ext-image-copy-capture, only output screencopy (src: binary strings)ext-image-copy-capturewith a toplevel source; captured windows on hidden spaces (ran). Quickshell 0.3.0 can't use it yet (ran)The full mango study, with source references for each claim, is still a local file: ask Arne for it.
The best end state on each
niri plus three changes, upstreamed if possible and carried as patches if not:
tile_pos_in_workspace_viewfor tiled windows. niri already computes this internally (compute_new_view_offset_*).--window-idon the column actions (move-column-left/right/to-index, consume, expel), asmove-window-to-workspacealready does.ext-image-copy-capturewith a toplevel source, for thumbnails.All three expose things niri already has, without changing its model. With them, every need in the table is met, and the shell keeps sharing niri's springs.
mango plus the changes it would need:
These go into mango's model, not just its reporting, and turn it into a fork of its core, against a project with one author that releases weekly.
Recommendation
Stay on niri, and get the three changes in. This is the better end state, not just the cheaper one:
Thumbnails are the only thing mango has that niri can't do today, and on niri it's change 3.
For discussion
🤖 Generated with Claude Code