Commit Graph
18411 Commits
Author SHA1 Message Date
dotCooCoo a1bc9f40b8 Merge main into fix/followup-8463 2026-11-18 16:47:48 -08:00
dotCooCoo cd640a6183 Merge main into fix/issue-8568 2026-11-18 16:47:45 -08:00
dotCooCoo 6c5e10fd64 Color Settings: keep script gates and background reads after a profile answer
- A scope narrowed to the confirming caller keeps the script gates of both,
  and reads are exempt from them only where both scopes exempt them.
- A file read off the UI thread does the rest of its read after its profile
  answer (linked files and type) off the UI thread too; an open a caller
  asked for by path still finishes before OK returns.
2026-11-18 16:46:24 -08:00
dotCooCoo c870693669 Preferences: describe Low-Latency Drawing and Plug-in Instruction Budget
Low-Latency Drawing and Plug-in Instruction Budget joined the Performance
and Plug-ins & Scratch Disks categories after these descriptions were
written, so the test that every setting has a sentence failed on them.
Each now has a sentence with a row in every complete catalog, and the
Performance and Plug-ins hover tests include their rows.

The hover tests now count a label as shown only while its center is
inside its clip rectangle, so the pointer is never moved onto a row that
is half scrolled out of the list. The Performance hover test also waits
for the smooth scroll to settle before it moves the pointer, as the File
Handling test does.

The six Polish description rows that called artwork "grafika" use
"kompozycja", the catalog's term. docs/target-app-parity.md states the
same Automatic graphics processor order in the Performance entry and
under Graphics processor.
2026-11-18 16:41:13 -08:00
dotCooCoo 6de3954e6b Part of #5941: drop-down lists keep their current option in view in a short window
A drop-down list measures itself against the whole window on the pass it
opens and takes the room beside its field on the next pass. The current
option was scrolled into view only on the first pass, so where the room
beside the field was less than half the list, the option could end up
below the rows shown. It now scrolls into view on both passes.

The new test opens a 20-option list in windows 260 and 180 points tall
with the current option at its end, in its middle and near its start,
and checks that the option shows whole inside the list's clip.
2026-11-18 16:40:48 -08:00
dotCooCoo 37b3dd9a3e Part of #5941: drop-down lists open with their current option in view
A drop-down list now opens scrolled so that its current option sits in
the middle of the list, or as near to it as the list's ends allow, so
the option shows whole. A list that fits opens at its first option, as
does one with no current option.

The Format list test chooses the last format, checks that it shows
whole and that the list opens again at the same rows after a scroll,
and checks that the theme gives every scroll area the bar at rest.
Export for Screens' test picks GIF after SVG, since PNG is no longer in
view when the list opens with SVG in its middle.
2026-11-18 16:40:48 -08:00
dotCooCoo 61cc30e9b8 Image Trace: a shown center point keeps its drag over the divider
With Show Center on, a press on a selected Image Trace object's center
point where the Split view's divider crosses it moved the divider
instead of the object. The divider now leaves a press on a shown center
point to the Selection tool, as it already did for the bounding-box
handles.
2026-11-18 16:40:27 -08:00
dotCooCoo 9f859372e4 Reflect tool: a click released after the document changed sets nothing
A press that the document or selection changed under before its release, without
becoming a drag, now sets no reference point and starts no Reflect axis, as a
drag from such a press already did.
2026-11-18 16:40:21 -08:00
dotCooCoo 1102663014 Merge main into feat/save-pdf-save-summary 2026-11-18 16:37:38 -08:00
dotCooCoo e8d070ea37 Retype: the panel says when a search left shapes out
retype.find keeps the `truncated` flag type.retypeFonts returns, and
retype.list returns it. When shapes past the first 2,048, or more than
16 groups deep, were not compared, the panel says so under the field.

- Rows for that line and for the "Retype: select outlined text (paths
  or compound paths)" error in every complete catalog. The panel shows
  that error when a search finds no path to compare.
- The params text and docs/mcp.md say "the fonts whose glyphs match the
  selected outlined text". docs/type-parity.md's Retype row lists the
  missing Type menu, context menu and Quick Actions entry points and the
  favorites filter, as the other two docs do.
- Font samples: when eight samples are rendering, finished ones join
  the ready samples before a new one starts. Samples whose text changed
  while they rendered were never asked for again, so after eight of them
  no sample started; typing in the panel's sample field reaches that.
- The panel test that checks the first-ranked font accepts a tie with a
  renamed copy that other tests load into the shared font database.

Part of #4934.
2026-11-18 16:27:05 -08:00
dotCooCoo 52e959d4be 3D (Classic): Map Art keeps to the limits the art draws within
- When any solid's mapped art passes the shared limits, every solid in
  the effect draws without its mapped art, so Invisible Geometry hides
  all of them or none.
- A revolved group lists its surfaces with the members' shared curve
  sampling, and an extruded group lists none past the faces of one
  object.
- Commands refuse art on walls, bevels and Revolve's side whose curves,
  cut into straight pieces at the map's scale and placed about the
  surface's center, pass 400,000 points. Caps are not counted.
- Each contour's bounds test counts as a cut, in Map Art and in the side
  graphics.
- On a facet whose curved edge bows out of its cell, the art reaches the
  whole facet.
- A bevel as deep as the solid leaves no walls, and its bevels take the
  numbers after the caps.
- Surfaces past the face limit are refused as the side is.
- threeD.mapArt keeps a deleted symbol only while the request leaves
  `symbol` out.
2026-11-18 16:25:43 -08:00
dotCooCoo 585fd878fa Recolor Artwork: Undo Changes keeps its newest step past the byte limit
The dialog's history always keeps the step to the current fields, so
Undo Changes is never enabled with no step to go to.
2026-11-18 16:23:48 -08:00
BFlat bab45a99f3 Merge pull request #8631 from storytold/fix/cutovers-main
Revert #8626 (HP-GL/2 through craft-plotter) and fix #8627's palette tests: main fails to build
2026-11-19 07:21:15 +07:00
dotCooCoo 7451b07a96 Save PDF: the saved Summary writes line breaks inside option values as LF
A text option such as the output condition could carry CRLF or CR into the
file, which then mixed line endings.
2026-11-18 16:19:42 -08:00
bflatastic 4e63316d9a color: the palette tests define the swatch exchange constants craft-cms keeps private 2026-11-19 07:18:08 +07:00
bflatastic 693785fc70 Revert "cutover: use craft_plotter::hpgl::write (#8626)"
This reverts commit d2bed0bdb8.
2026-11-19 07:18:07 +07:00
dotCooCoo 918aeed61c Document Setup: grid colors keep their own model and the preset menu matches exact colors
Document Setup's Transparency tab now holds each grid color as an entry
that document.setup reads back as the same color: its hex code when that
reads back exactly, else the color in its own model. A Lab grid color, or
an RGB one in a working space other than sRGB, no longer turns into a
different RGB color in the preview or on an unchanged OK.

- A hex field's edit replaces only its own entry; the other entry stays
  as it is.
- The Grid Colors menu names a preset only when the pair is exactly that
  preset's colors, as document.setup names it.
- A grid color's Color Picker leaves Document Setup's field as it was
  until its OK: Cancel goes back to a list that is not two colors
  unchanged, and Document Setup's OK still refuses it.
2026-11-18 16:13:54 -08:00
dotCooCoo cd21f4c1bc Anchor Point: a repeated linked handle request records no undo step
path.setHandle with link: true treated a request as a change whenever the
whole anchor differed after the other handle was turned again. Turning it
again from its stored end measures its length anew, which can round its
end differently in the last bit, so the same request sent twice recorded
a second Reshape step and moved the other handle by one unit in the last
place.

The request now also counts as unchanged when the anchor is smooth, the
requested handle is already at (x, y), and the other handle sits exactly
where turning it puts it at some positive length, with the same
arithmetic. Any other handle is turned and records a step, including one
slightly off line, a short one at right angles, one on the same side, and
a retracted one that is pulled out.
2026-11-18 16:13:30 -08:00
dotCooCoo e9650d17a4 Image Trace: switching tools during a divider drag puts the view back
Switching away from the Selection tool while dragging the Split view's
divider left the drag's interaction open with its preview in the
document. The Selection tool now cancels the drag on deactivate, as
Escape does, as it already did for the corner, pie, side and blend
widgets.
2026-11-18 16:09:36 -08:00
dotCooCoo e39e6713d9 Reflect tool: Enter or a dropped press ends a press not yet a drag
Enter between the press and the release of a click now ends that press,
so the release sets no reference point and starts no Reflect axis behind
the dialog. A press the engine drops ends whether or not it became a
drag, and drops a waiting axis, so the release sent after it starts no
axis. A press whose document or selection changes before it becomes a
drag is dropped, so the reference point or axis set for one selection
is never applied to another.

The engine test checks that the Alt copy is reflected across y = 300.
The docs state that the first click is a plain click, that the 3 px
check compares the snapped points, and what a double-click does while
an axis waits.
2026-11-18 16:09:31 -08:00
Dylan M. Taylor 0087be0452 color: cut over palette_io GPL/ASE/ACB to craft-cms (#8627) 2026-11-18 19:08:49 -05:00
Dylan M. Taylor d2bed0bdb8 cutover: use craft_plotter::hpgl::write (#8626) 2026-11-18 19:08:45 -05:00
dotCooCoo c76b27f8d4 Tests: count the six Paper Cutouts styles among the built-in library styles
The built-in library style-name test expects 86 distinct names, which main set before the Paper Cutouts library added six. It now expects 92.
2026-11-18 16:06:50 -08:00
dotCooCoo 877befe5a6 3D: Revolve's drawn faces and exported mesh share one side-corner helper
The canvas faces and the exported side mesh each worked out where a
side quad's four corners lie on the unrolled surface. Both now call
surface_corners, so the two keep the same corner order and formula.
2026-11-18 16:04:41 -08:00
dotCooCoo e81061dd1e Save PDF: Flattener preset shows a preset named in another case by its name
A flattenerPreset given as MINE or HIGH RESOLUTION saved with that preset,
but the dropdown compared names exactly and showed [Custom]. It now finds
the preset by name in any case, as the export does.
2026-11-18 16:01:48 -08:00
dotCooCoo 5f23bea81a Save PDF: OK on Custom… keeps the overprint option of a saved preset deleted meanwhile
When the saved flattener preset was deleted while Custom… was open, OK
set preserveOverprints to the default preset's value, so overprints the
deleted preset dropped came back with Overprint set to Preserve. OK now
keeps the value the options opened with, before Overprint applies to it.
2026-11-18 16:01:48 -08:00
dotCooCoo f4071dd56a Merge main into feat/image-trace-split-view 2026-11-18 15:58:59 -08:00
dotCooCoo 0705716dc9 Live Paint: a color chosen with the Live Paint Bucket is the color it paints with
With a Live Paint group selected and the Live Paint Bucket active,
choosing a fill color (a swatch, the Color Picker, the Fill box) painted
the whole selection, so every face and edge of the group took one color
before the bucket painted anything.

While the bucket is the active tool and no ids, id or item are given:
- paint.setFill, paint.setStroke, paint.none, paint.lastColor,
  paint.lastGradient, paint.editGradient, paint.invert,
  paint.complement, paint.swap and paint.default change only the
  defaults, the colors the bucket paints with, and record no undo step;
- stroke.set, stroke.weightUp, stroke.weightDown and stroke.setAdvanced
  (without a brush) change only the stroke for new art;
- the Fill and Stroke proxies, the Stroke panel and its Profile list
  follow those defaults, as they do with nothing selected;
- New Art Has Basic Appearance off no longer copies the selection's
  appearance into them after a command;
- canceling a Color Picker preview puts the bucket's color back.
2026-11-18 15:56:14 -08:00
dotCooCoo c7d78a2dac File formats: open and place .cmx files
.cmx exchange files with 32-bit coordinates open and place as editable
art. vectorcraft-cdr reads the RIFF form CMX1, its header, the color,
pen, line type, dash, outline and arrowhead tables, and each page's
instructions in drawing order, into the drawing model the .cdr reader
uses, so the importer maps pages, layers, groups and curves with uniform
fills and outlines the same way. A layer that holds nothing is left out.
A page that gives no size of its own takes the size of the drawing's
bounds, which the page header stores, and is centered on them.

Text, images, rectangles, ellipses, clipping paths, fills other than
uniform ones and arrowheads are left out, and lenses are not applied;
the warnings name each kind, with rows in every complete catalog.
Big-endian files and files with 16-bit coordinates are refused with a
message. Layouts and their sources are rows R53 to R63 of
crates/cdr/PROVENANCE.md; tests use synthetic files only.
2026-11-18 15:52:44 -08:00
dotCooCoo e35c3b78aa Fix #5941: the Color Picker leaves room for its scroll bar
While the picker's content scrolls, its field and columns are sized to the
window's width less the scroll bar's column. Before, the content filled the
whole width, so with dialogs that scroll sideways when too wide (#8529), in
an app window 504 to 624 pt wide and 380 pt tall the picker scrolled
sideways as a whole and showed no bar beside its content.

The Export As test now also checks that the wheel scrolled the Format list
before it checks that the list opens again at its first format.
2026-11-18 15:51:09 -08:00
dotCooCoo 6774020599 Merge main into fix/followup-8030 2026-11-18 15:50:03 -08:00
dotCooCoo 263eb8afdd Merge main into fix/followup-8397 2026-11-18 15:49:38 -08:00
dotCooCoo 1acab17e6c Merge main into fix/followup-8288 2026-11-18 15:49:37 -08:00
dotCooCoo d6ec24416c Merge main into perf/control-bar-kind-label-cache 2026-11-18 15:49:37 -08:00
dotCooCoo 5fd20606ca Merge main into feat/image-brush-library 2026-11-18 15:49:28 -08:00
dotCooCoo 39c7b14019 Merge main into fix/followup-8252 2026-11-18 15:49:28 -08:00
dotCooCoo 0755b1013b Merge main into feat/swatches-cmd-drop-spot 2026-11-18 15:49:05 -08:00
yoriswind f787dac15f Merge current main documentation into PR #7652 2026-11-18 15:46:01 -08:00
yoriswind da916087fb Merge current main documentation into PR #6593 2026-11-18 15:45:59 -08:00
dotCooCoo c6b70feb66 Merge main into feat/save-pdf-save-summary 2026-11-18 15:45:40 -08:00
dotCooCoo 5b0dc3535a i18n: drop the duplicate es row for "missing path"
main already carries the same Spanish row, so the catalog listed it twice and
bundled_catalogs_are_consistent failed.
2026-11-18 15:45:33 -08:00
dotCooCoo 82c7655749 Merge main into feat/layers-panel-isolation-list 2026-11-18 15:45:26 -08:00
dotCooCoo 10b2f445b2 Recolor Artwork: an edit right after another color group or Save Changes is a step
Dropping the dialog's steps now keeps the fields as they are then as
where Undo Changes starts again, as a new opening does, so rows set with
ui.dialog.set before the next frame can be undone.
2026-11-18 15:42:07 -08:00
dotCooCoo 95ed13dd80 Color Settings: answer the review of the profile prompts
- An absolute-colorimetric conversion from CMYK starts from the source's
  absolute appearance.
- An assigned profile that was removed counts as the working space when
  copied colors are compared.
- Colors that can't convert are listed with convertible false, start on
  Preserve Numbers, and the dialog disables Convert for them.
- Paste on All Artboards leaves the backgrounds of copied artboards out of
  the question (clipboard.profileMismatch allArtboards).
- A converting paste into its own document keeps its image keys.
- An open answer is refused once Color Settings change the question; the
  dialog asks the new question, or opens by the policy.
- Files opened while a question is open ask their own questions in turn.
- OK on the paste question and on Swatch Conflict checks again where the
  paste runs and asks again when the question changed.
- docs/mcp.md and the command help describe these rules.
2026-11-18 15:42:03 -08:00
dotCooCoo d94d3ef097 Type: the missing-font question takes its answer through tool.setOption
- `tool.setOption {key: "missingFontEdit", value: {token, ok}}` now passes
  the Type tool's option check, so a client can answer the question that
  a click on type in a missing font asks. Before, it failed as an unknown
  option.
- A press on such type that reaches the Type tool while another dialog is
  open (sent with `pointer_gesture`) leaves that dialog open and starts no
  edit, instead of replacing it.
- docs/mcp.md says which double-clicks ask, and that OK starts no edit
  when the document changed after the question opened.
- The doc comment of `GENERIC_FAMILIES` notes that `emoji` is kept
  although CSS Fonts Module Level 4 dropped it.
2026-11-18 15:41:34 -08:00
dotCooCoo b304143435 Docs: list the targets Align uses for selected anchor points
The progress line said selected anchor points align only to each other and
that aligning to a key anchor was missing. Align also moves them to the
artboard, to a key guide and to a key anchor, as the named tests check.
2026-11-18 15:30:46 -08:00
dotCooCoo 81d229444c Preferences: the Hyphenation sentences name the exceptions to their rules
Default Language applies only while [Normal Character Style] sets no language, as new type takes that style's language first. A hyphen typed in an exception is not used inside a character cluster of an Indian language, and Korean words take no hyphen.
2026-11-18 15:24:26 -08:00
dotCooCoo a5df7cc22b Live Paint: Layers drags keep the sources group and rebuild on hidden moves
- Moving a Live Paint group's sources group out of the group is refused,
  so the group no longer loses its paths and keeps stale faces.
- A shown path moved into or out of a hidden group among the same
  group's paths makes the faces and edges again.
- A Live Paint group with no paths dropped into another with none joins
  it and is left with no faces or edges, instead of failing.
2026-11-18 15:22:01 -08:00
dotCooCoo 63bdb29ff0 Merge main into fix/issue-5941 2026-11-18 15:21:06 -08:00
dotCooCoo 1a7f960489 Part of #8432: a Copy or Cut left to the labels keeps its selection
- A Copy or Cut that runs a pass later because no label copied the text
  acts on the selection it was given. A selection made after it in the
  same frame (a Select All) is restored afterwards, without the objects
  a Cut removed and with the pieces it left of a path it split. With
  another document active by then, it does not run.
- The art text that such a Copy or Cut copies at the start of a pass is
  no longer taken for a label's copy, so a Cut pressed in the next frame
  is not dropped.
2026-11-18 15:19:22 -08:00