Commit Graph
18594 Commits
Author SHA1 Message Date
dotCooCoo 00f42826ef Effects: each copy of a Transform effect listed after Rasterize carries the Rasterize image
On a path or compound path, a Transform effect with copies listed after
the object's own Rasterize effect now places the one image Rasterize
makes of the art before it on the original and on each copy: copy k
through the effect's map applied k times, with its pixel grid and its
room around the art, the last copy lowest and the original on top.
Before, the Transform effect copied the art and Rasterize made one image
of all the copies on a grid square to the page.

The image is made once for every placement, also when a shadow or glow
is listed between the Rasterize and Transform effects. The canvas, the
object's bounds, Expand Appearance and PDF export use the same
placements; Expand Appearance and PDF export make a group of images that
share the one image's pixels. Copies stop where the copied art stops,
and a copy scaled to nothing is left out.
2026-11-16 13:55:27 -08:00
dotCooCoo e00cd6a6e3 Preferences: Guides & Grid settings show a sentence on hover and focus
The line under the Preferences fields now describes each of the 12 Guides
& Grid settings, from Snap to Grid to Pattern Editing's Tile Edge Color,
when the pointer is over the row or its control has the keyboard focus,
and a screen reader gets the same sentence. Each sentence states what
VectorCraft does with the setting. Rows are added to every complete
catalog.

Tests: the one-sentence-per-setting test now covers Guides & Grid, and
two new tests check the sentence on hover and on keyboard focus.
2026-11-16 13:54:38 -08:00
dotCooCoo 3ac0c9ee53 Command Palette: a tool that can't be chosen is not a recent pick
A pick is recorded in Recent Commands before it runs again, as before
the last commit, so a command that changes the list sees it with the
pick already in it. When the pick is refused, the list goes back to
what it was.

- A tool pick that fails shows the error in the status line and counts
  as refused, so it is not recorded.
- A pick whose menu item is dimmed but that still opens a dialog counts
  as opening it and is recorded.
- The outcome test also covers a dimmed effect, a dimmed plug-in
  filter, a panel the docking layout can't show and a tool that can't
  be chosen.
- The French help line reads "Tapez pour rechercher des commandes, des
  outils, des panneaux et des effets", like the other palette rows.
2026-11-16 13:50:47 -08:00
datatimp d9cbaeeb23 Docs: #8217 revision history row in target-app-parity 2026-11-16 16:49:26 -05:00
dotCooCoo de367486c0 .ai save: the editing copy keeps gradient meshes
The editing copy of a PDF-compatible .ai wrote every gradient mesh as
its drawn look. Meshes the .ai reader reads back as they are are now
written as meshes:

- Each mesh is a /Mesh record: 2 /Version, its type and grid size,
  /Data, then each patch row by row with its place, the color space
  where it changes (gray, RGB or CMYK) and its four corners: color,
  opacity, point, and the handles towards the next corner and the one
  before it. Its opacity, blending mode and knockout shape are set
  before the record, and its name and opacity mask follow it.
- A reflected mesh, whose patches all turn the other way, is written
  with its columns in reverse order, which draws the same mesh.
- In a symbol's art the corners are written about the canvas point of
  the ruler origin, y up, as an image's matrix there is. An envelope's
  grid in a symbol's art is now written in the same space, and the
  envelope's contents in its dictionary in the canvas's space, y down.
- Each mesh is checked with the reader's own reading before it is
  written. Written as their drawn look with a warning: meshes with a
  point in a Lab color, with more than 128 rows or columns, folded
  meshes (patches that turn different ways), meshes the reader would
  read with other points, handles or colors, meshes in pattern tiles
  and in art cut to a clipping object, and every mesh on a large
  canvas. A mesh's drawn look is written at any depth of nested
  symbols and live objects.

Each construct is written in the form the .ai reader at e142c5fcee
reads: /CS, /Type, /Size, /P, /N and /E in mesh.rs:180-234, corners
with or without an opacity by their count of values in read_corners
(mesh.rs:239), the patches joined into one mesh in one_mesh
(mesh.rs:298); /Mesh X!, X# and /End X! in read/ops.rs:219-232; the
transparency after the record in read/art.rs:281 (end_mesh) and
read/ops.rs:344. /Version and /Data are passed over by that reader
(mesh.rs:234). Corners in a symbol's art rest on a reader change in
this commit.

The reader changes how any .ai opens:

- Mesh records and envelope grids in a symbol's art are read in canvas
  space (read/document.rs:947 image_space), and an envelope's contents
  in its dictionary in the canvas's space, y down. In a file without a
  template box such a mesh is left unread, its symbol is not read
  whole, as with an image there (read/art.rs:634), and its instances
  open as the page draws them. Envelopes in symbols in .ai files saved
  by earlier VectorCraft builds open differently.
- A point of a patch whose corners differ in color model keeps its own
  color when the patches are joined into one mesh.

Gradient meshes, mesh points and their opacity:
https://help.adobe.com/archive/en_US/illustrator/cs5/illustrator_cs5_help.pdf#page=200
Patch meshes (corners joined by cubic edges with control points):
https://opensource.adobe.com/dc-acrobat-sdk-docs/pdfstandards/pdfreference1.7old.pdf#page=321

Tests: the round trip of meshes with RGB, CMYK and gray points, a moved
point with handles of its own, part-transparent points, a name,
opacity, blending mode and knockout shape, hidden and locked, with an
inverted, unlinked opacity mask, in groups, opacity masks, symbols,
opacity masks in symbols, a document of two artboards and eight levels
down, compared point by point, handle by handle and channel by channel
at the 4 decimals written; reflected meshes, mirrored across and
along; the record's form, including corners in a symbol's art and an
envelope's grid and contents there; an envelope in a symbol read back
with its contents and their gradient in place; the same bytes on a
second write; each case written as its drawn look, with its paths read
back over the mesh's box; reading a mesh in a symbol's art with and
without a template box; /Version and /Data passed over; the color
model rule; fuzz cases for damaged written meshes, a symbol's
included.

Docs: docs/file-format-parity.md, docs/target-app-parity.md.
2026-11-16 13:44:56 -08:00
datatimp 79906094b6 Layers panel: an Alt-drag copies a row above or below itself (#8237) 2026-11-16 16:44:20 -05:00
dotCooCoo a487e20cee Save for Web: Optimize to File Size starts at the size of the art as it is now
The starting desired size came from the preview cache, matched by settings
only, so an edit made after the preview drew and before the button's click
was handled gave the previous art's size. The cache is now used only when
it holds the active document at its current revision; otherwise the image
is made once and kept for the preview drawn in the same frame.

The size in K is computed with a u128 product, so a file past about 4 MiB
on a 32-bit target (wasm32) no longer reads smaller than it is.
2026-11-16 13:36:05 -08:00
dotCooCoo 87c5278d03 Shortcuts: a command listed only with a shortcut keeps a hold shortcut only with one
A command that needs a value, such as Transparency, is listed in the
editor only while it has a shortcut. shortcuts.set now refuses a hold
shortcut for such a command without a shortcut, and the command loses
its hold shortcut when its shortcut is cleared or given to another
entry, through shortcuts.set, the Keyboard Shortcuts dialog or an
imported set. Its key no longer runs a command the editor does not show,
and it is free for another entry without a conflict.
2026-11-16 13:31:32 -08:00
dotCooCoo d9895e3831 .ai import: a live blend keeps its record's orientation and no spine
Two settings of a blend read from the editing data came from rounding
instead of from the file:

- The orientation was whichever of Align to Page and Align to Path laid
  the steps out closer to where they are drawn. The check compares the
  steps' centers, which turning the steps along the spine leaves in
  place, so on a straight spine both fit and the rounding of the drawn
  steps decided. The reader now reads the record's word 5 (0 is Align to
  Page; a 32-bit float of 8 or more is Align to Path) and keeps that
  orientation when it lays the steps out as drawn: in place, at their
  drawn sizes and with each one's outline where it is drawn, which
  turning a step moves. Otherwise it takes the closest, as before.
- A blend with no spine part opened with a straight spine and an anchor
  at each key. When its record names the keys in their order, it now
  opens with no spine of its own, which lays out the same straight
  lines between the keys' centers. A record that names them in another
  order still gets the straight spine in the record's order.

Blend Options, orientation and spines:
https://helpx.adobe.com/illustrator/desktop/manage-colors/apply-transparency-and-blending/blend-options-overview.html

Tests: the record's word 5 (0, 8, 8 plus an angle, and values that name
no orientation); the record's orientation kept where both lay out alike,
and not taken where it would turn the drawn steps (rectangles on a
vertical spine, triangles on a spine running right to left); outlines
that match whatever anchor a path starts at, with another anchor on a
side, with contours in another order and with a lone anchor, and live
art compared by its size; a blend with no spine part in record order
and in the other order.
2026-11-16 13:30:18 -08:00
dotCooCoo e32f5878cd Merge feat/prefs-descriptions-selection into feat/prefs-descriptions-guides-grid 2026-11-16 13:29:54 -08:00
dotCooCoo f36ce0de37 Merge main into feat/prefs-descriptions-guides-grid 2026-11-16 13:29:27 -08:00
dotCooCoo f10c3aeacc Merge main into feat/polygon-side-widget 2026-11-16 13:29:12 -08:00
dotCooCoo 1061d645ea Recolor Artwork: Save Changes snaps the group's colors to Limit to Library
With Limit to Library set and the Global Adjust at 0%, Save Changes and
New Color Group gave a group each row's new color as it was, while OK gives
the library's nearest color. A row set without being snapped, for example
through `ui.dialog.set`, saved a color outside the library. Both now give
the group the library's nearest color, as OK does.
2026-11-16 13:26:54 -08:00
dotCooCoo c97258428a i18n: Georgian type size step description fits in three lines 2026-11-16 13:22:45 -08:00
dotCooCoo 4557e10248 Save PDF: Reset with a deleted preset is an error
When the saved preset the Save PDF dialog has chosen is deleted while
the dialog is open, Reset now returns an error naming it, shown in the
status bar, and leaves every field, passwords included, as it is. A
dialog's reset callback returns a Result for this; Flare Tool Options
and Objects on Path Options return Ok. The ui.dialogReset params text
and docs/mcp.md name the error.
2026-11-16 13:21:14 -08:00
Sven Lafebre 007356257f #8188: .ai import keeps a stroke's arrowheads
A stroke's arrowheads are symbols of the file that its style's stroke
dictionary names (BSArrowBeginSymbol / BSArrowEndSymbol, with
BSArrowBeginScale / BSArrowEndScale). The importer didn't read them, so
lines came in without their heads.

The style parser now records those symbol references, and the reader
turns each arrowhead symbol into a custom arrowhead: the symbol's level,
1 pt sample of the line gives the axis and where the line stops under
the head, the rest of its art is the head, tip at its rightmost point.
A custom arrowhead can now carry that stop. The head goes on the path
with its tip on the end or past it (Extend), whichever gives the object
its drawn art's bounds; otherwise, and for heads that can't be read
faithfully, the object keeps its drawn look.
2026-11-16 22:19:03 +01:00
dotCooCoo 63e7bf0719 Recolor Artwork: OK with a new name after Save Changes keeps the group's exact colors
After Save Changes, OK with only a new name sent the group's saved colors
as color keys, which hold hundredths of a unit. A swatch with finer
components, such as a CMYK swatch no row lists, was rewritten with the
rounded color. OK now sends `"keep"` for each saved swatch, so the rename
leaves every color as it is.
2026-11-16 13:15:05 -08:00
Dylan M. Taylor ca7ad8db03 fix(deps): pin PackBits and PDF cohort to merged shared revision 2026-11-16 16:04:48 -05:00
dotCooCoo 99ccdb790a Image Trace: Flat Logo docs count a gray stroke's loss at black in pixel centers
The parity line said a soft-edged gray stroke running out of black loses
"3 or 4 pixels" where it meets black. It now says 3 or 4 of the 16 pixel
centers along its middle nearest black, as docs/image-trace-adjustments.md
and the test count them.

In docs/image-trace-adjustments.md, gray near black on blurred edges now
traces gray at fewer of its pixel centers instead of "losing pixels", a
wider band loses some or most of its gray instead of part of it (bands 3
and 4 pixels wide at a blur of 1 pixel keep about 60 of 336), and the
paragraph is wrapped to the file's line width.
2026-11-16 13:04:10 -08:00
datatimp ffea517835 Docs: #8217 evidence in target-app-parity 2026-11-16 16:02:02 -05:00
dotCooCoo 772c7c2ce5 Graphic Styles: a style dragged onto Delete Graphic Style is deleted
A graphic style dropped on the Graphic Styles panel's Delete Graphic Style
button is deleted the way the button deletes: after asking, or at once with
Alt held, in one undo step. The button takes the drop with no style
highlighted and is outlined while a style is held over it. A highlighted
style brings the other highlighted styles with it; art linked to a deleted
style keeps its look and is no longer linked. Other drags are ignored.

Docs: docs/mcp.md (graphicStyle.delete), docs/target-app-parity.md.
2026-11-16 13:00:45 -08:00
dotCooCoo e32b7cdc4b Merge main into feat/print-ink-spot-to-process 2026-11-16 13:00:09 -08:00
Dylan M. Taylor 9c61c0b66e Merge pull request #8103 from storytold/refactor/eps-shared-write
refactor(eps): delegate PostScript write primitives to craft-ps
2026-11-16 15:55:40 -05:00
dotCooCoo 2d9b36ec7e Image Trace: Flat Logo band test checks the widths left unchecked at blurs of 1 and 3 pixels
The band test now also sums the samples traced gray for bands 3 and 4
pixels wide blurred by 1 pixel (about 60 of 336 over the three grays;
16 without the sharp-edge stop) and for bands 4 pixels wide blurred by
3 pixels (about 39 of 192).

across_edge decides from the first step alone whether one side's edge is
sharp, so each side's path is walked once. On 856 code-drawn band and
stroke cases and 39 images the results are the same as before.

The docs count pixel centers instead of pixels, write "0.6 pixels"
throughout, give the parity line's band claim its bound of 1 in 16, and
state again that a light gray stroke 6 or 8 pixels from black keeps its
gray because its pixels do not reach black in 5 steps.
2026-11-16 12:54:49 -08:00
dotCooCoo 8871799a0a Docs: UI chrome row records the Preferences field descriptions
The UI chrome area row names the General and Selection & Anchor Display descriptions; score and hours are unchanged.
2026-11-16 12:52:56 -08:00
dotCooCoo 3c7222b27e Metafile import: each line of text with advances splits and underlines on its own
Text on more than one line is placed a line at a time at every
alignment, and each line splits where an advance that tracking can't
give puts its characters, as a single line does. An underline or
strikethrough also runs on to the end of a line's last advance when
tracking can't reach it.
2026-11-16 12:50:23 -08:00
dotCooCoo 0661f0409f Tabs: dragging a tab stop draws a guide through the selected text
While a stop is dragged on the Tabs panel's ruler, the canvas draws a
line through the text whose stops the ruler shows, where the stop would
land. For area type it crosses the frame cell the paragraph starts in,
measured from where the first line starts (inside the inset, or past a
text wrap object); for point type it crosses the paragraph's lines from
the type's origin. It turns with rotated type and runs across the
columns of vertical type. In a Ctrl-drag (Command on macOS) it follows
the grabbed stop. No line shows while a release would delete the stop,
and it goes on release, Escape, when no button is down, or when the
panel is not drawn. It is not a document object and records no undo
step.

A stop drag whose release the ruler does not get now ends once no
button is down, as a marker drag already did.

The help page describes this guide:
https://helpx.adobe.com/illustrator/desktop/measure-and-align/grids-and-guides/manage-tab-stops.html
Its extent, color and the rules above are VectorCraft's own.
2026-11-16 12:49:07 -08:00
datatimp 79ef644847 Layers panel: Alt shows the copy cursor while rows are dragged (#8217) 2026-11-16 15:48:45 -05:00
dotCooCoo 2caaabbc8f Shortcuts: a chord before a key with a hold shortcut keeps its order in a frame
When a key with a hold shortcut is pressed and released in the same
frame after a chord with Cmd, Ctrl or Alt, the key no longer waits: it
goes back to the frame, which handles it as it does with Hold Shortcuts
off. Its tap no longer runs before the chord, so Cmd+Z followed by X in
one frame no longer undoes X's change instead of the earlier edit.
2026-11-16 12:47:02 -08:00
dotCooCoo 3e3c95ec37 Blend: options on several blends set only the values given; id edits one blend
object.blend.options wrote the first selected blend's spacing, orientation,
type, ramp and shift onto every selected blend, whatever the call gave. Each
blend now takes only the values given and keeps its own for the rest, through
one closure used for the selection and for `id`.

- `id` edits that blend alone. A hidden or locked blend and an object that
  is not a blend are errors, and the blend's own spine decides whether
  easing is allowed.
- A call that changes no blend records no undo step.
- The Blend panel's Ramp and Shift sliders share one helper: a drag
  previews on the canvas and records one undo step on release, instead of
  one per frame.

Builds on #8022 by ruchirguitar.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 12:42:53 -08:00
dotCooCoo 86ed096f82 Recolor Artwork: the Color Picker leaves the dialog in place with the Color Groups list shown
A double-click on a new color or Pick from Swatches turned the dialog into
the Color Picker before the Color Groups list was drawn, so that frame drew
the window without the list. The window then remembered the narrower size,
and when the picker closed it came back off center for one frame and moved
95 points to the side. A right-click on a row in that frame missed the row.

The picker now opens after the list is drawn, and the window keeps its size
and position. A new test checks the window's rectangle while the picker is
open and in each frame after its Cancel.
2026-11-16 12:42:28 -08:00
dotCooCoo 9adda33c8c Command palette: the opening-click test clicks the app bar's search field
The test looked for the app bar's search icon by its old name. The bar
now shows a search field named "Search commands" in its place, so the
test finds and clicks the field.
2026-11-16 12:42:27 -08:00
dotCooCoo 8d673ff0f7 i18n: French output-black options and halftone screens use printing terms
Preferences › Appearance of Black's output options read "Rendre tous
les noirs…", which calques "render". They now read "Reproduire tous les
noirs…", the printing sense of output; the display options keep
"Afficher".

The Vector Halftone dialog's Screens choice (Mono or CMYK) read
"Écrans", the word for a display. It now reads "Trames", the French
term for halftone screens, next to the dialog's "Linéature".

Part of #7991. Reported by bortekfr.
2026-11-16 12:42:02 -08:00
dotCooCoo c834fa0daf Command Palette: an empty search lists eight recent picks, and a refused pick is not recorded
An empty search lists up to eight recent picks under a Recent heading.
With no picks yet it shows a dimmed line, "Type to search commands,
tools, panels and effects", with a row in every catalog. The Recent
Commands button's list also shows up to eight picks, and the saved
list holds at most 20 ids.

A pick now reports whether it ran, opened a dialog or was refused.
Only a pick that ran or opened a dialog is recorded in Recent
Commands, so a canceled dialog's command stays there. A pick that is
refused because its menu item is dimmed, or because its panel can't be
shown in Presentation Mode, is no longer recorded; a refused recent
pick keeps its place.
2026-11-16 12:39:30 -08:00
dotCooCoo 30d5552795 Select: Object > Direction Handles selects the paths with one set call
Direction Handles cleared the selection and then added each path on its
own, and each add searched the paths already selected, so building the
selection took time that grows with the square of the path count. The
command now selects the paths with one Selection::set call and adds the
anchor sets in one extend. The selection is the same: paths keep their
order, a repeated path keeps its first place and its last anchor set,
and the side fields are cleared as before.

crates/engine/examples/direction_handles_bench.rs times both ways on the
same paths in one process. With 20,000 four-anchor paths, building the
selection takes 1.9 ms of thread CPU time against 69 ms one path at a
time.
2026-11-16 12:39:16 -08:00
dotCooCoo 4351143a2a Metafile import: multi-line text with advances aligns each line by its own advances
Centered or right aligned text on more than one line was placed by the
span of all its advances together, so a second line moved the first.
Layout also leaves the tracking after each line's last character out of
the width it aligns, so one object can't align every line by its
advances. Such text now becomes one point type object per line, each
aligned by its own advances and placed on its line's baseline. Left
aligned text stays one object.
2026-11-16 12:38:25 -08:00
dotCooCoo 6be2ef508b Save for Web: Optimize to File Size picks the settings that bring the image under a typed size
Optimize to File Size… under Preset opens rows for a desired size in K (1024 bytes), Start With
(Current Settings, Auto Select GIF/JPEG) and, with slices, Use (Total of All Slices, Each Slice,
Current Slice). OK takes the settings whose files fit, measured by encoding, and the dialog shows
the size found or says that no setting tried fits.

- webExport.optimizeToFileSize searches JPEG quality or GIF/PNG-8 colors, then GIF lossy 100,
  encoding at most 32 trial settings. A lower value can give a larger file, so it measures up to
  6 values spread over the range before it narrows the step. It writes no file and changes no
  remembered setting.
- A desiredK that is missing, not a number, 0 or less, or above 1048576 is an error, as are an
  unknown startWith or use and a bad slice.
- The slices share one setting, so every Use choice changes all of them.
- The result line is dropped when the art or the selection changes.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-11-16 12:37:47 -08:00
dotCooCoo 2f7e60dd54 WebP: Lossy with a Quality setting writes a lossy WebP file
WebP Options has a Compression menu (Lossless, Lossy) and a Quality
slider from 0 to 100 that is enabled for Lossy. document.export,
document.serialize and Export for Screens take lossless: false with
quality (default 90) and write a VP8 file, with an ALPH chunk that keeps
the alpha exactly when some pixels are not opaque. Lossless stays the
default. A WebP quality above 100, or one that is not a whole number,
is refused with an error.

The encoder is the one craft-image-codecs already provides; no
dependency changes. The note that lossy WebP isn't available, its
catalog rows and the format text that described it are removed.
2026-11-16 12:30:56 -08:00
dotCooCoo 0b87940421 Packaging Tools: Fold Preview halves the print down to one pixel and reads #-named swatches
The print raster stopped after two halvings, so a 2,048-pixel print seen
far out sampled a 512-pixel level and fine art aliased. It is now halved
down to one pixel, and each halving weighs an odd last row or column by
the part of the print it covers, so an edge color does not spread across
a small level.

A swatch whose name starts with # could not be the inside color, and one
named like a hex color drew that hex color. The inside is now looked up
as a swatch first and read as #rrggbb only when no swatch with a plain
color has that name.
2026-11-16 12:26:28 -08:00
dotCooCoo d00e3b6ecd Packaging Tools: Fold Preview picks the print level by a pixel's longer side and draws the board opaque
A print tipped away from the view shrinks up and down but not across, so
the level of the print raster is now chosen by the longer of a pixel's
two sides in flat terms, not its width alone, and fine print lines no
longer alias when the view is tipped.

The board's inside and outside colors were premultiplied by their alpha
and then drawn with full alpha, so a see-through color drew darker
instead. The depth buffer treats every panel as opaque, so the board is
now drawn opaque in its colors' RGB and their alpha is not used.

The tray test now checks that each wall's print faces away from the base
on its own side and that the walls fold below the base.
2026-11-16 12:26:28 -08:00
dotCooCoo a098cb8c53 i18n: Gujarati translates the Clear Actions prompt
The Clear Actions confirmation, "Delete all action sets and their actions?", gets a Gujarati row next to the Clear Actions and Reset Actions rows, using the catalog's words for action set and delete.
2026-11-16 12:25:26 -08:00
dotCooCoo c0667364ed Navigator: View Artboard Contents Only is on by default and hides art outside the artboards
The Navigator panel menu item View Artboard Only is renamed View Artboard
Contents Only and is now on by default. While it is on, the thumbnail
fits the artboards and draws only the art inside them: art on the
pasteboard and in the gaps between artboards is left out, and a shape
that crosses an artboard's edge is cut there. Before, the option only
narrowed the thumbnail to the artboards' bounding box, so art in the
gaps and past an artboard's edge still showed.

The choice is kept with the UI state for every document, instead of
being lost on restart. UI state saved without it reads it as on, and a
saved off stays off. A user who wants the pasteboard art in the
thumbnail turns the menu item off, or runs
ui.navigatorPanelOptions {viewArtboardContentsOnly: false}.

- ui.navigatorPanelOptions takes viewArtboardContentsOnly (true or
  false; any other value is an error and changes nothing) and answers
  {color, solidDashes, viewArtboardContentsOnly}.
- The renamed label has a row in every catalog that had the old one.

Docs: docs/mcp.md (Navigator panel options), docs/target-app-parity.md.
2026-11-16 12:25:17 -08:00
dotCooCoo 9aa937549f Font menu: Recently Added finds its families again when the clock goes back
The filter kept the list it found while the clock stayed before the instant the list may change at. When the system clock was set back, a family dated after the new time, or one whose 30 days had ended, could stay listed. The filter now also remembers the time it found the list for and finds the families again when the clock goes back before it.
2026-11-16 12:21:00 -08:00
dotCooCoo ef3df8f807 Shortcuts: a key typed before a wait that opens a dialog keeps later keys from it
When a wait starts and ends in one frame and a key typed before it opens
a dialog, the frame's key events and texts are taken from the position of
that key's first event (its press, or its text when the text came first),
not from the event that ended the wait. An Enter pressed between the two
no longer reaches the dialog.
2026-11-16 12:20:27 -08:00
dotCooCoo 7036cfb67c Merge main into feat/print-custom-scale-link 2026-11-16 12:16:47 -08:00
dotCooCoo a83cb1fadb Command Palette: a pick of Search Commands… is not a recent pick
As the first recent pick, the palette's own toggle made Enter on an
empty search close the palette and open it again. A pick of it is no
longer recorded, and one saved earlier is not listed.

- The rows of the empty search's list take the room the result count
  used to take, and the No recent commands line keeps the count's
  spacing.
- The palette tests' list of shown results follows the empty search.
- Tests: the toggle is not recorded or listed; a click on a lower
  recent pick runs it and moves it first.
2026-11-16 12:12:33 -08:00
dotCooCoo 51efeba7b4 Save PDF: holding Alt turns Cancel into Reset
While Alt (Option on macOS) is held, the Save PDF dialog's Cancel button
reads Reset. Reset (or ui.dialogReset) puts every option back to the
chosen preset's settings, clears the passwords and their checkboxes, and
leaves the dialog open with its preset, path, artboard range and section.
A saved preset deleted while the dialog is open leaves the options as
they are.

Choosing a preset now also clears the Security section's password
checkboxes, which stayed checked with an empty password before.
2026-11-16 12:11:49 -08:00
dotCooCoo 566a2e8d3c Merge main into feat/actions-clear-actions 2026-11-16 12:10:43 -08:00
dotCooCoo 4044496105 Merge main into feat/prefs-descriptions-selection 2026-11-16 12:10:24 -08:00
dotCooCoo 886450010a Transform: the Align to Pixel Grid state is worked out once per document revision
The Transform panel measured the selected objects' Align to Pixel Grid state on every frame, looking up each object and its parent and collecting their ids. With Select All in a large document that cost tens of milliseconds a frame. The state (on, off or mixed, and whether every object can be aligned) is now kept in the canvas cache for the document's uid and revision, and the ids are listed only when the box is clicked.
2026-11-16 12:08:55 -08:00