Repository navigation
fix(cursor): the five cursors that waited for Rune, as official has them - #1187
Merged
Merged
Conversation
Hona
force-pushed
the
cursor-fix/on-pin
branch
from
November 25, 2026 10:21
1559186 to
99ac712
Compare
A pin move renames every Rune symbol, so the committed profiles were dead for Rune's code on this branch's first commit. Both are re-keyed onto this tree's names, read from the instrumented build of #1193 (scripts/pgo-rekey.mjs). Windows x64: the counts trained on 25 Nov (launch weight 1): 17,961 of 18,439 functions keep their counts, 337 are dropped because their code changed, 141 no longer exist. Apple silicon: the committed profile, not trained anew: 15,030 of 15,445 kept, 285 dropped, 130 gone.
The arrow over a URL in a tool's text (link_cursor) and over a zoomed image in the viewer (pan_cursors), help over a retry's message with its whole text in a tooltip, progress over a queued message while it is sent, and the I-beam over the browser's address field through a new cursor prop in the plugin contract (1.10).
Hona
force-pushed
the
cursor-fix/on-pin
branch
from
November 25, 2026 11:00
685e72c to
13b8680
Compare
… link in tool output Three places this branch's cursors can be looked at, which no scene showed: queue-sending (the queue-3 scene with its first row pending: a fixture run answers a queue change in the step that asks for it, so here the Undo is asked for and its write dropped), retry (the open session with a step waiting to be tried again) and tools-shell-link (the tour with a running shell whose output starts with a URL). Composer/Queue row sending is the held row in the storybook.
Hona
force-pushed
the
cursor-fix/on-pin
branch
from
November 25, 2026 11:17
13b8680 to
8eb7a92
Compare
Hona
marked this pull request as ready for review
November 25, 2026 15:54
Hona
added a commit
that referenced
this pull request
Nov 25, 2026
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.
The last five places where the pointer's cursor differed from the official app, now that Rune can express them. It needs the Rune pin of #1192 and merges right after it, so both are in the same build.
Why
After #1105 and #1127 the cursor matched official's source at every stop of the pass except where Rune had no way to say it. Rune has those ways now (anomalyco/rune#2116, #2121, #2122, #2127), so the app can follow official's style sheets in the remaining five places.
What changes
<a>: the arrow (packages/ui/src/styles/base.css:84)El::link_cursor)image-preview.css:134,139,packages/desktop/src/renderer/styles.css:7-8)Preview::pan_cursors(false)); dragging still panscursor-help, with the whole message in a tooltip above it (session-retry.tsx:68-78)cursor-progress(queue-panel.tsx:228)cursor: texton the whole field;defaulton its zoom badge (bar.css:22,:137)ui.*node takes an optionalcursor, by its CSS name. Rune's Luau layer applies it (feat(luau): a cursor prop on ui nodes rune#2127); the contract lists it so plugin types and the prop check know it. The browser plugin is its one user. A plugin that does not set it is unchanged.scripts/cursor-allow.txt) gainsHelpandProgresswith their official lines, and the tool URL's line now says the arrow.What a user sees
The five rows above, and nothing else. The retry row's tooltip is new text on screen: the full error message, as official shows it.
Run
Every read is on this PR's Windows x64 build: the pointer is moved to the element and the cursor is read from the tree (
pointer.cursor, anomalyco/rune#2117), headless. The zoomed image is also read from a real window: the window thread's cursor handle, and the bitmap Windows draws for it.text(was the arrow)retry(new)helpqueue-sending(new)progresstools-shell-link(new)default(the arrow)reply-image, the viewer opened and zoomed by two clicksdefaultat rest and with a button held; the window shows Windows' arrowgrabandgrabbingThe whole pass: the 101 stops of fix(ui): the pointer's cursor follows the official desktop app, element by element #1105's pass, on this change's first 12 files on an earlier Rune commit (
d74f116e4), before the bump existed. 0 stops differ from official; 1 is unsettled in official's own source. Tree cursors: 78 arrow, 15 text, 4 column resize, 2 hand, 2 not-allowed.Nothing lost: the pass's six checks pass on that build: four edge drags, a tab drag, typing in the prompt.
The pictures. What Windows draws at three stops, on white and on black: before the bump, on the bump, and on the bump with this PR. The first row is not this PR's (the zoom-in picture comes with the bump, fix(windows): grab, grabbing, zoom-in and zoom-out show Chromium's pictures rune#2123); the other two are.
The single stops and the pictures ran on this change on the bump's branch before
devwas merged in (its head then: the pin and the re-keyed profiles). The head that merges differs from that tree bydev's commits only; none of them touches a file of this PR.scripts/guardrails.ps1: 9 of 9 pass on the head that merges, with the generated plugin files matching contract 1.10.Builds: macOS, Windows x64 and arm64, Linux x64 are green on the head that merges. Linux arm64 is not built in a PR run.
The scenes
Three of the five places had no scene a headless run can open, so the second commit adds them. They are app scenes for looking, not tests.
queue-sending: thequeue-3scene with its first row pending. A fixture run answers a queue change in the step that asks for it (features/inbox/src/queue/run.rs), so no row was ever pending there. The scene asks for the row's Undo and drops the write.retry: the open session with a step the server is waiting to try again.tools-shell-link: the tour session with a running shell whose output starts with a URL. No tool output in the fixture held one.Composer/Queue row sending: the held row as a story, for the storybook.Not run