Commit Graph
8105 Commits
Author SHA1 Message Date
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 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 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 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 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 7036cfb67c Merge main into feat/print-custom-scale-link 2026-11-16 12:16:47 -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
dotCooCoo 3900a6b989 Actions: Clear Actions deletes every set in the panel
The Actions panel menu gets Clear Actions, after Replace Actions… and
before Reset Actions, and the new command ui.actionSet.clear. It asks
first; OK deletes every set with its actions, the built-in Default
Actions set included, and Cancel changes nothing. Afterwards no set,
action or step is selected, and an open Set Options, New Action, Batch
or step dialog that names a set closes. The question passes the ids of
the sets it asked about, so OK deletes nothing when the sets changed in
the meantime. The item is off with no sets and while an action records
or plays. No undo step is recorded, and an empty panel stays empty after
a restart.
2026-11-16 12:07:33 -08:00
dotCooCoo db630b401a Merge main into feat/arrange-documents-layouts 2026-11-16 12:05:18 -08:00
dotCooCoo cb060a0ea7 Merge main into feat/packaging-fold-preview 2026-11-16 12:04:49 -08:00
dotCooCoo 5171378fd5 Merge main into fix/symbol-drop-across-documents 2026-11-16 12:02:44 -08:00
dotCooCoo aac6250a07 Merge main into fix/blob-params-rejected 2026-11-16 12:01:23 -08:00
dotCooCoo 473b887542 Merge main into feat/flare-alt-click-default 2026-11-16 11:59:16 -08:00
dotCooCoo 10054f611b Merge main into fix/issue-8047-group-marquee 2026-11-16 11:58:46 -08:00
dotCooCoo a616ccfd09 Merge main into fix/shortcut-row-names-translated 2026-11-16 11:57:36 -08:00
dotCooCoo 7953a12116 Metafile import: EMF and WMF text keeps the character advances the file gives
Follows #7608. Text from EMF, WMF and EMF+ pictures was laid out with the
font's own spacing, so the per-character advances the file gives
(ExtTextOut's lpDx, EMF+ DrawDriverString glyph positions) were dropped.

- Characters are spaced by their advances as tracking, with pair kerning
  off. When a ligature forms at one tracking and breaks at the next,
  standard ligatures are turned off for that text.
- On a single left to right line, an advance that tracking can't give
  (wider than its range, or a tab) starts a new point type object where
  the advance puts it, also between the letters of a ligature the
  tracking breaks apart. An underline or strikethrough is filled across
  the space between. Right to left and multi-line text stays one object.

ExtTextOut: https://learn.microsoft.com/en-us/windows/win32/api/wingdi/nf-wingdi-exttextoutw
DrawDriverString: https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-emfplus/b794b780-e9a8-4682-af65-9b614aecfbe6
2026-11-16 11:57:10 -08:00
dotCooCoo c8142c33b6 Merge main into feat/windows-screen-color 2026-11-16 11:56:57 -08:00
dotCooCoo 825cfdd750 Shapes: double-clicking a live shape's corner widget with a shape tool shows the Transform panel
With Rectangle, Rounded Rectangle, Ellipse, Polygon or Star active, a
double-click on a visible corner widget of a selected live rectangle or
polygon shows and selects the Transform panel (window.panel.activate),
wherever it is: closed, docked behind another tab, floating, in an icon
column or in a dock hidden by Tab. A second double-click keeps it on show.
The tool, the selection, the document and the undo history stay as they
were. Pie widgets, spots off the widgets, Line Segment, plain paths and
hidden or angle-excluded widgets do nothing; the Selection and Direct
Selection tools keep their double-click behavior.

Tools return the new Action::Panel, which the engine forwards as
UiRequest::Panel; the desktop app activates the panel, and a headless
pointer_gesture reply carries {"panel": id} in its requests.

Docs: docs/ui-parity.md (#5477 row, also correcting its statement that the
bounding-box handles scale only with the Selection tool) and
docs/target-app-parity.md.
2026-11-16 11:56:38 -08:00
dotCooCoo d5aea15674 Merge main into feat/symbols-drag-to-delete 2026-11-16 11:56:24 -08:00
dotCooCoo d33d008010 Merge main into fix/expand-pieces-raster-budget-ids 2026-11-16 11:56:08 -08:00
dotCooCoo 52fcf89a80 Save for Web: holding Alt or Option turns Cancel into Reset
While Alt (Option on macOS) is held, the dialog's Cancel button reads
Reset. Reset puts the remembered settings back, or the defaults when none
are remembered, on the current document's active artboard. It drops a
pending preset, a pending Done left by a Done that failed, the preset name
being typed and the selected color table entry, and keeps the view, zoom,
connection speed and path. It does not remember or write anything, and the
dialog stays open. `ui.dialogReset` does the same.
2026-11-16 11:52:29 -08:00
dotCooCoo ca14cf5a11 Merge main into feat/font-menu-recently-added 2026-11-16 11:51:53 -08:00
BFlat 5fd8cf2c45 Merge pull request #7378 from dotCooCoo/fix/svg-filter-messages-tr-labels
i18n: SVG filter refusals are translated, and side-by-side menu items differ
2026-11-17 02:51:10 +07:00
BFlat 3e75a7eae7 Merge pull request #8013 from dotCooCoo/fix/transform-copies-raster-effects-groups
Effects: each copy of a group's or layer's Transform effect carries the raster effects before it
2026-11-17 02:50:52 +07:00
BFlat fb6845b07a Merge pull request #8161 from dotCooCoo/perf/cut-selection-one-pass
Cut: take the cut objects out of the selection in one pass
2026-11-17 02:50:44 +07:00
BFlat 3e9947ac9d Merge pull request #8179 from dotCooCoo/feat/graphic-styles-drag-to-new-duplicates
Graphic Styles: a style dropped on New Graphic Style is duplicated at the end of the list
2026-11-17 02:50:36 +07:00
dotCooCoo 01d362ac4e Preferences: the line under the fields describes each Type setting
The line under the Preferences fields now shows a sentence for each of
the 23 Type settings when the pointer is over the setting's row or its
control has the keyboard focus, and a screen reader gets the same
sentence. Each sentence states what the app does with the setting, such
as which keys step by each increment and which panels show the East
Asian and Indic options. Every complete catalog has a row for each
sentence.

The empty-line test now points at Guides & Grid › Gridline every, a row
that still has no sentence.
2026-11-16 11:50:28 -08:00
BFlat d481433eb9 Merge pull request #8163 from dotCooCoo/feat/symbols-drag-to-new-duplicates
Symbols: a symbol dragged onto New Symbol is duplicated
2026-11-17 02:50:27 +07:00
BFlat 40e2aecad3 Merge pull request #8174 from dotCooCoo/perf/anchors-many-set
Select: anchorsMany updates the selected objects in one pass
2026-11-17 02:50:10 +07:00
BFlat d430836ed9 Merge pull request #8158 from dotCooCoo/feat/color-guide-drag-to-swatches
Color Guide: a harmony color or variation dragged onto the Swatches panel becomes a swatch
2026-11-17 02:49:44 +07:00
BFlat 762439edfb Merge pull request #8151 from dotCooCoo/feat/rounded-rect-dialog-corner-radius
Rounded Rectangle: the click dialog opens on General › Corner Radius, and OK makes its radius the default
2026-11-17 02:49:33 +07:00
BFlat d31f346d44 Merge pull request #8056 from dotCooCoo/feat/direct-marquee-blend-spine
Direct Selection: a marquee picks the points of a selected blend's spine
2026-11-17 02:49:23 +07:00
dotCooCoo 02e8f3eb54 Flare: an Alt-click draws a flare at the click with the tool's options
With the Flare tool, an Alt-click (Option-click on macOS) now draws a flare
centered at the click at once, with the tool's current options, instead of
opening the Flare Tool Options. Alt counts when it is held as the button goes
down; a drag with Alt draws the flare in two stages as before. While the
perspective grid shows with an active plane, the flare is drawn on that plane
from the click, as the dialog's OK draws it, and a click the plane cannot take
reports the error. A plain click still opens the dialog.
2026-11-16 11:47:43 -08:00
dotCooCoo 0c1c4f3076 Docs: the Recently Added line cites the user guide page and the text crate's test paths 2026-11-16 11:46:16 -08:00
dotCooCoo bd624ac39f Merge feat/print-overprint-black into feat/print-custom-scale-link 2026-11-16 11:41:11 -08:00
dotCooCoo 782869906d Merge main into fix/issue-8090 2026-11-16 11:40:23 -08:00
dotCooCoo c3ee2cd9ad Lists: restartNumbering false in a threaded frame keeps the continued paragraph's number
When a threaded frame starts inside a numbered paragraph, restartNumbering
false on that frame no longer takes away the number the paragraph has in
the frame before.
2026-11-16 11:38:41 -08:00
dotCooCoo 5b9a9cf3bf Preferences: Selection & Anchor Display settings describe themselves under the fields
The line under the Preferences fields now shows a sentence for each of
the 14 Selection & Anchor Display settings when the pointer is over the
setting's row or its control has the keyboard focus, and screen readers
get the same sentence as the focused control's description. Each
sentence states what the app does with the setting: the Snap to Point
sentence says that the Smart Guides Snapping Tolerance applies while
Smart Guides is on. Every catalog has a row for each sentence.

The test that every General setting has one sentence now covers
Selection & Anchor Display too, and two more check the line on hover
and on keyboard focus in that category.
2026-11-16 11:38:26 -08:00
Sven Lafebre 7f65d38906 Properties: the Character section shows the Type tool selection's font style
While the Type tool edits text, the Properties panel's Character section
showed the font family and style of the text object's first run. It now
reads character::text_style, as the Character panel, the Control bar and
the Contextual Task Bar do: the first selected character's style, or the
style of the character before the caret. With the Selection tool it still
shows the first run's.

Fixes #8189.
2026-11-16 20:32:28 +01:00