Repository navigation
Conversation
A video player on the native toolkit had nowhere to put its frames but a Canvas, which would copy and convert every one on the CPU into the window's shared memory: the most expensive way to show video, and one that keeps the compositor composing the whole window every frame. A window now places videos in its content (Window::place_video): each a subsurface of the window's main surface, beside the content as tiles and decorations are, over the content or under it, sized by its viewport. Frames come from any thread through a VideoSink straight to the render thread (ToRender::ShowVideo): linux-dmabuf buffers (a hardware decoder's surfaces) or wl_shm buffers on the producer's memfd, each made into a compositor buffer the first time it shows and kept while the producer keeps it, so a decoder's surfaces are imported once. A frame is attached and committed on its own (the subsurface is desynchronized), carries the time it's for (wp_commit_timing_v1), hears from wp_presentation whether it reached the screen, and is kept until the compositor releases its buffer. A new place goes with the window's next present: the subsurface is synchronized, placed, committed with the window, and desynchronized again. Videos take no pointer input, say they're opaque and a video (wp_content_type_v1), and can hold an idle inhibitor. video::caps says what the compositor takes (dmabuf formats and modifiers from linux-dmabuf's feedback, its render device, commit timing, the presentation clock), and returns at once when no render thread runs. Over the content and uncovered, a video is the window's topmost surface, which a compositor can scan out on a plane of its own. The null render thread presents each frame at once and notes it (Seen::VideoShown, Seen::VideoPlaced); VideoSink::detached does the same for tests with no render thread, and can play a window out of sight. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A program could read the clipboard only as text. Pasting a screenshot into a chat's composer, or files copied in a file manager, needs to know what else another program offers and to read it as that type; and a picture can take a while to arrive from the program that offers it, so reading it on the window's thread would hold the window up. Cx::clipboard_types lists the clipboard's MIME types (this program's own text, or what another program offers), Cx::clipboard_data reads it as one of them, and Cx::clipboard_reader hands out a function that reads it on any thread, as the clipboard was when it's called. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Chris Allen <cma@bitemyapp.com>
The engine lays out a U+FFFC whose run has an attachment as a box of the attachment's size, wrapping with the words around it, as TextKit does, but sidestep-ui's text had no way to ask for one or to find where it went. A formula in a sentence of a chat's answer needs both: room in the line, and where to draw itself. TextStyle::attachment (TextStyle::with_attachment) lays each U+FFFC the style covers out as a TextAttachment, a size in points and where its bottom is from the baseline, and TextLayout::attachments says where each box went: the byte of its U+FFFC and its rectangle from the layout's top left. The text draws nothing there. A test checks the box takes its room in the line, sits on the baseline as asked, and wraps to the next line with the words. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Chris Allen <cma@bitemyapp.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bitemyapp
added a commit
to bitemyapp/sekka
that referenced
this pull request
Oct 28, 2026
Sidestep's aizome-combined branch (bitemyapp/sidestep#8) is aizome with every Sidestep commit Sekka's branches use on top: Utsushi's video layer (#6) and Omperor's clipboard reading and text attachments (#7). Every open Aizome branch now pins its head, 853fbb3, in the flake, its lock and vendor/sidestep, ahead of Sidestep moving into Sekka's tree. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 28, 2026
Merged
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every Sidestep commit that a Sekka branch uses, in one linear branch on top of
aizome(7bfacbb). Sekka's open Aizome PRs are being re-pinned to this branch's head,853fbb3, and revalidated against it, before Sidestep moves into Sekka's tree.What's in it
bca07b2Show a player's frames in a window, on a subsurface of their ownaizome-video), the same commitb262a6eTell a program what the clipboard holds, and read it on another threadomperor),440448arebased853fbb3Make room in text for attachments the program drawsomperor),7b46a1brebasedgit range-diffshows #7's two commits unchanged by the rebase. #7 was cut fromaizomeat 16a1e37 and is replayed here after #6.Surveyed but not included
Every Sekka ref was surveyed: remote branches, local branches and worktrees. Any other Sidestep revision a Sekka branch pins or records (
dae957e,7bfacbb) is already inaizome.sidestep-stories) and Start applications apart from the program that opens them #5 (launch-detach).aizomeormain: the older branches, as found by patch and line comparison:aizome-dev,native-toolkit,upleft-compat,linux-scroll-tiles-and-text,wip/agents-2026-10-18, and thewip/*checkpoints.codex/hotaru-rust-terminalworktree has edits to Sidestep's clipboard, selection and keyboard code. They overlap Read the clipboard as any type off the window's thread, and make room in text for attachments #7's clipboard area and will need rebasing onto this branch once committed.Tests
On wx-workstation, after generating the objc2 overlay as CI does:
cargo fmt --all -- --checkis clean.cargo clippy --workspace --all-targets -- -D warningsis clean.cargo test -p sidestep-engine --lib: 169 passed, 7 ignored.cargo test -p sidestep-ui --lib: 40 passed, 2 ignored. This includes Read the clipboard as any type off the window's thread, and make room in text for attachments #7'sattachments_take_their_room_and_say_where_they_went.cargo test -p sidestep-ui --test headless:headless: ok.CI here passes on Linux (x86-64 and ARM), macOS and Wayland.
Sekka branches pinned to this head
Every open Sekka PR that touches Aizome now pins
853fbb3in its flake input, its lock andvendor/sidestep. Each PR's re-pin comment records its checks, run on wx-workstation:aizomepackage and Genkan's build pass, now that its flake pin finally includes Read the clipboard as any type off the window's thread, and make room in text for attachments #7.aizomepackage builds.Every branch builds its Aizome workspace with
cargo build --locked. The failures seen are pre-existing, each identical with the branch's previous Sidestep or in a crate with no Sidestep in its dependency tree:aizome-sys's host-dependent tests;aizome-comp's grim and reload tests on that host;🤖 Generated with Claude Code