With an empty Find text the dialog's buttons other than Done run
nothing when clicked. ui.dialog.confirm now refuses such a press with
"the Find text is empty" and leaves the text, the undo steps, the
dialog's message and the action field as they were, instead of running
edit.findNext or edit.findReplace and writing their parameter error
into the message.
ui.dialog.set now refuses `fields` given together with `field` or
`value`, as the dialog host does, also when the list holds only
`action`.
- A `ui.dialog.set` on the dialog that gives no `action` answers with the
dialog as `ui.inspect` lists it, `action` included, instead of the
framework's listing without it.
- A `fields` list of more than 256 items is refused before `action` is
taken out of it, so `action` counts toward the framework's limit.
- A click on Find Next, Replace, Replace & Find or Replace All puts
`action` back to find, as `ui.dialog.confirm` does.
- A test covers these and the reset when the dialog opens again.
Since the dialog moved to the craft UI framework, `ui.dialog.confirm` on
Find and Replace was refused ("the dialog refuses OK"), and `ui.inspect`
listed no `action` field, although the params text and docs/mcp.md
describe both.
- `ui.inspect` lists the open dialog's `action`, `find` until a set
changes it.
- `ui.dialog.set` takes `action` (as `field`/`value` or in `fields`):
find, replace, replaceFind, replaceAll or done. Any other value is an
error, and nothing in the request is set.
- `ui.dialog.confirm`, or a set with `action: "confirm"`, presses that
button as a click does and puts `action` back to find. Replace and
Replace & Find find a match when Find Next has reached none; done
closes the dialog. A set whose fields are refused presses nothing.
A file.new step replayed from a journal or the Actions panel rounded
artboardLayout.rows and then refused a result over 1000, so a step with
rows 1000.5 or 5000 stopped the playback. The rows count now follows the
columns rule: it is rounded, must be 1 or more, and is kept to at most
1000. Recent stores the kept count. docs/mcp.md says the same.
A `CUPS_SERVER` or `ServerName` of `localhost`, `127.0.0.1` or `::1` counts
as this machine's scheduler only with no port or port 631. On another port
(a second CUPS instance) the dialog no longer reads `/etc/cups/ppd`, whose
queues belong to the default scheduler, and asks `lpoptions` and IPP
instead.
When the named server is one of CUPS's own domain sockets and neither the
PPD nor `lpoptions` lists sizes, the IPP lookup asks `localhost` on the IPP
default port, as it already does when no server is named. `ipptool` rejects
a URI whose host is a socket path (`httpSeparateURI` in CUPS's
`cups/http-support.c`), so another socket path is not asked.
stream_length took the last "obj" substring in the text as the object
header, so a stream dictionary name such as /Tag/obj moved the scan past
the outer dictionary and lost its /Length. The keyword now counts only at
the start of the text or after PDF white space.
window.floatTools placed a new strip at the canvas's top left, and fell
back to (0,0) when no view had been laid out yet: right after a document
opened, or with no document open. The strip then covered the top of the
docked Tools rail.
Without a laid-out view, the strip now opens beside the docked rail it
came from (else the Tools panel's), level with the rail's top and the
float space's cascade inset away from it, on the side toward the middle
of the window. A dragged tear-off still opens at the pointer.
The compact type was set to 92% of its nominal sizes (body 13 to 12,
labels 12.5 to 11.5, captions 11.5 to 10.5), but the display type that
draws the Home title stayed at 26 points on a 32-point line, so the
title drew about 8.7% larger than in 0.24.1. The display type is now
24 points on a 29-point line, its nominal 26 on 32 at the same scale.
A test checks that the title keeps the nominal title-to-body
proportion against the compact body type, and that its line keeps the
framework's display line proportion.
The cell-clipped dots split every elliptical arc at 45 degrees, and the
quadrants were joined with a zero-length line where they met on an axis.
A round dot that stays inside its cell had 8 curves and 3 extra anchors
instead of 4 curves, and the halftone's SVG export grew to about twice
its size.
- Arcs are split at 90 degrees, one curve per quarter turn.
- Quadrants and spot corners that meet at the same point are joined
without a line, so the join adds no anchor.
Tests: an unclipped Circle and Ellipse dot is 4 curves and no line, and
no dot shape repeats an anchor where its quadrants or corners meet.
Since #7669 the flattener's rasters have been encoded through the shared
image codec with its default compression (zlib level 6). EPS export, and
any other export that flattens, encodes every rasterized area this way
and then decodes it again right away, so a document with many live
effects exported about 170 ms slower to EPS. The rasters are now written
with PngCompression::Fast, as the SVG filter raster already is
(crates/effects/src/svg_filter.rs). The pixels and the EPS output bytes
do not change.
Switching to Essentials Classic, Automation, Layout, Painting, Printing
and Proofing, Typography, Web or Touch, or resetting one, brought its
panel to the front of its group but no longer opened it from a column
collapsed to icons, so the panel stayed hidden.
A workspace record keeps the panel open from the icons again: each
built-in names its panel, a workspace left or saved keeps the one open
then, and switching or Reset opens it. A recorded panel the new layout
does not show from icons stays closed. Workspaces saved without the
field open none.
The Essentials Classic test checks the open panel again, and new tests
cover Painting, Automation, switching back as left, Reset, saved
workspaces and the preferences' JSON.
The one-column Tools rail stacked Search above Edit Toolbar in its
footer. The extra row made the default rail taller than a 1000 pt
window holds, so the rail scrolled and Edit Toolbar was out of view.
A one-column rail now shows Edit Toolbar alone. Search Commands stays
in the title bar, Help > Search Commands... and its shortcut. The
two-column rail keeps Search beside Edit Toolbar.
Tests: one_column_rail_shows_edit_toolbar_in_a_1000_point_window; the
#8758 layout test checks the one-column footer, and the search query
test runs on the two-column rail.
hit::intersects_rect measured every path's exact bounds before
deciding it missed the marquee. Since the anchors became chunked
(#7814), that walk costs about three times as much, and a marquee over
many paths became about 1.8x slower than in 0.24.1.
It now first compares the path's cached control box with the rect and
returns false when the two lie strictly apart. A control box that only
touches the rect, or has no area, still goes to the exact checks. On a
50,000-path document a 400x300 marquee takes 8.2 to 10.6 ms instead of
46 to 64 ms, and selects the same 3,675 paths.
`PathItems.index()` with a number went straight to `items_doc`, which
refuses every compound-path-scoped `PathItems` so that creating paths
there stays unavailable. Its siblings (`[n]`, `getByName`, `length`,
`removeAll`) already dispatch scoped collections to the layer handlers
first, but `index` did not, so `compoundPathItems[0].pathItems.index(0)`
threw "creating paths in a compound path is not available yet". Route a
scoped `index` to `scoped_index` like the other lookups; the guard now
only stops real creation.
When CUPS_SERVER or client.conf's ServerName names a remote scheduler,
the Print dialog no longer reads a same-named PPD under /etc/cups/ppd.
The job goes to the remote queue, so the sizes now come from that
server through lpoptions and IPP. A domain socket, localhost, 127.0.0.1
and ::1, with an optional port and /version= suffix, still count as
local and keep the PPD lookup.