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>
Options::undo = UndoButtons::Toggle puts one button in the footer in place of
Undo and Redo: it undoes the last change and turns into Redo, which applies it
again and turns back into Undo. Starting to record a shortcut disables it until
the next change, so it never reaches past the change before. The undo and redo
keys follow the button. The default (History) is unchanged.
PropertiesDialog wrote the shown tab back to its `tab` binding after
every pass, starting from tab 0. A pass in which the body did not run
(a measuring run that ends before the body, or a closed dialog) wrote
0 back, so a dialog bound to its second tab showed the first one after
its first frame. The tab is now written back, and Reset Panel applied,
only when the body ran.
The Color panel gave the host's complete color (with its native components)
as the `before` of channel, cube and wheel edits only. The ramp, the cubes'
readout, the FillStroke hex field, the out-of-gamut chip and the Black and
White wells sent a `before` without the host's model values, so Undo of
those edits lost a host's typed CMYK. A ramp drag's Begin and Cancel
carried `Mixed`, so Cancel of a ramp drag left the live preview in place.
These edits now take the color the gesture began from, kept through the
host's live updates, or the current color for a one-step edit: the host's
`edited` color for the edited well, otherwise the well's color.
ShortcutsDialog::set_json_field refused `replace` in a read-only dialog,
while a prompt, review or recording was open, and on an app tab, but it
accepted `pressed`, `assign` and `remove` in those states.
DialogState::can_edit holds the condition `replace` already used, and
all four editing fields now return the inactive refusal when it is
false.
The default size of a resizable float was held only to the screen, so a float placed by its top share with a tall default size outgrew the room below its top, and the keep rule moved its top up past the share. The default size now goes through FloatPlace::room_in, as the content-sized path does.
A combo box measured its least width as its widest option, its current
text and its placeholder plus the chevron, at every proposal. A text field
at its least shows a short part of its text and scrolls the rest. In a grid
whose fill columns did not fit beside each other at their leasts, a combo
box of long options made the grid stack its cells one under another while a
text field in the same place would have narrowed. At its least the combo box
now counts only the chevron's room; its natural width is unchanged.
* 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)
The dialog face of CommandPalette was a modal centered on both axes and
sized to its rows, so its search field moved up and down with each query.
The box is now centered across the window with its top 15% of the window's
height down, and only its bottom edge moves as the rows come and go.
- ui-contract: FloatPlace::top_centered(share) places a float centered
across its bounds with its top at that share of their height. Its room is
held to the height that leaves the same share below it, measured in the
overlay's own bounds, so a body as tall as it may grow (in an embedded
shell, whose region lifts the modal's cap) does not push the top up.
- ui-patterns: the palette's dialog face uses it, at the share that matches
its 70% height cap.
- Tests: the palette's top and field stay put between a 12-row and a 1-row
query; in an embedded shell a 50-row list leaves the top in place; a
bounded float keeps its top for a short and a tall scrolling body.
A field laid out FieldLayout::Line centered its label on the height of the control's cell. Inside a Row the cell is as tall as the room the row has, so the label was drawn far below the number field, out of sight in a panel. The label is now centered on the control's height at the top of the cell.
The new test label::line::a_line_label_in_a_row_sits_on_its_fields_line puts a Line field in a Row in a 300 by 600 room and checks that the label and the value share a baseline. Without the fix the label's baseline is at 304 and the value's at 16.5.
ParagraphControls::show_with took `between` as FnOnce and ran it in the
first run of the controls' Stack body only. The Stack runs its body more
than once in a pass (measure, then real), so the host's rows were missing
from one of those runs. A container measured around the controls came out
one row short, and a flyout sized by that measure cut off Hyphenate below
its bottom edge.
`between` is now FnMut and runs in every run of the body. A caller that
passes a closure which only mutates its captures keeps compiling; one
that moves a captured value out needs to clone it.
The new test measures a Stack around the controls with a host row and
checks that the measure reaches the foot of Hyphenate. It fails without
the change (the host row does not show at all in that layout).
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.