The details pane puts Color Profile and Pixel Aspect Ratio in an Advanced Options disclosure under
Background Contents, open by default; folding it keeps their values. The float depth entry reads
"32 bit" (storytold/photocraft#14035).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* hayro: average minified 1-bit masks and Type 3 bitmap glyphs (storytold/pdfcraft#7936)
* hayro-interpret: pass one_bit to eight-bit RGB branches
* hayro: use bilinear sampling for minified 1-bit Type 3 glyphs (storytold/pdfcraft#7936)
With lengths set, the number field was built without the key policy's
amount, so its accessibility step was the field's own step. The amount is
in the stored unit, and the length field now declares it converted to the
shown unit; a pair with no scale declares it unchanged, as the field shows
the stored value there.
Tests: a field over points shown as inches on a 12 pt step declares a
36 pt amount as 0.5 in and its increment adds 36 pt. Two more tests cover
the scrub rate and the number codec on a length field: 40 points at
0.03 in a point scrub to 158.4 pt, and a reader that doubles bare input
reads "3" as 6.
A gesture that a rotation or a touch begins now counts a key tapped
after that event in the same pass: the span of events read for a new
gesture started only at a wheel or zoom event.
The End share of a gesture a press closes now carries the Ctrl of a
Ctrl+wheel that was folded into a pinch step before the press. The
folded step is a zoom event, which has no modifiers of its own.
The End share of a gesture a press closes is now marked modal when a
modal held a wheel or zoom event that arrived before the press in the
same pass. The mark was taken before the pass's wheel was recorded.
A trial covers each case, with the event after the boundary or the
press as the counter case.
In a form whose rows share a label column, a radio row started at the
form's left edge, in the label column, while the check boxes and the
fields of the other rows started past it. A radio group lays out apart
from the label column of the form around it, so its radios never read
the column.
A radio row now shows its group in a field with a hidden caption, in
each of its three layouts (a caption over the options, stacked_options
and options_in_row), so the first radio starts where a check box row
starts. A radio row in a shared line and a row nested under an option
stand where they stood. A document form without a shared caption column
is unchanged.
The new test shows a text row, a check box row and a radio row in each
layout, and compares where the check box label and the first option
start.
The length branch returned before scrub_step and number_codec were applied; both now go through finish_field, which the plain field and the length field share.
The test that tells apart two holds leaving the same length now backdates
the lock file, runs HOLDS real holds, each on its own locked handle, and
checks that the length is back where it started while the modification
time has moved. Before, the test set the time itself, so it passed whatever
the hold did to the file. The length update moves into mark_hold, which
with_lock and the test share.
The socket tests in tests/it/control.rs bounded each read and each
channel wait at 5 seconds (10 seconds for the capture client's
requests). The server sends every reply, close and request there
without waiting on a timer, so these bounds only guard against a hang,
but a slow run could reach them: under heavy load
an_oversized_reply_keeps_its_framing_and_id_and_the_connection_serves_on
failed at its 5-second read timeout and passed when run again.
- control.rs waits with one HANG constant of 60 seconds, the bound the
agents tests already use as a hang guard (tests/it/agents.rs:53).
- The client test that peeks for the server's refusal line waits up to
60 seconds too.
The assertions do not change.
A Range row with Param::length and Param::step kept the step for the
slider only. The permanent row's number field stepped by the shown
unit's default, and the popup row's field stepped by the set step but
did not snap typed values to it.
SliderField now converts a set step from the stored unit to the shown
unit for its length field and snaps typed values to it unless
typed_decimals is set. Without a step the field keeps the shown unit's
own step. The length field also takes the slider field's pointer
modifiers, which the plain field already does. The popup row's length
field snaps typed values to its set step.
With points stored, inches shown and a step of 144 pt, Up on either
field moves 2 in, and typing 1.4 stores 144 pt.
A pass that held a modifier's press and release and then the primary
press that closed a running wheel gesture left the modifier out of the
End share: the gesture's held modifiers were read before the pass's own
events were merged, and the close reset them.
pass_held_mods takes a span, and the new ToPress span reads the events up
to and including the pass's first primary press. The begin hook merges
those modifiers into the End share when a press closes a running gesture.
A plain press, and a key tapped after the press, add no modifiers.
A host that shows the stroke editor inside its own FieldGroup, next to
rows of its own, got two label columns. The editor put its Alignment,
Caps, Corners, Miter limit and Opacity rows in a FieldGroup of its own,
and the Dash offset row in another, so their controls started at the
editor's widest label instead of the host group's.
StrokeEditor::host_labels(true) shows those rows in a stack that fills
the width, which passes the host group's label column through. The
controls of the editor's rows, the app's choice rows and the Align
dashes row then start where the controls of the host's rows start. The
default is unchanged: without the option each group keeps its own label
column.
Test: host_labels_start_the_editor_rows_at_the_host_groups_control_edge
in crates/draw/tests/it/stroke_editor.rs.
egui drops a child viewport that a pass of its parent leaves out and
counts the passes of the viewport it opens again under the same id from
zero, while the window stays open and the runtime keeps its records. A
record stamped with a pass number from before could then match a later
pass of the new count and keep that pass's state. In debug builds a tab
tooltip shown in a popup window from a native palette's flyout tripped
"an id is the base of two open stages in one pass" after the pointer
moved from one tab to the next, because the tooltip window closed and
opened again under the same id.
The begin hook now records each viewport's latest pass number. When a
pass begins with a number no higher than it, the viewport's pass-stamped
records are dropped before the pass runs.
The size guard marks a leaf with a zero side as inert, and place_root
placed every inert component at a zero size. egui still added the item
spacing for that allocation, so a content-sized Row counted the gap
before an 8 x 0 leaf but not its width, and a popup sized from the
measuring run cut the leaf off at its edge.
place_root now places an inert component at its measured size when the
size is finite and in range. A size the guard rejects for every shape
still takes no room, and the leaf stays inert.
A bar made with `Bar::wrap` sent a member to a new line as soon as the
members' natural widths passed the bar, without first narrowing its
selects the way a bar that does not wrap does. A canvas task bar with
type selected (three buttons, the font family, style and size selects,
the paint chips and the More button) was a little wider than the canvas,
so the More button went alone onto a second line and the bar spread to
the full width of the canvas.
A wrapping row in a bar now runs a counting sweep in its measuring run.
When its members are too wide for one line at their natural widths but
fit it at their least, the row narrows them by the same shrink step as a
bar row that does not wrap, from the end, and keeps them on one line.
Members leave by rank only in rows that do not wrap. When even their
least does not fit, the row wraps as before. Wrapping rows outside a
bar are unchanged.
The shrink step's settle closure in `run_shrinking` moves into
`settle_shrink` so both rows use it.
A regular tool rail stood its buttons 32 pt apart in the compact sizes:
each button was `size.rail.button` (30 pt) square and the tight gap
(2 pt) came on top. `RailDensity::Regular` buttons are now
`size.rail.button` less `space.gap.tight` square, so a button and the
gap after it take `size.rail.button`. The dock grid's rail columns
follow the same width.
`ToolRail::footer_scrolls` puts the host's footer under the slots inside
the scroll region, after the same divider rule and gap, so in a rail too
short for its rows and footer the footer scrolls with the tools. Without
it the footer stays pinned as before.
Wheel gains two fields. held is the modifiers held at any point of the
running gesture: those of its wheel events, of key events between them,
and of a key tapped between a swipe's device end and the momentum run
that resumes it. modal is set when a wheel event of the gesture, or one
less than GESTURE_GAP before it began, arrived while a modal layer held
the wheel, in the same window or in another. A canvas can then leave
the rest of a turn begun under a dialog alone after the dialog closes,
and apply a rule such as Shift tapped mid-gesture.
End shares carry the held and modal values of the gesture they end.
With a repeated move no longer stirring the pass, drag_moves returned before every_move, so a tool that takes every move lost the drag call for a move to the position of the last move during a drag. drag_moves now hands the pass's moves to such a tool first, and gives any other tool its single drag only when the pass is stirred or the pointer is in the edge band.
Only Number rows read Param::length, so a Range row over points showed
points in an inch or millimeter document.
- SliderField::lengths makes its number field a length field: it shows
and reads the value in the shown unit at that unit's step and
decimals, while the binding, the range and the slider stay in the
stored unit.
- Range rows pass Param::length to their SliderField. A popup-slider
range row builds a length field too, and a set step, which is in the
stored unit, steps the field by the same length in the shown unit.
While a measuring run lays out a field group, a row only sees the label
column that the rows before it reported. A check box row with its label
after it, above the first row with a side label, saw no column. A row
beside a label narrower than the widest saw a narrower column. Both
measured their help line wider than the control column of the real run,
so the footer was sized for fewer lines and the last line was cut off.
The label step now notes the column such a row read when the row has a
help line, so the group runs its rows again at the final widths. This
covers a label after the control, a label beside it and a hidden side
label.
The fixture's shown rect grows with whatever the row allocates, so a
button that overflowed the column also widened it and the check passed.
The room starts at x = 0, so the test now compares the button's right
edge with the requested width.