Commit Graph
21720 Commits
Author SHA1 Message Date
dotCooCoo 4eab8c9d10 Type: an insert that flows on into the next frame takes the caret with it
When type.insert at the Type tool's caret pushes the caret's place into the
next frame of threaded text, the caret now goes to that frame, so typing
continues after the insertion instead of before the text that moved on.
2026-11-16 16:23:58 -08:00
dotCooCoo b4ae645caf Merge feat/palette-empty-search-recent into feat/palette-recent-rank 2026-11-16 16:22:16 -08:00
dotCooCoo c8a0650bcd Command Palette: an effect's item in the path translates as the Effect menu's does
The callout, the row's home and the search index named a built-in effect's menu item with the
plain translation of its English label, while the Effect menu translates it by the effect id
(Effect › Pathfinder › Réunion in French). They now use the effect id first, and a live-effect
plug-in's name stays as written, as in the menu.
2026-11-16 16:19:55 -08:00
dotCooCoo c1266a96ea Merge feat/palette-empty-search-recent into feat/palette-recent-rank 2026-11-16 16:19:34 -08:00
dotCooCoo 4d9dde7461 Shortcuts: OK in Keyboard Shortcuts saves Hold Shortcuts and its delay
When OK in Edit > Keyboard Shortcuts changes Hold Shortcuts or the Hold
Shortcut Delay, the preferences are copied into the saved UI state and the
host is asked to write the preferences file, as OK in Preferences does.
Before, the change waited for the host's delayed save.
2026-11-16 16:19:00 -08:00
dotCooCoo 5fa4d879dd MCP: describe Save Changes for excluded rows past the swatches and rows that share a color 2026-11-16 16:18:59 -08:00
dotCooCoo 7c60eb472f Recolor Artwork: Save Changes adds no color for an excluded row past the group's swatches
An excluded row with no swatch of the group gave Save Changes its current color, which joined the
group, while OK adds nothing for it. It now sends a null in that place, which adds no swatch.

The row found for a swatch's color is now a row that gives the color a new color, before an
excluded row or one that removes the color, as recolor.apply maps the color with that row. Save
Changes and OK no longer remove a swatch, or keep its color, while the art takes another row's
new color.
2026-11-16 16:14:53 -08:00
dotCooCoo de53385081 Print: Overprint Black docs say which paints are not marked
Rich, RGB, Lab, spot-linked and lighter blacks are not marked to
overprint, and paints already set to overprint keep that setting. The
docs, params text and progress line said these blacks knock out.

docs/mcp.md also says that a symbol instance print leaves unplaced, past
16,000,000 objects of printed art or 128 drawn levels, is judged by its
symbol's own art.
2026-11-16 16:14:01 -08:00
dotCooCoo 1a1bb1fc28 .ai import: a blend's outline check reaches its last steps
With more than 16 drawn steps, the check compared the outlines of the
first 16 it tried and took the rest by their sizes, so a last step drawn
turned the other way still matched. It now compares the outlines of 16
steps spread evenly from the first to the last. A step that would take
more than 64 outline comparisons matches none, so the record's
orientation is not taken on an outline that was not compared.
2026-11-16 16:13:19 -08:00
datatimp 2f37809bf6 Layers panel: the Alt-drag copy cursor is the panels' add cursor, so Windows shows the plus (#8217) 2026-11-16 19:12:53 -05:00
dotCooCoo 7d5b4c18cc Type: an input method's text after an Alt chord is typed once on Windows
Windows sends an empty pre-edit before each input method commit, and an
input method can delete the text around the caret before it commits. An
Alt chord press followed by either of these and then the commit was not
paired with the commit, so the chord's character was typed before the
committed text. Both events now sit between the press and its text, and
the test covers them.
2026-11-16 16:11:17 -08:00
el-j 7194204871 Address review comments: reuse clear_transparency helper and run layer normalization only without transparency 2026-11-17 01:04:57 +01:00
dotCooCoo 5040735bd9 Command Palette: a palette closed and opened again in one step starts at its first row
The search icon can open the palette again before the next frame draws it
closed, so the highlight kept from before the close survived and Enter on
an empty search ran that row instead of the last pick. A palette that
closes now forgets its highlight in the same frame.
2026-11-16 16:03:50 -08:00
dotCooCoo 5255d61273 Tests: a key typed before a wait keeps later letters from its dialog
The test for a key typed before a wait that opens a dialog now presses a
letter between the two keys and checks that neither its press nor its text
reaches the dialog. A second test sends the same keys in the web build's
order, with each text before its press.
2026-11-16 16:03:02 -08:00
dotCooCoo cd3b090518 Shortcuts: after a chord before a hold key, the key's repeats reach the frame
When a command chord comes before a key with a hold shortcut in one frame,
and the key's wait ends in that frame, the key goes back to the frame as
with Hold Shortcuts off. Its repeats in that frame, the text they type and
its repeats in later frames now go back too; before, they were held back
until the key was let go.
2026-11-16 16:03:01 -08:00
dotCooCoo 3046868fbc Shortcuts: a shifted key with a hold shortcut holds before the character it types
When one entry holds a key with Shift (Shift+1) and another the character
that key types (`!`), holding Shift+1 runs the hold shortcut of Shift+1.
Before, the typed character was matched first, so the Shift+1 hold
shortcut could not run.
2026-11-16 16:02:53 -08:00
dotCooCoo 9d8f31ee85 Color Wheel: contrast reads the art below each group as the canvas composites it
color.contrast with the background sampled now draws the proxy's color
through each row, object, group and layer over the art below it inside
the levels around it, the way the renderer composites groups:

- A blend mode inside a translucent group blends with the group's art
  at full opacity, and the group's opacity applies once.
- A group of a picked symbol object's art is hidden in the instance's
  copy of the symbol to read what is outside it, and an instance's
  opacity or blend override for that group is taken out with it.
- Inside a group, layer or object that isolates its blending, a blend
  mode blends with the art that level holds (the object's lower rows
  included), and with nothing outside it.
- A translucent fill or stroke row draws over the object's rows below
  it at its own opacity.
- A group with a blend mode takes the backdrop back out of what it
  holds before it blends, as before.

A path's Normal fill row and type's character paint of one color no
longer count as different blend modes. docs/mcp.md and the params text
say when giving the sampled background back can answer another ratio.
2026-11-16 16:02:15 -08:00
dotCooCoo df45b7cc4b Blend: Type, Ramp and Reverse Spine count a selected key as its blend
The Blend panel dimmed Type, Ramp and Reverse Spine only when a selected
object was itself a blend without a spine. With a key of each of two
blends selected through Direct Selection, the controls stayed enabled
while the commands, which act on each key's blend, refused the edit.
The panel now checks each selected object's nearest blend, as the
commands resolve it.
2026-11-16 16:01:47 -08:00
dotCooCoo bfd6294b72 .ai import: a blend's outline check compares points along each side
The check that keeps a record's orientation compared two outlines by
their anchors alone. A square with its top side bent inward has the same
corners as its half turn, so the two matched. The check now also
compares the points a quarter, half and three quarters along each
segment, in both directions.
2026-11-16 16:01:19 -08:00
dotCooCoo 3dd40902a5 Print: note EPS export of process-named spot stops with plates
EPS export writes a gradient whose stop links to a spot swatch named
Cyan, Magenta, Yellow or Black and carries process plates in process
colors, with a warning. The stop_inks doc comment and the progress-doc
line now say so.
2026-11-16 15:59:22 -08:00
dotCooCoo d2b604384b Preferences: the sideways-scroll sentence no longer depends on Zoom with Mouse Wheel
Cmd/Ctrl-wheel scrolls the canvas sideways whether Zoom with Mouse Wheel
is on or off, so the General description for Scroll Sideways with
Cmd/Ctrl + Wheel drops the "while Zoom with Mouse Wheel is off" opening,
in English and in every catalog row.
2026-11-16 15:58:01 -08:00
dotCooCoo b33409d1a5 MCP: the headless UI catalog lists ui.foldPreview
Regenerated crates/mcp/src/ui_catalog.rs with `cargo xtask ui-commands` so it
matches the ui.foldPreview row in crates/ui-egui/src/menus/ui_commands.rs.
2026-11-16 15:56:02 -08:00
dotCooCoo 0278088909 Tests: the selection export warnings test uses an option WebP doesn't read
Lossy WebP is now written without a note, so the WebP case of
export_selection_reports_the_encoders_warnings asks for interlaced,
which WebP files don't read, and checks that the selection export and
the whole-document export both name it.
2026-11-16 15:55:08 -08:00
dotCooCoo 256b88f633 Preferences: the keyboard-focus tests check the focused control's description
description_frame now returns the description of the accessibility node
that has the keyboard focus, instead of the descriptions of every node.
The Units, General and Type keyboard-focus tests compare it with the
row's sentence, so they fail when the sentence is set on a node other
than the focused control.
2026-11-16 15:54:10 -08:00
dotCooCoo 0904472ffc Control bar: Hide Shape Widgets hides the selected live shapes' widgets
With the Rectangle, Rounded Rectangle, Ellipse, Polygon or Star tool, the
Control bar starts the tool's options with a Hide Shape Widgets button,
which reads Show Shape Widgets while the widgets are hidden
(`view.shapeWidgets {on?}`). Hidden, a selected live rectangle's or
polygon's corner widgets, a live ellipse's pie widgets and a live
polygon's side widget are not drawn, and the Selection tool and the shape
tools do not answer a press, a double-click or the cursor on them. The
bounding box and its handles, the center point and Direct Selection's
corner widgets (View › Hide Corner Widget) stay as they are.

The setting is on by default, saved with the interface state and kept
across tool switches; it adds no undo step. Its scope beyond the shape
tools, its default and what it leaves shown are VectorCraft's own rules.

The help page describes the button:
https://helpx.adobe.com/illustrator/using/live-shapes.html
2026-11-16 15:45:34 -08:00
el-j a0edcf73c4 Merge remote-tracking branch 'upstream/main' into fix/pdfx-transparency-reduction-6861 2026-11-17 00:42:30 +01:00
dotCooCoo feeab2e335 Preferences: the Transform Tools sentence names shearing too
The Transform Tools setting also controls the angle readouts of the
Shear and Reflect tools, so its description now says the size or angle
shows while you scale, rotate, shear or reflect art. Every catalog row
is updated to the new sentence.
2026-11-16 15:40:25 -08:00
dotCooCoo 79fdf113a5 Print: faint ink on paints marked to overprint is kept on PostScript plates
A PostScript plate drew an overprinting fill, stroke or character as
nothing when it put up to half a percent of that plate's ink down, so a
faint ink was lost from the plate. Now only a paint with no ink on the
plate is drawn as nothing, on PostScript and PDF plates alike. The one
exception is a color that counts as 100% black and is not linked to a
spot swatch or Registration: on a PostScript plate, up to half a percent
of another ink in it still counts as none, so a near black set to
overprint keeps the ink below it.
2026-11-16 15:38:42 -08:00
dotCooCoo 31c53a8658 Print: spot plates follow the swatch art links to by name
A fill, stroke or gradient stop links to a swatch by name, and the first
swatch of that name is the one it prints from. The plate list added a spot
plate for every spot swatch, so a spot swatch after a process swatch of the
same name got a plate that printed nothing, while art linked by that name
separated as process. The plate list now takes only the first swatch of
each name.

A spot swatch named Cyan, Magenta, Yellow or Black had no plate of its own
and printed nothing on the process plate of its name. Art linked to it now
prints its tint on that process plate, as PDF and EPS export write it, and
a gradient stop's own process plates print beside it.
2026-11-16 15:29:19 -08:00
dotCooCoo 4e3175bbbf Merge main into feat/control-bar-shape-widgets 2026-11-16 15:27:32 -08:00
dotCooCoo 7c33e1de77 Panels: read the selected object in place instead of copying it each repaint
first_selected and the Appearance panel's subject return the Arc the
document holds, and the Transparency panel caches that Arc. Brushes and
Image Trace borrow the node. The Transparency panel copies the object to
leave out its mask only when it draws the thumbnail again. Each panel
shows the same values as before.
2026-11-16 15:26:29 -08:00
dotCooCoo 3032f6e7ce Arc: Arc Segment Tool Options shows a picture of the arc as its options change
Double-clicking the Arc tool opens Arc Segment Tool Options, which now shows
the arc below Fill Arc and redraws it as the lengths, Reference Point, Type,
Base Along, Slope and Fill Arc change, ui.dialog.set included. The picture is
the arc shape.arc draws from the options OK sets, fitted into a 160 x 120 frame
with its proportions kept, in the current stroke (black when there is none),
filled with the current fill when Fill Arc is on, turned by General > Constrain
Angle, with a mark on the reference point. A gradient or pattern stroke or fill
shows as gray. OK still only sets the options and draws nothing; the click
dialog has no picture.
2026-11-16 15:26:24 -08:00
dotCooCoo 788ebb3961 Swatches: a user swatch named with a leading bracket dropped on Delete Swatch is deleted
Delete Swatch took dragged rows through the name-prefix filter of the
selection's click path, so a user swatch such as [Blue] dropped on the
button was ignored. The drop now keeps color groups and every swatch of
the document other than None and Registration, as swatch.delete does.
2026-11-16 15:23:35 -08:00
datatimp e300ca95f0 Merge branch 'fix/8241-panel-copy-cursor-on-windows' into fix/8217-layers-alt-drag-copy-cursor
# Conflicts:
#	docs/roadmap.md
#	docs/target-app-parity.md
#	docs/ui-parity.md
2026-11-16 18:19:32 -05:00
dotCooCoo bd64b45910 Merge main into feat/layers-drag-into-live-paint 2026-11-16 15:18:40 -08:00
dotCooCoo 68dbb1e6e4 Select: Same and Select by Color read each object's parent from the walk
Select > Same, Select by Color (select.color) and document.find looked up
the parent of every object they checked by its id, through
Document::parent_of and Document::node, to tell members of a compound
path and faces of a Live Paint group from other objects. The walk
already stands on that parent, so it now hands it to the check with the
object. walk_selectable keeps its signature and visits the same objects
in the same order.

The selected objects, their order and the count reply are the same as
before, and so is the Reselect state of Select > Same. Tests compare the
walk and the parents it hands out with the old walk and
Document::parent_of, and the results of six Same commands and
select.color with the old per-id loop, in four isolation scopes, from
rectangles at the top level, in a group and in a sublayer, compound path
members, Live Paint faces and a compound path. In a damaged document
that holds an id twice, the parent read is the one that holds the
object being checked.

The gain shows on large documents. With 220,482 objects, the search of
Select > Same > Fill Color takes a median of 24 ms of CPU time instead
of 83 ms, and of Stroke Color 22 ms instead of 60 ms (release build on
Linux, seven alternating runs of both loops in one process; an ignored
test, select_same_perf, times them).
2026-11-16 15:18:22 -08:00
dotCooCoo 72ea27a0ad Merge main into feat/graphic-styles-alt-drag-replace 2026-11-16 15:18:08 -08:00
dotCooCoo f310e3826f Merge main into feat/prefs-descriptions-smart-guides 2026-11-16 15:12:39 -08:00
dotCooCoo 143d953df0 Appearance: the Control bar label and Mixed Appearances summary are worked out once per revision
The Control bar's selection label and the Appearance panel's object row,
Mixed Appearances note and shared rows looked up every selected object on
every repaint, twice for the label. They are now worked out once for each
document, revision and list of appearance subjects (the targeted object,
else the selected objects, compared id by id) and reused until one of
those changes. The panel's mixed summary is worked out only when the panel
is shown. The Control bar no longer copies the selection's ids on each
repaint.

With 200,000 selected rectangles the two take 2.1 ms of CPU time per
repaint instead of 58.4 ms when the rectangles are alike, and 3.0 ms
instead of 80.7 ms when every second one has another opacity
(selection_summary_perf, an ignored benchmark).
2026-11-16 15:11:11 -08:00
datatimp 3232415866 Gradient panel: the add-cursor test follows the panel's own glyph condition (#8241) 2026-11-16 18:10:46 -05:00
dotCooCoo 97a1a363b8 Merge main into feat/print-overprint-black 2026-11-16 15:09:39 -08:00
dotCooCoo b957d5d07c Swatches: swatches dragged onto the New Swatch button are duplicated
A swatch dragged from the Swatches panel, in any view, and released on
the New Swatch button is copied through swatch.duplicate without
opening the New Swatch dialog. A swatch that is part of the selection
carries the other selected swatches with it, and the copies of one drop
are one undo step. Each copy goes just after its swatch and in its color
group, takes the usual "copy" name, and is selected. Modifiers held on
release do not change the drop. Color groups, None and Registration are
not duplicated; a user swatch whose name starts with a bracket is. The
button is outlined only while such a swatch of the active document is
held over it, so a paint from another panel, art, a swatch dragged from
another document and a swatch deleted during the drag duplicate nothing.
A click on the button still opens New Swatch.
2026-11-16 15:07:16 -08:00
dotCooCoo 82b4632719 Type: Show Hidden Characters marks tabs, nonbreaking spaces, discretionary hyphens and forced line breaks
The help page lists the characters Type > Show Hidden Characters makes
visible: paragraph returns, forced line breaks, tabs, spaces, nonbreaking
spaces, discretionary hyphens and the end of the text
(https://helpx.adobe.com/illustrator/desktop/design-with-text/special-characters-glyphs/insert-white-space-and-break-characters.html).
The canvas marked only plain spaces, paragraph ends and the story's end.

It now draws an arrow across each tab's advance to its stop, a ring over
a nonbreaking space (U+00A0) and a smaller one over a narrow nonbreaking
space (U+202F), a short tick over the spaces of a set width (U+2000 to
U+200A, U+205F, U+3000), a not sign at a discretionary hyphen (U+00AD)
whether or not the line breaks there, and a bent arrow after a line that
a forced line break (U+2028) ends, which no longer gets a pilcrow. The
mark shapes are VectorCraft's own.

The marks follow each glyph's baseline, so they sit along the column in
vertical type and along the path in type on a path, which had no marks
before. A right-to-left line gets its pilcrow at its left end.
2026-11-16 15:02:37 -08:00
dotCooCoo 40ceb9258a .ai import: a file opened without its PDF part reads its text document once
Opening a .ai from its editing data alone checked whether the text
document makes all of its type, then built the document, and each step
decoded and parsed the text document and scanned the text objects'
frames again. A file with envelopes of type, which waits on its PDF
part, did this up to four times.

The check and the builds now share one read of the frames and of the
text document. It is kept with the decoded editing data for the build
with the PDF part and for the build without it that can follow, also
when the check failed. The build applies its own pattern paints to the
shared text document, as before.

The document and notes are unchanged: new tests compare them against
the same opens with every check and build reading the text afresh, and
count one read and one scan on each route.
2026-11-16 14:59:11 -08:00
datatimp a932ab543f Docs: #8241 roadmap row 2026-11-16 17:59:06 -05:00
datatimp 2a090b450e Docs: #8217 roadmap row 2026-11-16 17:57:38 -05:00
datatimp ea69ba0b97 Layers: a c opy never goes inside a top-level layer it copies; roadmap row (#8237) 2026-11-16 17:52:20 -05:00
dotCooCoo 86d66a701a Merge main into feat/swatches-drag-to-new 2026-11-16 14:45:35 -08:00
dotCooCoo 9bf6a8ac25 Preferences: Smart Guides settings show a sentence on hover and focus
The line under the Preferences fields now shows a sentence for the Smart
Guides box and for each of the 14 Smart Guides settings, from Color to
Snap to Perpendicular, when the pointer is over the row or its control
has the keyboard focus. A screen reader gets the same sentence as the
control's description. Every complete catalog has a row for each one.

Tests: the one-sentence test covers the Smart Guides category, and new
tests check the hover and keyboard-focus sentences.
2026-11-16 14:45:02 -08:00
dotCooCoo 91f80bedc5 Live Paint: paths drawn in an isolated Live Paint group join it when isolation ends
Leaving isolation mode in a Live Paint group (object.exitIsolation, or
object.isolate on a level outside the group) adds the shown, unlocked
paths, compound paths and groups of them drawn in it to the group as
Live Paint > Merge does, in one undo step. Faces and edges the new paths
do not cross keep their paint. This also applies when a group drawn in
the Live Paint group was isolated in turn. An exit with nothing to add
changes nothing and records no undo step.

Type, images, and hidden or locked objects drawn in the group, and
groups holding one, stay in it as they are. Gap Options, Merge and
Release now keep them; before, they replaced every child of the group
with the rebuilt parts, so such objects were deleted. Only the group's
sources group and paths named Face or Edge count as its parts.

Help page: https://helpx.adobe.com/illustrator/desktop/paint-and-fill/learn-painting-basics/modify-live-paint-groups.html
2026-11-16 14:43:51 -08:00