Commit Graph
23605 Commits
Author SHA1 Message Date
dotCooCoo c019f87fcc Shape Builder: name sliver drops in the over-cap region note
(cherry picked from commit bb80cc827c)
2026-12-01 08:56:39 +01:00
dotCooCoo 313073b41c Shape Builder: say the filled areas keep their own cap past the map's
When the sweep cuts the paths into more than SHAPE_BUILDER_MAX_MAP_EDGES
pieces, the Shape Builder falls back to the regions of the filled areas,
which are capped separately. The docs said it then finds no regions.

(cherry picked from commit 1b59873456)
2026-12-01 08:56:38 +01:00
dotCooCoo 96eec0d25c Shape Builder: stop building regions of paths that cross too often
Paths that cross each other many times are cut by the sweep into far
more pieces than they have segments, and building the regions and edges
of those pieces took minutes and gigabytes of memory. 400 circles
stacked nearly on top of each other (1,600 segments) were cut into
about 320,000 pieces, and their map took 60 s and 4.2 GB, enough to
make the whole computer unresponsive.

The Shape Builder now stops after the sweep when it cuts the paths into
more than SHAPE_BUILDER_MAX_MAP_EDGES pieces (twice
SHAPE_BUILDER_MAX_SEGMENTS, what open paths that cross nothing make at
that cap) and finds no regions. The filled-area regions it falls back
to are capped the same way.

(cherry picked from commit 7a46d5ec56)
2026-12-01 08:56:36 +01:00
dotCooCoo 45de39a138 Render: a thin stroke takes the corners of its own subpath
A corner in one subpath gave the stroke's join to the lines of a curve
in another subpath that met at the same point, so a miter could be
drawn there instead of a round join. The corners are now kept per
subpath and each subpath of the outline reads only its own.

Test: a curve's outline is the same with and without a second subpath
that has a corner at the curve's start.

(cherry picked from commit f1ef1a4e39)
2026-12-01 08:56:09 +01:00
dotCooCoo 57eb47befe Render: thin strokes keep smooth curves round where their lines turn sharply
Since #9972 a thin stroke along a curve is drawn as lines, and where two
of those lines met at a sharp angle the stroke's own join was drawn
there. Along smooth anchors that sit close together after a bend, or a
curve that bends tightly, the lines turn sharply, so a miter join drew a
spike past the stroke and the smooth curve showed sharp corners on the
canvas. The document's anchors are unchanged; only the drawing was
wrong.

The stroke's join is now drawn only at the path's own corners, where
two segments meet with tangents that are not in line. Where the lines a
curve is drawn with turn sharply they meet with a round join, as the
stroke along the curve itself is round there.

Tests: a bend followed by smooth anchors 0.1 and 1 apart keeps every
outline point within the stroke's width of the curve and covers it;
with long handles the outline matches the curve's own outline away
from its edge; 200 random cubics with a miter join keep their outline
within the stroke's width of the curve.

(cherry picked from commit 69ff74a63b)
2026-12-01 08:56:07 +01:00
dotCooCoo fb3f5c2a40 Selection: a path selected whole shows its anchors without direction handles
With the Selection tool, a selected path drew the direction handles of
every anchor, so it looked as if Direct Selection were active. The canvas
marks now draw the handles only where a tool drags them: a partial
selection's anchors, a selected segment, and a path selected itself under
a tool that edits anchors. Every other selected path, including the
members of a group or compound path selected whole, shows its anchors
selected with no handles. A lone anchor selected whole is drawn with its
handles retracted.

(cherry picked from commit 1e4e7cfbfe)
2026-12-01 08:55:57 +01:00
Codex ed8caad2b5 Prepare VectorCraft 0.25.2 2026-12-01 08:53:43 +01:00
Codex 711d5112dc End the held Hand when its document canvas disappears
Related to #10346 and #10394.
2026-12-01 08:52:17 +01:00
Codex 8c2dc84553 Pin candidate fixes for panel visibility and acute outline joins
Includes the workspace visibility regression from VectorCraft #10389, shared craft-libs #4616 and egui #77.
2026-12-01 08:46:34 +01:00
jmverges 6948c9a3ef .ai import and save: a text variable keeps an envelope of type live
An envelope of type whose type a text variable binds kept its drawn
art, its type hidden. The variable library names the hidden text object
a slot became, and a live envelope's type takes its place with an id of
its own, so the binding would have been dropped. Now such an envelope
opens live like the others, and a binding to the hidden text object
goes to the type in the envelope's contents. Where the drawn art is put
back (the page holds the envelope against the layers), the binding
stays on the hidden text object put back with it. A data set already
rewrites type in an envelope's contents, and the live envelope draws
from its contents, so the envelope bends the new text.

The editing copy of a .ai save left out bindings of type in an
envelope's contents with a warning; it now writes them for text
variables, so the type reads back bound. A visibility variable on the
type still keeps the drawn art: in a live envelope it would show and
hide only the type, not the envelope.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 4026cdb928)
2026-12-01 08:45:52 +01:00
jmverges 4ad3cf1a0e .ai import: a text variable bound to its story binds the type
The variable library can name a text object by its story's XML id
(AI11_StoryUID in the text object's /StoryDictionary) rather than the
object's own AI10_ArtUID. The reader only remembered AI10_ArtUID, so
such a binding found no object: the type came in unbound and the import
noted the bindings as skipped. The story's id now names the slot of the
story's first frame, the same way the object's id names the object;
for a story also written on %_ lines, the plain copy's slot, which is
the one the reader keeps.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 923f6bd7ee)
2026-12-01 08:45:44 +01:00
yoriswind f177dc6dc4 Cover oversized PDF editing attachments end to end
(cherry picked from commit b76ac867f7)
2026-12-01 08:45:39 +01:00
yoriswind 119f8894a7 PDF export: keep large editing attachments readable
(cherry picked from commit 1dbfb84d06)
2026-12-01 08:45:38 +01:00
yoriswind 9c865fe2ea PDF export: keep joins between opaque mesh patches smooth
(cherry picked from commit 82f948fdc2)
2026-12-01 08:45:35 +01:00
dotCooCoo b02b7243cd Fix #10262: Document Info scrolls in a short dock group
Document Info was left out of the panel forms that scroll inside their dock group, so in a short group its lower rows could not be reached. It now scrolls like the other forms.

A test draws every panel in 120 pt and 60 pt groups and scrolls each one until its lowest control is in view.

(cherry picked from commit d7686cd9f4)
2026-12-01 08:45:33 +01:00
yoriswind e5a65cf8e5 Cursors: keep the pen nib details visible
(cherry picked from commit aaf9d08902)
2026-12-01 08:45:30 +01:00
YorisWind 17f6c257b8 Dock panels inside the window on native Wayland
(cherry picked from commit f78b4a61e7)
2026-12-01 08:44:01 +01:00
yoriswind 102b950eb1 Apply completed jobs while showing progress
(cherry picked from commit 250ba3e76a)
2026-12-01 08:43:58 +01:00
YorisWind 656c0a3f62 Keep the file progress window visible between frames
(cherry picked from commit 0e2ee79784)
2026-12-01 08:43:10 +01:00
Codex 89be1ce0f3 List printer queues without waiting for offline Windows drivers v0.25.1 2026-11-30 18:16:26 +01:00
Codex 048c3b56a0 Keep artwork visible behind live effect controls 2026-11-30 18:15:06 +01:00
Codex 11d0f1f3fe Use document units for print media and placement fields 2026-11-30 18:04:34 +01:00
Codex 21c18dd43f Check the monochrome tool glyph foreground at each cursor hotspot 2026-11-30 17:30:21 +01:00
Codex 4d643e215c Use dual-tone design-size cursors for VectorCraft tools 2026-11-30 16:42:13 +01:00
Codex 4b8db3e480 Measure the Done button against the compact panel's actual bounds 2026-11-30 16:42:12 +01:00
Codex 2b1a048c13 Keep the Pen nib and new-path star legible in the cursor mask 2026-11-30 16:41:43 +01:00
Codex 7466346a4a Collect macOS menu key equivalents before consuming native key-up 2026-11-30 16:41:43 +01:00
Codex 6afceea4f1 Deliver Option as a modifier-change event in Zoom regression 2026-11-30 16:41:43 +01:00
Codex 50ffccb02b Route selected Zoom to canvas navigation and keep freehand edges stationary 2026-11-30 16:33:36 +01:00
Codex c6064c0658 Restore square swatches and sharp floating palettes in VectorCraft 2026-11-30 16:08:44 +01:00
Codex 4afd9fd11a Use neutral drawing cursors over VectorCraft artwork
(cherry picked from commit 0c0804d3c7)
2026-11-30 16:08:41 +01:00
Codex 8a52ef43bb Keep collection panels and their fixed footers in their own viewport
(cherry picked from commit d69f9c041c)
(cherry picked from commit 20039d741c)
2026-11-30 16:08:13 +01:00
Codex 2b1d29e57a Pin the maintenance framework with registered placement, PDF and icon regression coverage 2026-11-30 15:36:46 +01:00
Codex a4b153621f Scroll overflowing panel forms inside their dock group
(cherry picked from commit a6c530518a)
(cherry picked from commit 3a568c2011)
2026-11-30 15:36:45 +01:00
dotCooCoo d283195ef6 Fields: the wheel steps a focused number field only while the pointer is over it
With a number field focused, a wheel notch anywhere in the window stepped
that field. In Pattern Options at 220 by 320 points, with Width focused at
10 pt, a notch over Size Tile to Art changed Width to 9 pt.

`root_env` now turns on the framework's pointer-scoped field wheel
(`RootEnv::pointer_scoped_field_wheel`, storytold/craft-libs#3805). The
desktop and web hosts both take their root from it. A notch over the
focused field still steps it. Elsewhere the wheel scrolls what is under the
pointer, and an unfocused number field under the pointer is not stepped.

(cherry picked from commit bbe091e791)
(cherry picked from commit 8bacfd4cfa)
2026-11-30 15:35:29 +01:00
dotCooCoo ae272f8897 Asset Export: the settings scroll in a short panel
With assets in the panel and many format rows, the Export Settings
section grew past the top of the panel, so its heading and the first
format rows could not be reached. The settings now sit in a scrolling
stack that takes at most half the panel's height, as the CSS
Properties panel does, and the preset name row, Export and the footer
bar stay below it.

(cherry picked from commit e94496b42f)
(cherry picked from commit 3d593bfac8)
2026-11-30 15:35:11 +01:00
Codex e7137cc508 Assert the painted triangle extents when fitting a scaled arrow to an artboard
(cherry picked from commit 547393bb42)
2026-11-30 15:30:49 +01:00
Codex 58b3a343bc Check the Selection move pointer over source art and document the centre-point modifier
(cherry picked from commit 98026915ab)
2026-11-30 15:26:50 +01:00
Codex a2b593e700 Wait for the plug-in dialog to settle before clicking its slider 2026-11-30 14:58:35 +01:00
Codex a36cafd02b Keep palette popups within the Windows desktop work area 2026-11-30 14:55:06 +01:00
Codex 97f2e7fc1d Describe the selected-art pointer in the cursor reference 2026-11-30 14:55:06 +01:00
Codex bee521e1dd Use the tested rectangle API for PDF clip bounds 2026-11-30 14:42:38 +01:00
Codex 7a0c6cf2ab Keep all runtime, web and PDF audit dependencies on the maintenance framework 2026-11-30 14:36:46 +01:00
.CooCoo 35f72891cf Merge pull request #10097 from dotCooCoo/fix/hit-test-one-walk
Selection: a click or hover that hits nothing walks the document once
2026-11-30 14:31:17 +01:00
Codex 7334709081 Pin the maintenance framework fixes for 0.25.1 2026-11-30 14:28:31 +01:00
Codex 5e949edfad Preserve the degree symbol in the cursor documentation 2026-11-30 14:28:30 +01:00
Codex 41e5e75071 Count the selected-art pointer in the cursor catalog 2026-11-30 14:28:01 +01:00
Codex b41f294411 Keep large PDF previews and confirmed page imports off the desktop UI thread 2026-11-30 14:28:00 +01:00
Codex 6cd4975e0c Restore white artboards in Outline and the selection arrow over selected art 2026-11-30 14:27:58 +01:00
Codex 7415049173 Expose current desktop monitor geometry to dialogs and menus 2026-11-30 14:27:56 +01:00