Commit Graph
8855 Commits
Author SHA1 Message Date
yoriswind 788159eee2 Merge upstream main to resolve PR #6593 documentation conflicts 2026-11-18 02:38:27 -08:00
HassanKhan f23eb05224 PDF import: keep stroke boundaries in the fallback and long passes (#8543)
Answers the third CodeRabbit review on #8549.

- stroke_last no longer restyles the glyph drawn last once a boundary
  (end_fills) closed it: a stroke after an ActualText span no longer
  strokes its replacement text. A glyph stroked again where it was just
  drawn still stays one object.
- Past MAX_HELD, the held strokes go over the last run of consecutive
  fills they match with room for all of them, not the first, so a long
  stroke pass no longer takes the same glyphs an earlier operator
  filled at the same place.
- Docs: the limit is 64 kept-back lines plus the open one, so a TJ over
  up to 65 lines stays filled and stroked.
2026-11-18 15:27:08 +05:00
HassanKhan c6a419a097 Lock Guides: a marquee skips guides in groups, a group's transform leaves them
While guides were locked, a guide path inside a group was still touched by
a selection marquee, so the marquee selected the group and moving the
group moved the guide (#8538). Clicks already skip guides (#3074).

- hit: marquee_in_view and enclosure_candidates take skip_guides; the
  Selection, Direct Selection, Group Selection and Enclosing Lasso tools
  pass !cx.guides, and the marquee then touches no guide path at any depth.
- doc: Scaling::keep_guides leaves the guide paths among a group's,
  layer's or Intertwine group's children in place, as a ruler guide in a
  transformed layer already stays.
- engine: transforms (apply_transform), Transform Each and Align and
  Distribute set it while Lock Guides is on; a copy takes a copy of the
  guide with the copied art and leaves the original.

Fixes #8538
2026-11-18 15:24:42 +05:00
HassanKhan 901eb67b4b Canvas: edge scrolling waits for the pointer to move and keeps its own remainder
Review follow-up for #8551:
- Edge scrolling starts once the pointer has moved 3 points from the press
  on screen. A wheel scroll under a still press near the edge changed the
  pointer's document position, which counted as a drag and started it.
- The scroll keeps its own drag-scoped sub-pixel remainder instead of the
  wheel's, and an axis that does not scroll keeps its remainder as is:
  rounding a half pixel there each frame moved the view back and forth.
- In a corner the scroll is no faster than along one edge.
- The rectangle test checks the preview against the pointer on every held
  frame, not only the committed shape.
2026-11-18 15:21:30 +05:00
dotCooCoo 9ac1201257 Merge main into fix/i18n-psd-import-options-and-slices 2026-11-18 02:05:35 -08:00
dotCooCoo b388f14393 Merge main into feat/save-pdf-bleed-link 2026-11-18 02:04:11 -08:00
dotCooCoo f1189ca4e2 Brushes: check both pressure samples and count eleven brush libraries
The Pressure Sensitive test now requires finite anchors and a positive,
finite width at both light and heavy pressure before it compares them.
The current brush-library inventories in docs/target-app-parity.md,
docs/gaps.md, docs/roadmap.md and docs/ui-parity.md list Pressure
Sensitive and count eleven built-in libraries.
2026-11-18 02:03:18 -08:00
dotCooCoo 4af0bfb0b4 Merge main into feat/indonesian-translates-every-status-and-error 2026-11-18 02:03:08 -08:00
dotCooCoo 6a4b08f660 Merge main into fix/issue-7849 2026-11-18 01:57:42 -08:00
dotCooCoo bc90e5e8c6 Merge main into feat/find-replace-dialog 2026-11-18 01:57:13 -08:00
dotCooCoo 105ba854c1 Merge main into feat/hold-shortcuts 2026-11-18 01:56:46 -08:00
ruchirguitar c1613f2bf5 M7/G4: retype checks points along every edge; keys charged once (#4934)
The whole-outline check tests points along every edge, so outlines with
the same corners joined another way do not match; past a work limit it
rejects. Face keys another Retype kept meanwhile are reused and charged
once. The fonts parameter test uses outlines that would match. The parity
note states the search limits.
2026-11-18 15:25:41 +05:30
dotCooCoo 4074065b2d Docs: restore the Japanese catalog line 2026-11-18 01:55:39 -08:00
dotCooCoo d597c950f0 Links: Unembed keeps the clip group of a PSD file's clipping path
An image placed from a PSD or PSB file that names a clipping path comes
in a clip group of that path, and its image is kept as a PNG (or, for a
CMYK file, a TIFF) that holds the path. Unembed writes that file as
stored, but the file was read back without the path, so Unembed turned
the clip group into a plain group, and File > Open, File > Place,
Relink and Update Links of the written file gave an unclipped image.

The shared loader now reads the path a PNG or TIFF keeps, so these
commands keep the clip group, for Unembed with a path and with a folder.
2026-11-18 01:53:46 -08:00
dotCooCoo 1d974067ce Fix #8537: Dimension tool points land on preview bounds corners
With Use Preview Bounds on, W and H measure a stroked path from the
outside of its stroke, while the Dimension tool's Linear points only
snapped to the path's anchors, on the stroke's centerline. A dimension
between the corners of a 12 x 6 mm rectangle with a 0.4 mm stroke then
read 11.6 x 5.6 mm.

- With Use Preview Bounds on, a Linear click within 8 pixels of a corner
  of the preview bounds of a path or compound path (strokes and effects
  included) lands on that corner instead of on that object's anchors,
  whatever the snapping options. An anchor of other art nearer the
  pointer than the corner takes the point, and a corner that is also an
  anchor takes the anchor.
- The point is held against the anchors of the path whose bounds reach
  that corner, also when the corner lies far from the path or on another
  path's segment. It moves with the path; a later change to the stroke
  weight does not move it.
- A press on such a corner picks it when the pointer moves a few pixels
  before the release, as on an anchor.
- Hovering by such a corner shows the anchor ring. The ring now also
  shows when the pointer is exactly on the point a pick lands on, which
  it did not for the end of a dimension's line.

Docs: docs/dimensions.md, docs/target-app-parity.md.
2026-11-18 01:51:42 -08:00
dotCooCoo 22a10a61f8 Path Precision Tools: tool.setOption checks the Tangent Circle Tool's radius
tool.setOption checks every option with the tool's check_option before
it sets any (#7366). The Tangent Circle Tool now accepts `radius` from
0.01 to 1000000 pt and gives an error for a value outside that range,
one that is not a number, or any other option. Without the check the
tool's options dialog could not set the radius.

Part of #7178.
2026-11-18 01:50:32 -08:00
dotCooCoo efc36481b1 Find and Replace: Find with other Find text starts at the first match
With no place to go on from, the dialog left out edit.findNext's from, so the search went on after the selected type object and passed over its matches: after Find selected a type object, changing the Find text skipped the matches in it. edit.findNext now starts at the first match for a null from, and the dialog sends one.
2026-11-18 01:46:57 -08:00
HassanKhan 8796b773ec PDF import: a stroke pass matches only glyphs filled since its last boundary (#8543)
Answers the second CodeRabbit review on #8549.

- A stroke that goes over no filled glyph (stroked type of its own) and
  the start and end of an ActualText span now end the stroke pass
  (Builder::end_fills): the held strokes are matched, the parked lines
  finished and the open line's fills closed, so a later stroke can't go
  over an earlier fill and a later span keeps its own replacement text.
- ActualText fills are ordinary entries in the line's fill list, and
  span strokes are held and matched in replay order like any other, so
  an A/B/A TJ in a span strokes the replacement. The actual_fills map,
  stroke_parked and has_actual_fill are gone.
- Past MAX_HELD, the held strokes are matched to the first run of
  glyphs filled one right after another that they go over
  (Builder::replayed), with bounded work, instead of each to its first
  match, which could reach an earlier operator's fill.
- Docs state that past 64 lines in one operator each part stays a
  filled object and a stroked one.
2026-11-18 14:46:42 +05:00
dotCooCoo e26598d11c Merge main into feat/bleed-coverage-warning 2026-11-18 01:43:11 -08:00
dotCooCoo 2123b284f0 Merge main into feat/proof-setup-save-load 2026-11-18 01:42:49 -08:00
dotCooCoo 98e38b4bdd Merge main into feat/proof-setup-customize 2026-11-18 01:42:37 -08:00
dotCooCoo 38d780670b Merge main into feat/control-bar-link-label-opens-links 2026-11-18 01:42:18 -08:00
dotCooCoo ca5f8ae115 Merge main into fix/i18n-drop-old-control-characters-rows 2026-11-18 01:42:17 -08:00
dotCooCoo e2f68da7fb Docs: Slices line names Type among the categories with sentences
The Slices line in the progress list now names Type with the other
categories that have sentences, and the UI chrome row cites #8360.
2026-11-18 01:40:42 -08:00
dotCooCoo cf3e47d513 Align: Align to Key Object names the Artboard tool when that blocks it
- With the Artboard tool chosen, align.toKeyObject fails with "Align to
  Key Object isn't available with the Artboard tool" instead of "no key
  object": the selected objects can still have a key in that state. The
  message has a row in every catalog that has "no key object".
- Align to Key Object is off in Object › Align and the Align panel when
  the topmost selected object is inside another selected object, the
  case where choosing it already failed.
- The align.toSelection params text says the selected objects keep
  their key with the Artboard tool chosen; ui_catalog.rs regenerated.
- A test pins Align to Key Object with a key anchor: checked, the menu
  name kept, and the key anchor kept.
2026-11-18 01:40:34 -08:00
dotCooCoo 18a7f7b84b Dimension tool: a dimension of the same points lines up too
The level a new dimension line lands on now comes from the dimension
lines in the document before the dimension's first preview, so its own
preview is never a level. A dimension drawn earlier between the same two
points now acts as a level as well; before, every dimension of those
points was skipped.

- Of two lines on one level, a line the pointer lies across wins over a
  line whose end is nearer the pointer.
- A dropped press while placing removes the level guide with the
  preview.
- The reach uses the Smart Guides snapping tolerance helper.
- docs/dimensions.md says the rule applies to a dimension anywhere in
  the document.
- The tests are split by behavior, with new tests for the same points,
  pointer moves in small steps, the guide after a dropped press and
  with Alignment Guides off, and the tie-break.
2026-11-18 01:40:21 -08:00
dotCooCoo 405490a52a Pen: the rubber band after a smooth anchor is the curve a click adds
The preview segment from an anchor with an outgoing handle was drawn as a
quadratic curve through that handle, while a click appends a corner
anchor, which makes the cubic curve that leaves along the handle and
arrives without one. The segment changed shape when the anchor went
down. The rubber band now draws that cubic curve.

Part of #8296.
2026-11-18 01:39:59 -08:00
dotCooCoo 348f098b5f Docs: keep the list of categories that have sentences, with Slices added 2026-11-18 01:34:11 -08:00
dotCooCoo b7af9a7e6b Merge main into feat/tangent-circle-tool 2026-11-18 01:32:50 -08:00
dotCooCoo b55dcdfbda Merge main into feat/save-for-web-shift-color 2026-11-18 01:32:40 -08:00
dotCooCoo edeb24b113 Recolor Artwork: OK keeps a color group's gradient and pattern swatches
recolor.apply with `group` rewrote the group by place: the new colors went
to its swatches in order, so a gradient, pattern or None swatch in the group
took a color or was removed, at OK and in the live preview.

The group's colors, from the rows or from `groupColors`, now go to its color
swatches in order, and every other swatch keeps its place and its paint.
`groupColors` counts the color swatches only, as the dialog already does
when it lists a group's colors. swatch.editGroup is unchanged.
2026-11-18 01:30:36 -08:00
dotCooCoo 7d3f7d1fa1 MCP: transform refuses a mistyped reflect, copy or origin before any step
`transform` read `reflect` with `as_str`, `copy` with `as_bool` and
passed `origin` through unchecked. A `reflect` of `42` or `true`
skipped the reflect step and reported success for the steps before it,
a `copy` of `"yes"` transformed the original instead of a copy, and an
`origin` that was not two numbers fell back to the selection centre.

The handler now checks all three before it selects `ids` or runs a
step, and returns an error that names the argument. A null value of
any of the three is left out. The tool description and the
`transform` row in docs/mcp.md say so.

Fixes #6448
2026-11-18 01:27:19 -08:00
dotCooCoo c4f19c9207 Merge main into fix/psd-knockout-layers-merge 2026-11-18 01:26:25 -08:00
dotCooCoo d5068b90e7 Merge main into feat/image-brush-library 2026-11-18 01:26:15 -08:00
dotCooCoo 0cfb51164b Merge main into fix/native-panel-command-geometry 2026-11-18 01:25:53 -08:00
bflatastic ca187dfcbf Merge main into #8424 2026-11-18 16:25:39 +07:00
dotCooCoo cd5d611196 Merge main into feat/toast-messages 2026-11-18 01:21:20 -08:00
dotCooCoo c1cb3eabfe Merge main into feat/pressure-sensitive-brush-library 2026-11-18 01:21:18 -08:00
dotCooCoo 49177e618a Merge main into fix/transform-panel-shear-range 2026-11-18 01:16:41 -08:00
dotCooCoo 19b5ca1869 Merge main into feat/3d-classic-map-art 2026-11-18 01:15:52 -08:00
dotCooCoo 61ee9842ee Merge main into feat/prefs-descriptions-hyphenation 2026-11-18 01:10:51 -08:00
dotCooCoo 52976c07a0 Merge main into feat/control-bar-shape-widgets 2026-11-18 01:10:45 -08:00
dotCooCoo 495e968729 Docs: Clear Actions keeps sets only when sets were added, removed or reordered
The question names the sets by id and order, so a set whose actions
changed after the question opened is still deleted.
2026-11-18 01:06:21 -08:00
dotCooCoo d9ba46255f Merge main into feat/prefs-descriptions-slices 2026-11-18 01:06:21 -08:00
dotCooCoo 1582f52c19 Command Palette: docs place typo matches above description-only matches
The Command Palette entry said a result matched through a typo comes
after every result the query matches without one. A result the query
matches only through its description ranks below a typo match, as
a_description_match_ranks_below_a_typo checks. The sentence now limits
the comparison to name, menu path and id matches and states that typo
matches come before description-only matches.
2026-11-18 01:06:18 -08:00
dotCooCoo bbf5c8c6f5 Merge main into perf/control-bar-kind-label-cache 2026-11-18 01:05:57 -08:00
dotCooCoo 3d4439c418 Merge main into feat/paper-cutouts-style-library 2026-11-18 01:05:51 -08:00
dotCooCoo 231cce70ad Merge main into feat/arrows-brush-library 2026-11-18 01:05:40 -08:00
dotCooCoo 2762100e5b Merge main into feat/color-wheel-harmony 2026-11-18 01:03:42 -08:00
dotCooCoo 46b3e9eac0 Merge main into feat/kinsoku-sets 2026-11-18 01:03:23 -08:00