Setting a Liquify brush size through another Liquify tool while a press is held was lost when the press was dropped and the value matched the size the drag had made current. The set now names the keys of the stores it shares with the pressed tool, so the dropped press keeps them.
Both dialogs now run on the craft UI framework, which names the fields from their labels. The field-name tests are rewritten to read the framework's accessibility tree.
apply_answer read the working settings once for the reply's profileChoice
and again inside apply_open_policies_choosing. A Color Settings change
between the two reads could report an answer that the policies did not
apply. apply_open_policies_choosing now takes the snapshot, and
apply_answer passes the one it built the question from.
The params text and docs/mcp.md said the center stays when no reference point applies. With a center, the shape's center moves to the given point; the docs now name that case.
A radius written with tool.setOption during a press changed the circle
only when Shift was released and pressed again before the drag started.
The press now keeps the radius from its button press for every Shift
change until the release.
The gamut test allowed 1e-4 beyond 0..1, so OKLCH colors such as L 0.01, C 0.01,
H 0 were clipped at their own chroma and not reported as lowered, and the C track
marked the wrong maximum. The allowance is now 1e-5, above the 1.7e-6 matrix
round-trip error of sRGB boundary colors.
The chosen script is prepared only after the skip check, so a skipped round leaves its read to script.run. The new startup tests use a TempDir that removes the folder when the test ends.
The first host Caps Lock reading is now only a baseline when view.capsLock already set the session state, so the command no longer resets on the first canvas pass.
The Pathfinder panel menu's Repeat row read "Repeat Pathfinder" after
every operation. The label for pathfinder.repeat now reads "Repeat
Unite", "Repeat Minus Front" and so on from the last Shape Mode or
Pathfinder operation, through the existing "Repeat {name}" template,
and keeps "Repeat Pathfinder" before any has run. Every row of the
command uses the same label.
A selected group or layer outlined and marked a member made into a guide
while the guides were hidden, and the art of a template sublayer while
View > Hide Template was on, although the canvas does not draw them.
- Node::hidden_by_view (crates/doc/src/node/ops.rs) holds the rule; the
renderer's left_out now uses it too.
- walk_drawn and the overlay's point limit in canvas/outline.rs leave out
the members the view hides, so the selection's outlines, key outline,
anchors, hover outline and point count skip them.
- The selection's bounds are unchanged.
The canvas drew the selection's outlines, anchors, handles and dots
before the tool host took the frame's pointer event, so during a drag
they showed where the art was one frame earlier. They are now drawn
after the tool host and placed back at their old spot in the paint
order through a PaintSlot, under the widgets and bars as before.
Tests: a Selection tool drag draws its marks at the object's new
corner and none at the old one; a Pen drag draws the handle end at the
pointer of the same frame.
The selection outline and the hover highlight drew a symbol instance as
the box square to the page around it, so a turned, skewed or
perspective instance showed a box larger than its frame. Type in
perspective had the same box.
Node::drawn_corners gives the four corners of an instance's art box
placed by its transform, and of type's flat bounds, both through the
projection of an object in perspective. node_outline joins them, as it
already does for a placed document's corners.
The statics' constructor check now treats an arrow function, a method
and a function bound to one as non-constructors, as new does, so
Promise.resolve.call(() => {}, 1) throws a TypeError. The test262 line
in docs/target-app-parity.md now gives the count on current main: 440
of 538 runs.
Realm::add_es2015 no longer turns on Options::es2015, which now also
selects the ECMAScript 2015 syntax. A realm made without the option gets
Promise and still reads ES5.1 until set_es2015 changes it; the engine
calls set_es2015 for each run before it adds Promise.
Supervised nightly switch-on, merged under Skylar's explicit Nightly 758 override after green CI, CodeRabbit on this head with no open threads, Sonar passing, and an independent adversarial review with no blockers.
Merge-only delta: CodeRabbit reviewed 91c7634e, the last authored head; this head adds only a merge of main, so its CodeRabbit check is a skip.
A selected ruler guide that a transform turns to an angle becomes a
selected guide path, but the reply's ids left it out: object.rotate
with copy on a lone guide returned {"ids": []}. transform_ruler_guides
now returns the ids of the paths it adds, and the transform commands
add them after the transformed objects, on the direct-selected anchor
route too.
- `toString()` on a page item list from a closed or replaced document throws
"Stale document", as its other members do.
- A member a host class declares unavailable is not reported by
`hasOwnProperty` or `propertyIsEnumerable` even when a parent class has it.
- Assigning a name an object of a host class inherits from a prototype no
longer calls the class's indexer, so a non-strict assignment is ignored
instead of throwing.
- Assigning a selection checks repeated objects with a set instead of
scanning the list for each object.
- The script report test throws a text that names `Window` for the case of
an error the script wrote itself.
window.toolbar.dock and window.toolbar.float were still listed in the
command catalogs, but the move to the framework dock removed their
handlers, so both returned "unknown command".
- window.toolbar.dock docks a toolbar made with New Toolbar as a column
of the left or right edge's dock, at the column `order` asks for.
Without `side` it uses the edge it docks at, else the edge of the
docked panel it left, else the left.
- window.toolbar.float floats it at x, y, or as the dock floats a panel.
- A hidden toolbar that either command shows brings back the groups torn
off it, and both commands end a Tab hide.
- window.toolbar.list reports that same edge for a floating toolbar
instead of always "left".
- place_floating moves an open OS window's record with its rect, as
float_actions does.
Docs: the params text in both catalogs, docs/mcp.md and
docs/control-protocol.md describe dock columns instead of lanes.
The view info the canvas gives the tools never set its precise flag, so
the Blob Brush and the Eraser drew their tip outline around the precise
crosshair whatever the setting. Nothing passed the host's Caps Lock
state to the session either, so `view.capsLock` changed nothing.
- The view info's precise flag is on while Use Precise Cursors or Caps
Lock is on, as before the move to the shared canvas.
- The canvas passes each change of the host's Caps Lock state to
`view.capsLock`; a `view.capsLock` call stays in effect until the next
change.
- The canvas's pointer follows the same flag, so with both on the
drawing tools keep the crosshair.
clip_to kept a piece of an unfilled outline only when its middle tested
inside the mask, and a point on the mask's own outline tests inside on
some sides and outside on others. A square clipped by the same square
kept two sides, so Fill Area found no area inside it.
A piece whose middle lies on the mask's outline now counts as shown when
the mask's filled area lies on one side of it. A piece just outside the
mask, and a piece on an outline of the mask that bounds no filled area,
stay hidden.
The Live Paint Bucket's three cursors and the Knife's put the hotspot at
(2, 22), the lower-left corner of the icon box, where none of their icons
draws anything, so a click landed away from the drop, the brush or the
blade. Each hotspot now sits on the point its cursors.toml entry names:
the bottom of the drop for the bucket and the filled diamond, the middle
of the brush's bristle edge, and the blade's point. The Eyedropper keeps
its pipette tip at (2, 22).
A new test draws every tool cursor's image and checks that the icon's
own mark color, not only its halo, covers the hotspot pixel or one next
to it.
In a document whose frames take over 8 ms, every frame of an edit went to
the render worker once the frame shown came from it, so a Pen drag's curve
trailed the pointer by the worker's render time plus the wait for a busy
worker. The changed part of a worker's frame is now drawn again on the UI
thread, as it already was for frames rendered there, when the part's share
of the frame's last render time is at most 8 ms.
The part is not drawn there, and the frame goes to the worker as before,
when the frame shown drew raster effects made before their objects moved,
holds pixels copied from the worker's last frame, or drew art in a way that
depends on the frame's size, or when the part itself draws such art. A
worker frame on its way blocks the part only when it is of another document
or not older than the edit.
Part of #8296.
docs/mcp.md still listed ui.imageTracePresetDialog, which main no longer
has: the UI port (#8800) removed the Save as New Preset and Rename
dialog and the command. The Image Trace section now describes the
Preset row's Manage presets menu: Save as New Preset… and Rename… open
a name field in the row, Enter or OK runs imageTrace.presets.save,
Escape or Cancel saves nothing, a taken name keeps the field open, and
Delete runs imageTrace.presets.delete.
When the view was turned to an angle that is not one of the Rotate View
presets (with the Rotate View tool, or view.rotate with angle 17), the
status bar's Rotation box showed no text: the select held no entry for
the angle and had no placeholder. The box now shows the angle rounded to
a whole degree as its placeholder, as Crop Image's PPI select does for a
resolution outside its list. A preset angle still shows its
row, and a pick from the list still turns the view.