The proof view is process-wide, and the Proof Setup dialog tests turn
Proof Colors on while other tests run. A change between two renders of
a canvas test made the frames differ, and
a_drag_on_the_canvas_draws_raster_effects_at_a_lower_resolution failed
in full runs of the crate's tests. The Proof Setup tests' lock is now a
read-write lock, and keeping_color_settings holds it for reading.
The PSD clipping-path entry in docs/target-app-parity.md said that
links.update and links.relink keep every clipping mask made in the
document. placed_clip_to in crates/engine/src/cmd/links.rs treats a clip
group holding just the image as the old file's when same_path finds its
clipping path equal to the old file's (anchors and handles within a
thousandth of a point) and the fill rule matches, whoever made it. Such a
mask takes the new file's clipping path, or becomes a plain group when
the new file names none. The entry and the matching DCS sentence in
docs/mcp.md now say so.
A result matched through a typo that also matches another query word only
through its description ranks after every other result, since the ranking
compares that before the whole-query match and the label-before-path rule.
Two typo words split between label and menu path tie with the reverse split
only when the other words get the same grades in both results.
file.place reads an empty or null password as no password, but the app
counted any password key as given. A PDF placed from a path with Link on
and an empty password then took the PDF Text preference's Outlines and
was embedded instead of linked. With Show Import Options off, an
encrypted PDF placed with an empty password skipped the password prompt
and went to file.place without a password.
Both checks now read the password the way file.place does.
transform_rejects_a_mistyped_reflect_copy_or_origin_before_editing ran
a rotate with a null origin and checked only that the call succeeded.
It now compares the resulting path with the same rotate with origin
left out, so a null origin that moved the pivot would fail the test.
A proof of the working CMYK space converts through the working color
settings. With a profile assigned to the document in place of the
working CMYK space, Edit › Color Settings changes the working settings
while the active settings stay the same, and the canvas kept showing
the proof through the previous working space.
- The canvas's frame key also holds the working color settings
(`cms::working_settings`).
- The test now requires a re-render after `edit.assignProfile`, and
checks that a new working CMYK space re-renders a Working CMYK proof
while the active settings stay the same.
The progress line now says that in Draw Behind the copy of the clipping path of a clip group or a clipping layer goes directly above it, so the clipping path stays the bottom object, as docs/mcp.md and copy_beside already do.
script.grants listed no grants when Script Grants.json was there but
could not be read, was larger than 4 MiB, did not parse, had another
version or held no list of grants, or when its lock could not be taken.
It now returns "the script file permissions could not be read: {e}" in
those cases, as script.grants.revoke already fails on such a file. A
missing grants file still lists none, and a grant in the file that is
not well formed is still left out.
The run-time grant lookup keeps reading such a file as holding no grants.
The new message has a row in every complete-message catalog. The params
text, docs/mcp.md and the Scripts line in docs/target-app-parity.md state
the error.
A file read off the UI thread that waits behind another file's profile
question, and has no question any more once Color Settings change, now
does the rest of its read (policies, linked files, type) off the UI
thread, as an answered file does, instead of on the UI thread. It opens
at once when no thread can start, and a failure is reported once.
A profile question that comes while another dialog is open (a paste
waiting for its Swatch Conflict answer, say) now waits until that dialog
closes instead of replacing it and canceling the paste.
Follows #7733.
effect.setParams compared a Pathfinder effect's values other than its
Pathfinder Options exactly, so a mixingRate of 50 over a stored 50.0
counted as an edit and recorded an undo step. A float now compares with
any number by value, and two integers still compare exactly.
The touching-run search looked up the sample before each angle with a
linear scan over the run, so a long run of samples within the tolerance
cost time in proportion to the square of its length. It now collects the
run's sample angles once and uses partition_point, which gives the same
sample at every angle.
The grid preview tests drew each edit in a new egui context, so they
would pass if an open dialog kept drawing the old colors' texture. A new
test draws one context through a color edit, a size edit and a preset
edit, and checks the pixels of the texture the preview's mesh draws.
The dialog keeps the lines it opened on as the command's ids, with the uid
of their document. OK changes those lines even when the selection changes
while the dialog is open, and changes nothing once another document is the
active one.
The split flap raster test now requires a flap at both samples: the right
flap at both, or the left flap's inner part at the near sample and its
outer part at the far one.
An Alt-press on a width point's center narrows the selection to that point,
ready to drag a copy. A release without a drag kept it narrowed and did not
remember the earlier selection, so an Alt-double-click on one of several
selected points opened Width Point Edit for that point alone, where a plain
double-click opens it for all of them. A release without a drag now
remembers the earlier selection as a plain click does, and an Alt-drag
still copies only the point under the pointer.
Since the change that brings a library pattern's global and spot colors
under a numbered name ("Ink 2") when the document gives the name another
color, adding the same pattern or color again added more copies, and
Use Library Item still linked a pattern's art to the document's own
color of that name.
- A library color whose name the document gives another color is the
document's numbered copy with the same color, so adding it again adds
nothing. A numbered name that the same call also picks is not shared.
- A pattern the document holds with its art linked to the document's
own color of a name, as pasting with Merge leaves it, is reused
instead of coming in again as "Squares 2".
- `added` lists the colors a pattern brought, after the picked swatches.
- A library tint added with its base color links to the base's name in
the document, and a later add finds it there.
- library.use brings a pattern's colors the same way.
Docs: docs/mcp.md.
An answer that names another question, Cancel or OK, now has to leave the
open question answerable: the right token's OK still starts the edit at the
clicked character. The canvas double-click lands a quarter of the way into
the text, and after OK the caret has to be the one a click at that point
puts in the type being edited.
A distorted CMYK image whose opacity mask is a gray image with the
same corners writes the mask as the image's /SMask, and every piece of
its mesh draws that one image. The image was resampled for the size its
transform places it at, before the pieces' shared size was known, so
with downsampling on every piece stretched a smaller image across the
corners. The masked image is now resampled for the size the pieces
share, as the same image without a mask is, and the pieces are drawn
from the same expansion they were measured on.
status_locals took the nearest `let name = ` before a `.status(name)` call,
even when that `let` was in an inner block that closed before the call. For
`let note = "Outer"; { let note = "Inner"; log(note); } app.status(note);`
the untranslated-strings report listed "Inner" and missed "Outer".
The scan now skips a binding whose block a `}` closes before the call.
Braces inside string and character literals are skipped with quoted_end,
the helper without_comments already uses. message_scan_reads_locals_given_to_a_status
covers the shadowing case and a status local followed by brace literals.