Commit Graph
19258 Commits
Author SHA1 Message Date
BFlat 1233b23b19 Merge pull request #8636 from storytold/revert/8627
Revert #8627 (palette_io through craft-cms) and its two test fixes: messages leave the catalogs
2026-11-19 08:22:38 +07:00
dotCooCoo 4d862ba705 Merge main into feat/symbolism-shift-gestures 2026-11-18 17:22:36 -08:00
dotCooCoo 0a8c2468ba Fix #8584: the document tab that doesn't fit whole fills the rest of the strip
When the open documents' tabs don't all fit, the strip stopped at the
last tab that fit whole and left the room before the » button empty,
even where it could hold most of the next tab. That tab now fills the
room with its title shortened and ending in "…", as long as at least
40 pt of the title fits, and its tooltip shows the whole title, wrapped
to fit inside the window. An active tab wider than the whole strip is
shortened the same way, so its × no longer runs under the » button.
2026-11-18 17:22:14 -08:00
dotCooCoo 5fea60eb08 Merge main into feat/swatches-add-selected-colors 2026-11-18 17:22:09 -08:00
dotCooCoo bed8685d53 Merge main into feat/tool-cards 2026-11-18 17:22:09 -08:00
dotCooCoo 2b56129505 Merge main into feat/prefs-descriptions-clipboard 2026-11-18 17:21:39 -08:00
bflatastic bd23b310ef Revert "color: cut over palette_io GPL/ASE/ACB to craft-cms (#8627)"
This reverts commit 0087be0452.
2026-11-19 08:21:30 +07:00
bflatastic ed0fde6593 Revert "color: the palette tests define the swatch exchange constants craft-cms keeps private"
This reverts commit 4e63316d9a.
2026-11-19 08:21:29 +07:00
bflatastic 6d8674bde8 Revert "Merge pull request #8635 from storytold/fix/ase-cap"
This reverts commit fc2a525ee1, reversing
changes made to bab45a99f3.
2026-11-19 08:21:29 +07:00
dotCooCoo 0fb9486bdf Merge main into feat/vector-packs-library 2026-11-18 17:20:43 -08:00
dotCooCoo 8e030213fd Merge main into feat/circle-tool-options 2026-11-18 17:20:43 -08:00
dotCooCoo b5333e6af1 Merge main into feat/indonesian-translates-every-status-and-error 2026-11-18 17:20:43 -08:00
dotCooCoo e506b7ed74 Color Settings: a scope narrowed several times keeps every script gate
Narrowing a scope that already carried two composed gates replaced the earlier gate's chain with the new gate, so a path only that earlier gate refused could be read. The new gate is now added at the end of the chain.
2026-11-18 17:20:18 -08:00
dotCooCoo 8fb97f6ef3 Merge main into feat/prefs-descriptions-devices 2026-11-18 17:20:13 -08:00
dotCooCoo 8642b3e2b0 Merge main into feat/recolor-dialog-undo-redo 2026-11-18 17:20:11 -08:00
dotCooCoo dc26a6acd7 Merge main into feat/reflect-tool-two-click-axis 2026-11-18 17:20:11 -08:00
dotCooCoo e828270ab7 Docs: a locked artboard does not hide the polygon side widget in pattern editing or for new art
Document::is_editable leaves out the art of pattern editing mode and new art while it stays selected, so the widget shows for them on a locked artboard.
2026-11-18 17:19:25 -08:00
dotCooCoo d8d9cc4717 Docs: note that the pixel grid snap can move the key anchor after Align 2026-11-18 17:17:46 -08:00
dotCooCoo e2e5307106 Retype: the docs say the panel lists fonts matching any selected shape
The Retype panel lists every font whose glyphs exactly match at least one
selected outlined shape, ranked by how many shapes each matches. The rows
in docs/type-parity.md and docs/ui-parity.md now say so.
2026-11-18 17:17:08 -08:00
ruchirguitar 175c180a62 Merge origin/main into feat/layers-guide-context-menu 2026-11-19 06:46:44 +05:30
dotCooCoo 2eeb582f35 Merge main into feat/proof-setup-save-load 2026-11-18 17:16:14 -08:00
dotCooCoo f5b2dfa8b4 Merge main into feat/curvature-circle 2026-11-18 17:15:45 -08:00
dotCooCoo 7b45c4d58b i18n: Georgian plug-in folder and instruction budget sentences fit in three lines 2026-11-18 17:14:44 -08:00
dotCooCoo 621c06bd26 Free Transform: distorted images keep their corners and placement through files, exports and refusals
- A file's corners are kept only when there are exactly four that the
  image can take; a longer list is skipped without decoding it. Corners
  the affine map misses stay a distortion, and a scale past the
  perspective limit leaves the image at its nearest affine placement.
- Distort checks the corners in a frame local to the quad, so a missed
  corner far from the origin is still refused.
- Relink and Unembed refuse a named or selected distorted image before
  searching a folder or writing a file. Create Gradient Mesh lists the
  distorted images it leaves in `skipped`. Place with Replace refuses
  only when the measured image is distorted and the file is not text.
- SVG cuts a distorted image in a scaled symbol instance at the placed
  size. EMF pieces store only the pixels inside their clip. PDF mesh
  pieces of a CMYK image keep a same-corner mask as its soft mask, color
  mask included. Both `.ai` writers write an image at the nesting limit
  at its nearest placement with a warning. DXF warns only when it writes
  the image.
- The canvas cuts the mesh by the view's largest stretch. Warped images
  with a singular placement keep finite corners.
- docs/mcp.md and docs/plugins.md describe the tolerances, the DXF and
  WMF fallback, the partial result of Create Gradient Mesh, and when a
  plug-in sees `corners`.
2026-11-18 17:13:56 -08:00
dotCooCoo 1350134d3f Path Precision Tools: test switching the Tangents choice with Preview on
The point-and-ellipse test now also switches the choice in place while the
preview shows, checking that the same two lines stay on the canvas and that
Cancel restores the document. After each undo it compares the whole document
with its starting state.
2026-11-18 17:11:56 -08:00
dotCooCoo 5e62518a09 Swatches: a drop lands where the button came up, with the keys held then
A drop on the Swatches panel is decided by the position and modifiers of
the primary button's release, so moving on to another swatch or letting
go of Alt later in the same frame no longer changes which swatch takes
the drop or whether it replaces one. Hover feedback still follows the
pointer and the keys held now.

Replace Pattern Art also refuses type whose inline graphic shows a
symbol painted with the pattern, which would make a tile that refers to
itself.
2026-11-18 17:07:36 -08:00
dotCooCoo 6561c30c8f Layers: isolation mode keeps menus, drops and Show Layers Only to the isolated art
- With Show Layers Only on, an isolated group or object is listed as the
  top row instead of leaving the panel empty.
- Duplicate Selection in the panel menu sends the rows the panel lists,
  so a highlighted row outside the isolated art is not copied.
- In isolation mode the Hide, Outline and Lock Others pairs in the panel
  menu and the row menu are off, and Alt-clicks on an eye or a lock
  change nothing. Locate Layer is off while a group or object is
  isolated.
- OK in Delete Selection's question deletes nothing when isolation mode
  started while it asked and a row it asked about is outside the
  isolated art.
- The isolated row shows no drop place for an Alt-drag onto itself, and
  a guide is not dropped on a layer outside the isolated art.
- Each document's isolation mode is followed on its own, so a document
  first shown in isolation mode opens its isolated row.
- The isolation test steps out of a sublayer one level at a time, as
  Exit Isolation Mode now does.
2026-11-18 17:07:30 -08:00
dotCooCoo 1f26501f91 Pen: no rubber band where a click adds no segment, and the label measures the band
A click on the last anchor retracts its handle, an Alt click over the path
goes to the Anchor Point tool, and a join with an end that lies on the last
anchor merges the two ends. None of these adds a segment, so no rubber band
shows there. The measurement label measures to the anchor the band ends on
instead of the snapped pointer. A press and a hover no longer search for an
end at the snapped point when snapping left the pointer where it was.
2026-11-18 17:05:57 -08:00
dotCooCoo 322e02954f Proof Setup: another dialog in its place undoes its preview
When another dialog replaces a previewing Proof Setup dialog, the proof
view the dialog found comes back. Opening Proof Setup again starts from
that view, and a Proof Setup dialog that comes back from under another
dialog previews its settings again. A proof setup that a command sets
after the preview starts stays when the preview is undone, whether by
another dialog, Preview off or Cancel, and so does Overprint Preview.
2026-11-18 17:04:50 -08:00
dotCooCoo 32e7344cb9 Merge main into feat/arc-by-points 2026-11-18 17:04:49 -08:00
dotCooCoo 779cbae110 Links: the label resets the list the panel reads and decides the filter from the drawn rows
- show_selected_image resets the Arc<Cache> entry that cached() reads, so
  the next draw reads the list again. It wrote a plain Cache under the
  same key before, which cached() never saw.
- The Show filter goes back to Show All when the rows the panel draws
  leave out the selected image, instead of from a separate query made
  when the label was clicked.
- reveal_panel brings a panel to the front of its open flyout when
  another tab of the group is in front.
- The Control bar test docks Links beside Layers and checks where it
  opens, so both passes reach a docked panel.
2026-11-18 17:02:31 -08:00
dotCooCoo 85d1dfc94b Preferences: Default Language and Graphics Processor descriptions match the behavior
Default Language now says it applies only while [Normal Character Style] sets no language. Graphics Processor now says the canvas is shown through the chosen processor while the artwork is drawn on the CPU, and that Automatic prefers the integrated one on Windows and macOS. The rows in all 28 catalogs follow.
2026-11-18 17:02:26 -08:00
BFlat fc2a525ee1 Merge pull request #8635 from storytold/fix/ase-cap
color: an .ase library over the cap gets VectorCraft's own, translated message again
2026-11-19 08:00:13 +07:00
bflatastic 891dd6310d color: an .ase library over the cap gets VectorCraft's own, translated message again
#8627 left the check to craft-cms, whose wording isn't in the catalogs, and
main's test of the message failed.
2026-11-19 07:59:02 +07:00
dotCooCoo ec6068e62e i18n: the Georgian Hyphenation Exceptions sentence fits in three lines
The Georgian row for the Hyphenation Exceptions description wrapped to a fourth line, which failed every_description_names_a_setting_and_fits_in_every_language. The row now opens with a shorter phrase for "in paragraphs with Hyphenate on".
2026-11-18 16:58:55 -08:00
dotCooCoo 59752f7ebf Swatches: Color Group Options renames only the group it opened on
OK closes the dialog and renames nothing when another document has
become the active one, or when the color group at the group's place in
the list no longer has the name and swatches the dialog opened with.

swatch.renameGroup makes a drag still in progress an undo step of its
own first, so canceling or undoing the drag leaves the rename.

ui.colorGroupOptions without group opens on the color group selected
alone in the Swatches panel, as long as the panel's selection still
belongs to the active document and art.

The panel's selection follows renames in a command.batch only up to the
first step that may switch documents or replace a group. Ungroup Color
Group and Delete Swatch take the names they removed out of the
selection.

The es catalog had the missing `group` and no colour group `{group}`
rows twice after the last merge of main; the duplicates are removed.
2026-11-18 16:58:21 -08:00
dotCooCoo 36f5e777d9 Brushes: library test clicks Decorative after Pressure Sensitive
The Decorative click ran frames up to 3.5 s, and the Pressure
Sensitive click that followed started again at 3.0 s, so egui
panicked with "Time shouldn't move backwards". The Decorative case
now runs last, at 4.0 s.
2026-11-18 16:55:51 -08:00
dotCooCoo b92cdba3e0 Repeat: switching tools during a mirror axis or repeat handle drag puts it back
Switching away from the Selection tool while dragging a mirror axis or a
grid or radial repeat's handles left the drag's preview open under the
next tool. The Selection tool now cancels these drags on a tool switch,
as Escape already did, so the repeat goes back to its options from
before the press. A press that has not changed anything leaves no undo
step.

The deactivate doc comment now lists these drags and the Image Trace
divider.
2026-11-18 16:54:56 -08:00
dotCooCoo 82edccca6f Save PDF: OK on Custom… keeps the overprint option it opened with over a preset saved again
When the saved flattener preset was deleted and saved again under the
same name with another Preserve Overprints value while Custom… was open,
OK took the new preset's value instead of the one the dialog showed.
OK now keeps the value the options opened with, and reads the preset
only when that value is missing.
2026-11-18 16:48:42 -08:00
dotCooCoo a396be39be Merge main into fix/linked-handle-repeat-no-undo 2026-11-18 16:47:55 -08:00
dotCooCoo 3d5a6c3c01 Three-Point Arc: ] while hovering moves the shown third point to the new mode
With both ends placed and Shift held, switching modes with `]` left the
point the tool showed where the old mode put it until the pointer moved,
while a click there drew the arc of the new mode.
2026-11-18 16:47:52 -08:00
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 76705afc2f Dimension: leave a null arrowHead out of saved options
Saved and recorded dimension options carried "arrowHead": null even
without a stroke head, so a recorded dimension.create failed in versions
that do not know the option. The field is now left out when it is null.
dimension.create, dimension.update and Dimension Tool Options still take
it. The name is read without a copy of its own, and a name longer than
any built-in one is refused before it is parsed. Through ui.dialog.set,
an arrowStyle set in Dimension Tool Options clears arrowHead, and a
built-in arrowHead sets the arrowStyle of its Arrow Style entry, as that
menu does. The Arrow Style field reads only a built-in head's name from
a draft.

The Stroke panel and Arrow Style look up a built-in arrowhead's name in
the catalog's arrowhead rows first, then its plain row. Every complete
catalog gets an arrowhead row for Feather, so the Feather arrowhead is
named as an arrowhead in each, and the de, gu, it, ja, ko, uk, vi,
zh-hans and zh-hant catalogs no longer show it in English.

Versions that have the stroke arrowhead but do not read arrowHead keep a
dimension's saved arrows until they draw the dimension again, and then
draw arrowStyle; versions without the stroke arrowhead do not open the
file. The params text, the doc comments, docs/dimensions.md, docs/mcp.md
and docs/target-app-parity.md say so.

The French Line Arrow row moves next to the other rows of its block.
2026-11-18 16:46:10 -08:00
dotCooCoo 6f3f373cd5 Preferences: the Performance hover test covers Low-Latency Drawing
On the desktop, the test now also hovers the Low-Latency Drawing row and checks that it shows its own sentence and no other row's.
2026-11-18 16:43:12 -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 30ead6b0ca Tests: "vectorize" checks label words for trace and a place in the first five
The check for the results above the image trace commands matched any label
containing the letters "trac", so labels such as Highlight Tracking or
Subtract passed it. It now splits the label into words with the search's own
word rules and accepts a word that is "trace" or stems to it (Tracing, Traced,
Traces). The first image trace command must also be in the first five results.
2026-11-18 16:41:08 -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