With controls distinct, the contrast pass lifted text.faint to #d7d7d7 to read on the base raised #5e5e5e, leaving
muted less than 1.25 times faint on the background. A raised #3d3d3d keeps faint at #c8c8c8. With DeckCraft's
surface pins its raised, control, hover and pressed fills have room for muted text, so the trial checks them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The draft calls (drafts_parse, with_draft_owner, retire_drafts) are public in contract, where they live, and the
form dialogs call them there; the runtime::focus forwarders are gone. The editor widget id moves down to
runtime::ime::editor_widget, which ImeSurface::of uses.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream floors a layer at its anchor in the measuring run; the port (df3405c3e) floored every layer in the placed
run too, unbounded, so a popover around a narrow control stood wider than its content plus padding and a list asking
to be wider than the window ran past its margin. The placed-run floor now applies to collection bodies (an emptied
popup list keeps its opener's width), clamped to the layer's room, and upstream's measuring-run floor is back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- replay::depth reads upstream's thread-local OPEN through any_open().
- pass_state::in_pass_here names frame::running by its path (upstream dropped the module import).
- icon_trials: the port's glyph trial gives DrawEnv upstream's new mark field.
- IconButton: the over-picture surface and glyph are the ones upstream's side-menu ink then adjusts (one mutable binding).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Upstream's body read/updated refactor (read_before_open, read_after_open,
updated_core) carries the port's viewport-window changes: the OS-title
header drop, mount_window with the window spec, least_width_of after
fixed_height.
Carried upstream fixes into the port's code:
- disabled AccessKit nodes (register_disabled) beside the port's numeric
node flag in register_node and every emit/text/report call site;
- a locked toggle cell (declared inactive) is disabled and offers no
Click on the port's single toggle-cell node (d4171a04d's intent);
- a disabled lead's Enter refuses through upstream's activate_lead and
still clears the activation, so its popup stays open;
- Initial::FirstField skips read-only text and falls back to the body's
first stop;
- scalar-row Increment/Decrement routing beside the port's access_click
and numeric parts;
- Units keeps both InchSpelling and ZoomPrecision;
- measure_layer uses Overlay::tier; width_from_content takes (Ui, Env)
and keeps the empty-text width; run_in_host takes the host env and
still opens the host.
Toggle cells keep the port's mechanism (one node, the row's own;
put_toggle_names and RowToggle go), pending lead question Q369.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
automation: upstream's frozen-clock and ended-connection server hooks join the
port's ServerLimits as ServeOptions {limits, clock, ended}; serve_with and
listen_with take impl Into<ServeOptions>, so ServerLimits callers are
unchanged. AuthDeadlineStream keeps upstream's DeadlineClock. ControlChannel
keeps the port's held request and upstream's held-OK waiters. ui.drag is
upstream's {from, to, button, steps, modifiers} form; the port's drag trial is
carried to it with the same assertions.
draw: TransformBox keeps the port's BoxLook and takes upstream's handle_side;
the port's shared hit declarations use upstream's reach_of_handles.
settings: DiskFiles::read_bytes carries upstream's MAX_CONFIG_BYTES cap.
platform: both logger trials kept (port's attach trial, upstream's poisoned sink).
ui-canvas: the tool pass reports upstream's held Space on the port's env read;
CanvasScrollbars::clear_of takes the port's ShownBars.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- buttons: side_menu_ink (upstream, shared with IconButton) takes the port's surface-aware ink.
- link: the port's shade and upstream's on_inverse both kept; on_inverse wins, then tone, then shade.
- bars: upstream's ItemDisplay::Button keeps its face; the port's item icon override still decides the fallback.
- segmented: one wrapping mechanism, upstream's Placement (one line in a row or bar, cut cells with tooltips),
carrying the port's Proposal::Width room, half-pixel slack and full-room width for a wrapped strip; the port's
slots/extent go.
- list rows: the port's single toggle-cell node (toggle_cell part) stays; upstream's closed-toggle inactive paint is
carried onto it; record_toggle_names and the Role::None skip go.
- tile grid: the port's removal of the layout recipe cache stays; upstream's ruled divider spacing is carried,
including the FitToView fallback.
- text field: upstream's face role and the port's empty-backspace report both kept.
- range slider: upstream's mark-label least width with the port's axis-form height.
- trials: both sides' trials kept in every conflicted test file; imports are the union.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- dialog host: upstream's per-opening serials (OpenedDialog, take_by_open_serial,
get_by_open_serial, typed get_by_id) carried into the port's kept-actions store.
- ParamDialog: upstream's tagged footer toggles and per-instance flips replace the
port's session flip; the port's accepting extras and their OK gating stay.
- Param: upstream's and_enabled_when_in is the port's enabled_when list (one
mechanism; RowOptions::enabled_when_also dropped).
- New Document cards: upstream's Your Recent Items zoom on the port's ColumnRule.
- CommandPalette: upstream's least_width and field look on the port's bound state.
- PreferencesWindow: upstream's Classic layout, page steps and size beside the
port's LiveCancel mode and page-only disable while nested.
- AppShell: upstream's versioned, memoized page view inside the port's PageKind
ordering (after the slots, band only when the page covers the title).
- Tests and docs: both sides' pane trials, About imports and dialog host notes kept.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Cargo.toml takes main's egui pin (932a73b2) and vendor list; Cargo.lock is main's, resolved again after the combine.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The test compared only the first cell with the Zoom footer, so a grid that ran over the footer in a lower row still passed. It now also checks that the bottom of the glyph grid is at or above the footer's top.
The tear-off bar took its height from the menu rows' rect. In the popup's
measuring run the rows have no rect yet, so the bar measured zero tall and
its width was left out of the flyout's size. The flyout came out one bar
narrower than its content, and its edge clipped the bar and the three grip
lines.
The bar now measures at least as tall as its grip, so the measuring run
counts its width. The new test opens a flyout with the tear-off bar and
checks that the grip lines paint whole inside a clip as wide as the bar.
PathRow showed its FillWidth text field in a content-sized Row, where a
filling leaf keeps its measured width. The field stayed at its full field
length and the row narrowed the Browse button instead, so in a column
narrower than about 280 pt the label was cut to "Brows...". The row now
fills its width: the field takes the room the button leaves.
The lock file's length repeats every 64 holds, so a waiter that missed a whole cycle between two polls saw the same mark and could time out behind holds that each lasted far less than the timeout. The mark now also carries the lock file's modification time, which each hold moves when it sets the new length.
Under GroupHeads::Rule a divider between groups was drawn on the top
edge of its row, so it sat one gap under the tiles above it and a full
row height over the tiles below it. The divider is now drawn through
the middle of its row, as a list's rule head draws it, and the row has
the gap below it as well as above it.
A menu opened in a bottom slot stayed above every bottom slot, so a
status bar menu opened about 24 pt above its control when a help bar
sat between the status bar and the canvas. Popups opened in a bottom
slot now stay above only the bottom slots outside it; popups the body
opens still end above every bottom slot.
The glyph grid took all the height left in the panel body and the footer row (the count, the zoom slider and the note shown when no text is being edited) was laid out after it, below the panel's bottom edge, which also cut off the grid's last row. The footer now goes in the stack's footer region, which keeps its room under the grid, and writes the panel settings once after the zoom slider runs.
A wrapping SpaceBetween row spread its children over its room whenever they
fit one line, even when that line also held a direct egui allocation. The
spread started at the row's start edge, so a child covered the allocation.
The row now spreads only when its content is no wider than its children with
the gap between them; otherwise it keeps the wrapping placement.
* sensing: an owner's parts read their press without a search of its last-pass parts for each one
part_press_in searched the owner's parts of the last pass for every part it
read, so an owner with n parts did n searches of n entries in each pass. It
now searches only for a part that a hit of the pass names: the press target,
a hovered shape or the aside press.
The new trial counts the searches over 3 idle frames of a 400-part root: 1200
before, at most 9 after, and the hovered part still reads hover.
* sensing: count part lookups per viewport instead of in a thread_local
The lookup counter for the many-parts test now lives in the viewport's
arenas behind the testing feature, and known_part_lookups takes the
context, so contract/no-global-state has no thread_local in sensing.rs.
`with_lock` gave up after waiting 5 s in total, however many times the
lock changed hands meanwhile. A process signing in many accounts takes
the lock in a quick run of short holds, and a waiter polling every
20 ms can miss every gap. Under load,
`concurrent_sign_ins_from_two_processes_lose_no_rows` failed with
"timed out waiting for the accounts lock".
Each hold now sets the lock file's length to the next value in 1 to
64. A waiter that sees the length change starts its 5 s over, so it
still gives up on one hold that lasts past 5 s. Unit tests drive the
wait with their own times instead of sleeping.
`zeroed` and `refill_zeroed` filled each image buffer with
`par_extend(repeat_n(0u8, len))`, which has no minimum piece length.
When workers stole from each other, rayon kept splitting the buffer,
and on a pool with 128 or more workers the nested splits overflowed a
worker's 2 MiB stack. The fax page test
`a_blank_fax_page_wider_than_4096_px_passes_the_bomb_guard` aborted
this way on a 192-core host.
Both functions now call `extend_zeros`, which sets `with_min_len` to
1 MiB. A unit test zeroes 64 MiB on a pool of 256 workers with 256 KiB
stacks; without the change it aborts with a stack overflow.
Lands #3916 onto main after #3909 and #3914. The only change from the
approved head is the merge resolution in tests/it/find_dialog.rs: all
three PRs appended a test at the end of the file, and all are kept.
Co-Authored-By: batistalucasv <175663788+batistalucasv@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The resting veil of a CardText::PageTile card fades the scrim by
Opacity::TINT (0.18) instead of a local 0.2, so it follows the theme's
opacity scale like the other tints. The test checks the veil's alpha
against Opacity::TINT.