Commit Graph
26589 Commits
Author SHA1 Message Date
.CooCoo 94fab4c810 Merge pull request #10914 from dotCooCoo/fix/whole-pixel-pan-workaround
Canvas: pans move the view by whole pixels of the art's frame
2026-12-05 04:38:32 -08:00
.CooCoo fa975a3724 Merge pull request #10933 from dotCooCoo/fix/type-tool-tab-keeps-panels
Fix #10817: Tab while editing type types a tab without hiding the panels
2026-12-05 04:37:52 -08:00
.CooCoo 56da2f9f7c Merge pull request #10935 from dotCooCoo/fix/painted-move-resize-cursors
Cursors: tools draw their move, resize, grab and not-allowed cursors
2026-12-05 04:37:12 -08:00
.CooCoo ce77145ac9 Merge pull request #10939 from dotCooCoo/fix/pdf-glyph-conflict-outline-note
PDF import: text outlined for a second glyph of a character says so
2026-12-05 04:36:32 -08:00
.CooCoo 5164c977d0 Merge pull request #10918 from dotCooCoo/fix/new-type-new-art-appearance
Type: new type takes new art's fills, strokes and effects
2026-12-05 04:35:37 -08:00
.CooCoo b59ae808b8 Merge pull request #10940 from dotCooCoo/fix/recolor-picker-canvas-clear
Recolor Artwork: the canvas stays undimmed while the dialog and a row's Color Picker are open
2026-12-05 04:35:10 -08:00
.CooCoo 9bdfcf7347 Merge pull request #10925 from dotCooCoo/fix/anchor-tools-type-on-path
Fix #10862: anchor tools and Pen + Alt edit the path of type on a path
2026-12-05 04:25:59 -08:00
.CooCoo 969905d25a Merge pull request #10938 from dotCooCoo/fix/previewing-dialogs-keep-canvas-clear
Fix #10706: Blend Options and other preview dialogs leave the canvas undimmed
2026-12-05 04:19:46 -08:00
.CooCoo 66f037c556 Merge pull request #10927 from dotCooCoo/fix/ai-turned-area-type
.ai import: turned area type and type on a path open turned
2026-12-05 04:09:52 -08:00
.CooCoo 0877897d1b Merge pull request #10941 from dotCooCoo/fix/emf-ellipse-closed
EMF import: filled path figures come in closed
2026-12-05 04:05:51 -08:00
.CooCoo 37dd394ea9 Merge pull request #7051 from dotCooCoo/feat/concept-to-vector-providers
Concept to Vector: offline Image Trace styles behind a provider boundary
2026-12-05 03:57:28 -08:00
.CooCoo a909db1964 Merge pull request #10922 from dotCooCoo/fix/pdf-spot-image-overprint
Fix #10902: PDF spot images and image masks keep their fill overprint
2026-12-05 03:49:39 -08:00
dotCooCoo 664d50c328 Type: a selected look matching the redefined default still styles new type
With New Art Has Basic Appearance off, new type took nothing from a
selected object whose fills, strokes and effects matched the document's
redefined Default Graphic Style without a link to it (after Break Link
to Graphic Style, for example), because the check that keeps type plain
for the document's default look also caught a look taken from the
selection. That check now applies only to the look paint.default gives,
so new type takes the selection's fills and effects, and new type made
after paint.default still keeps its characters' color.
2026-12-05 03:47:38 -08:00
.CooCoo f93c802a79 Merge pull request #10916 from dotCooCoo/fix/opacity-arrow-steps
Opacity: Control bar, gradient stop and Color Wheel fields keep stepping with the arrow keys
2026-12-05 03:40:38 -08:00
dotCooCoo 7b3a15a662 Merge main into fix/emf-ellipse-closed 2026-12-05 03:27:19 -08:00
dotCooCoo 9490f130dd EMF import: filled path figures come in closed
A metafile can fill a figure without closing it, for example a GDI path
bracket painted with FILLPATH and no CLOSEFIGURE. The fill draws the
figure closed, but the import kept it as an open path, so the object
reported closed:false and a stroke added later left a gap at its start.

A path the picture only fills now comes in with every open figure
closed. Stroked paths keep their figures as the file draws them. The
same rule covers EMF, WMF and PICT, which share the importer.
2026-12-05 03:27:19 -08:00
dotCooCoo 0e51224727 Merge main into fix/painted-move-resize-cursors 2026-12-05 03:26:23 -08:00
dotCooCoo a1a77ebf84 Recolor Artwork: the canvas stays undimmed while the dialog and a row's Color Picker are open
Recolor Artwork previews its colors on the art, but its modal layer
dimmed the whole window, canvas included, so the preview could not be
judged. The dialog now keeps the canvas of the window it opened in open
under its modal layer, as the Color Picker and the color adjustment
dialogs do: no scrim over it, and the wheel still scrolls and zooms the
view. Other presses on the canvas stay blocked.

A Color Picker opened from a row's new color also keeps the canvas
undimmed. The picker now registers the canvas, and while it is open over
Recolor Artwork the dialog below draws no scrim of its own, so the
picker's layer is the only one that dims the window.

While the Color Theme Picker is on, its clicks and Shift-drags on the
art now reach the canvas. Before, the modal layer blocked them, so a
click on the art added no pick.

Part of #10590.
2026-12-05 03:24:56 -08:00
.CooCoo 05e11dc785 Merge pull request #10931 from dotCooCoo/fix/place-cursor-overlay
Place: the loaded place cursor shows its file and the files left again
2026-12-05 03:22:00 -08:00
dotCooCoo 2d99cd02ef Merge main into fix/type-tool-tab-keeps-panels 2026-12-05 03:21:26 -08:00
dotCooCoo 57623ef702 Merge main into fix/ai-turned-area-type 2026-12-05 03:16:42 -08:00
dotCooCoo 641b0145e4 PDF import: text outlined for a second glyph of a character says so
A line of type in a font the file carries is kept as outlines when it
uses a different glyph for a character than the rest of the file does in
that font, because the font kept with the document holds one glyph per
character. That line got the warning for scripts whose letters join, so
a Latin document reported Indic-style reshaping. It now gets its own
warning, which is also one of the warnings on outlines that a layered
.ai drops when no outlines are left. Type kept as outlines because it
would reshape keeps the old warning.
2026-12-05 03:16:41 -08:00
dotCooCoo d57a567b77 Merge main into fix/anchor-tools-type-on-path 2026-12-05 03:12:10 -08:00
dotCooCoo 6ad2839564 Merge main into fix/pdf-spot-image-overprint 2026-12-05 03:07:50 -08:00
dotCooCoo 8a546bbdc5 Fix #10706: Blend Options and other preview dialogs leave the canvas undimmed
A dialog's modal layer dims everything but the canvas the dialog
registers. Blend Options, the envelope and path dialogs, Split Into Grid,
Flare Tool Options, Justification, Proof Setup, Swatch Options, the
Tangent Circle radius dialog, the add-on dialogs and the command dialogs
with a Preview box registered no canvas, so the art they previewed was
shown dimmed and the wheel over it did not scroll the view.

dialogs::host::preview_canvas gives the current window's canvas, and
PreviewsOn::previews_on registers it when the dialog previews. The add-on
dialog host registers it for every add-on dialog. Blend Options with no
blend selected sets the defaults for new blends and previews nothing, so
it still dims the canvas.

Part of #10590.
2026-12-05 03:02:03 -08:00
dotCooCoo cdf866b0f3 Merge main into fix/new-type-new-art-appearance 2026-12-05 02:58:13 -08:00
dotCooCoo c4181d7f1c Merge main into fix/opacity-arrow-steps 2026-12-05 02:53:52 -08:00
dotCooCoo 3da2677ddc Merge main into fix/whole-pixel-pan-workaround 2026-12-05 02:49:30 -08:00
dotCooCoo de465ddb69 Merge main into feat/concept-to-vector-providers 2026-12-05 02:40:12 -08:00
FredAppsandCodex 7e58b453aa Port release fixes to main: v0252a (wheel zoom easing, test fixtures) (#10908)
* Locate both color wells by their reported radio values

The shared swatch pair exposes unnamed radio parts. Drive real clicks on the exposed area of Stroke and Fill and keep the original paint and modifier assertions.

(cherry picked from commit 5b990d637c)

* Use regional decimal marks in UI fixtures

(cherry picked from commit 4208649d63)

* Use ordinary canonical paths in script fixtures

(cherry picked from commit f37b5811ad)

* Restore Animated Zoom for mouse-wheel notches

Restore the glide when Zoom with Scroll Wheel and Animated Zoom are both on, as in 0.24.1. The canvas keeps precision point input and pinches immediate. Tracks #10418.

(cherry picked from commit 1dde4db0f3)

---------

Co-authored-by: Codex <[email protected]>
2026-12-05 11:39:58 +01:00
FredAppsandCodex f990e66985 Port release fixes to main: v0252b Crop Box, Divide test and regional fixtures (#10907)
* Use regional decimals in remaining UI fixtures

(cherry picked from commit d689f09e46)

* Test Divide preserves artwork at complexity limit

(cherry picked from commit cc54974df6)

* Honor an explicit Crop Box when opening editable PDFs

Backport the PDF option handling from 82d4ec4336. Apply it to editable and linked opens while preserving the original file when an alternate box was requested.

(cherry picked from commit 73bbd005f3)

---------

Co-authored-by: Codex <[email protected]>
2026-12-05 11:39:51 +01:00
dotCooCoo ca38d520bd Merge main into fix/place-cursor-overlay 2026-12-05 02:28:18 -08:00
dotCooCoo e8862977f8 Place: the place cursor's file label hides when a drag leaves the canvas
A press that begins on the canvas keeps the document hover point while the
pointer is dragged off it, so the thumbnail and count stayed drawn at the
canvas edge. The overlay now also needs the pointer over the canvas. The
test drags a press across the canvas, where the thumbnail stays, and then
off it, where nothing shows.
2026-12-05 02:28:18 -08:00
dotCooCoo 2dea5318dc Merge main into fix/new-type-new-art-appearance 2026-12-05 02:24:07 -08:00
dotCooCoo 4e463a7621 Type: new art from a redefined style is unlinked, default look keeps type plain
A graphic style picked with nothing selected and then redefined gave new
art and type the look picked with the new definition's isolate and
knockout, still linked to the style. New art now links to the style only
while its fills, strokes, effects, opacity and blend mode match the
style's current definition; otherwise it keeps the look picked without
the link, isolate or knockout. appearance.newArt reports the style the
same way, and undoing the redefinition links new art again.

New type made with the look paint.default gives in a document whose
Default Graphic Style was redefined took that look and lost its
characters' color, which failed
an_open_document_takes_another_profiles_default_fill_stroke_and_font.
That look is the document's default, so new type made with it keeps its
characters' color, as with the shipped default.
2026-12-05 02:24:07 -08:00
5ee0ebc7be Panels: a floating window revealed with a flyout open shows (#10934)
Palette windows hide while the main window shows a popup, and an open flyout
is one. A built-in workspace now opens its panel's flyout when it is
switched to, so a panel floated by a command in Essentials Classic (Color's
flyout) and the other workspaces that open one opened its window hidden, and
a_panel_floated_in_any_built_in_workspace_opens_a_shown_window failed on main.
The command that reveals a floating window now closes the open flyout.

Co-authored-by: FredApps <[email protected]>
Co-authored-by: Claude Sonnet 5.5 <[email protected]>
2026-12-05 11:09:44 +01:00
dotCooCoo 084d211cc9 Fix #10547: tools draw their move, resize, grab and not-allowed cursors
Most tool cursors are drawn by the app at its own cursor size, but
Cursor::Move, the four resize cursors, HandGrab, NotAllowed, Text and the
vertical type cursors were handed to the system. On Wayland the compositor
draws those from the desktop's cursor theme at the theme's size, so one
tool switched between a small drawn cursor and a large themed one, for
example the Curvature tool over an anchor, the bounding box handles, or
the Hand while panning.

These cursors are now drawn too: new move, resize, not-allowed and
vertical I-beam glyphs in assets/cursors, the framework's I-beam for Text,
and the framework's hand, which closes while the primary button is down,
for HandGrab. The busy pointer of a long operation stays the system's.
2026-12-05 01:45:02 -08:00
dotCooCoo 98121b6621 Fix #10817: Tab while editing type types a tab without hiding the panels
While the Type tool edited text, one Tab press typed a tab character and
also hid the panels, and Shift+Tab hid the panels except the tools. The
framework sends a bare Tab that the text editor keeps to the panels
toggle as well (craft-libs#4783).

The command gate now refuses both panels toggles while the Type tool
edits text, so Tab and Shift+Tab reach only the editor and typing order
is unchanged. Outside an edit Tab hides the panels as before. The rule
is a workaround: the craft-libs pin bump that includes #4783 removes it.

Reported by anselher.
2026-12-05 01:40:24 -08:00
.CooCoo db70c0ce11 Merge pull request #10932 from dotCooCoo/fix/gl-frame-offset-secondary-windows
Windows: floating panels and dialogs draw where the pointer is on OpenGL
2026-12-05 01:38:07 -08:00
dotCooCoo 6996cc7878 Windows: floating panels and dialogs draw where the pointer is on OpenGL
Part of #10797.

On the OpenGL backend, Preferences and floating panels drew their content
offset down and right by a title bar and border, while clicks landed at the
unshifted positions. These windows draw their own title bar, so winit makes
them undecorated, but it still gives them the WS_CAPTION and WS_BORDER styles,
and on these systems the frame stays reserved for the window surface. The
guard added for #1758 removes the two styles from the main window only.

A viewport hook now records every undecorated window other than the main
one as eframe creates it, and runs the same guard on it at creation and
before each of its frames, so the styles stay off when winit puts them back.
Windows with the system title bar are left alone, and a window's record is
dropped with the window.
2026-12-05 01:13:36 -08:00
dotCooCoo 122d3d6921 .ai import: stretched type on a path is drawn from the page
Type on a path follows the path's tangent and grows by one scale, so a
frame matrix that stretches or slants it (for example 4 0 0 1) cannot be
kept: its glyphs came in twice as wide and twice as tall while the path
grew four times. Such a frame is now left to the page, as mirrored type
is. Turned and uniformly scaled frames are still made as type on a path.
2026-12-05 01:08:12 -08:00
dotCooCoo 7aeb44ead9 Place: the loaded place cursor shows its file and the files left again
The canvas drew no thumbnail or count beside the pointer while the place
cursor held files: since the craft UI port, place::cursor_overlay had no
caller.

- The canvas shows the cursor overlay while the Place tool holds files and
  the pointer is on the canvas, beside the pointer, and on its other side
  near the canvas's right or bottom edge.
- For a load of more than one file the count reads remaining/total (3/3,
  2/3, 1/3); a load of one file shows no count.
- The place tool reports a read-only `total`, the size of the load.

Fixes #10821
2026-12-05 01:03:29 -08:00
dotCooCoo 252454021e Type: an anchor added to type on a path leaves the type selected whole
path.insertAnchor on type on a path, unselected or with selectAnchor,
left the new anchor direct-selected under the type's id. The arrow keys
and path.moveAnchors then sent that anchor to the path editor, which
refused it with "object N is not a path". The type now stays selected
whole with no direct-selected anchors, as path.removeAnchor leaves it,
so a nudge moves the type.

The progress-doc entry now limits the tools to type outside
perspective and lists the Pen with Alt with the Anchor Point tool's
gestures rather than with adding and deleting anchors.
2026-12-05 00:58:26 -08:00
dotCooCoo 8ed783706b Canvas: an absolute drag that keeps the view clears what is owed
settled_on_device_pixels returned the rest unchanged when the view after
the pass matched the rest's view, so an absolute drag pass that left the
view in place kept the part of a pixel earlier pans owed. A later wheel
step could then move the view by a whole pixel the drag had left out.
That branch now clears the owed part when the pass does not carry it, and
keeps it when it does.
2026-12-05 00:54:44 -08:00
dotCooCoo 5f49ebf6e5 Type: new type keeps a style's look and transparency in another document
A graphic style picked in one document and used for new type in another
lost its look when the style was one plain fill and stroke, and lost its
opacity and blend mode in every case, because both checks read the style
name that is dropped outside the style's document. New type now checks
whether its look came from a graphic style separately from the link: the
link is still left out in another document, the look and transparency
are not.

The docs say that area type made with `text.create` and `area` takes the
template, and only Type on a Path and `text.createInPath` area type keep
the default appearance.
2026-12-05 00:52:29 -08:00
dotCooCoo 64c1dabeb5 Fix #10785: .ai import opens turned area type and type on a path turned
A text frame's FrameMatrix was read only for point type. Area frames and
type on a path were built from the frame's segments as stored, without
the matrix, so area type turned a quarter opened unturned with its lines
across the page, and a turned path for type on a path opened unturned.

- The frame's segments are carried onto the canvas by its matrix for
  every frame kind, and line starts use the first frame's matrix.
- Area type keeps the matrix's turn in its transform, with the frame in
  the type's own space, so its lines run along the turned frame. A
  scaled matrix scales the type, and a mirrored one is not made from the
  text document, as for point type.
- The object's own path, which replaces the frame on import, is turned
  back into the type's space before it becomes the frame.
- The file's first line is compared with the layout in the type's own
  space.
2026-12-05 00:32:43 -08:00
dotCooCoo 3a00fd8f4e Canvas: absolute drags leave no part of a pixel for later pans
An absolute drag (Hand, compass, scroll bars) rounds each pass's view
from the last one without adding the remainder kept from earlier, but it
still stored the remainder pan_step returned. A drag by 0.4 device pixels
then made a later wheel step of 0.2 device pixels move the view by a
whole pixel. settled_on_device_pixels now keeps nothing owed after an
absolute drag.
2026-12-04 23:56:29 -08:00
dotCooCoo 402ff3024e Fix #10902: PDF spot images and image masks keep their fill overprint
PDF import read overprint for paths and text only, so an image in a
Separation space or an image mask drawn under /op true opened knocking
out, and a separations export of the document lost the ink beneath it.
The interpreter reports the graphics state's overprint before each
image; the importer now keeps the fill's on the image's colorize paint,
as the .ai reader does.

- Each draw of an image takes the state of that draw, so one XObject
  drawn twice can overprint once and knock out once.
- A process color overprinting in mode 0 gives the same warning as a
  path does.
- A page whose paths can't be counted drops the paths' overprint and
  keeps the images'.
- An isolated group holding an overprinting image stays isolated.
- Images read inside pattern cells, soft masks and type 3 glyphs knock
  out, as paths there do.
2026-12-04 23:48:23 -08:00
dotCooCoo 778ff39718 Merge main into fix/anchor-tools-type-on-path 2026-12-04 23:43:23 -08:00
dotCooCoo eb320aefbb Fix #10862: anchor tools and Pen + Alt edit the path of type on a path
The Anchor Point tool, the Add and Delete Anchor Point tools, Pen + Alt
and the Pen's Auto Add/Delete only picked anchors of plain paths, and
the path.* anchor commands refused type on a path ("object #N is not a
path"), so dragging an anchor of type on a path's path did not pull
handles out, as it does on a path.

- The tools pick the anchors and segments of selected type on a path
  outside perspective, and draw its anchors and handles; Scissors still
  does not cut it.
- path.convertAnchor, path.reshapeSegment, path.setHandle,
  path.moveAnchor, path.insertAnchor and path.removeAnchor edit the
  type's path in document space through its transform; the type lays
  out again and its brackets keep their fractions of the path.
  path.removeAnchor refuses to leave it fewer than two anchors.

Docs: docs/mcp.md, docs/target-app-parity.md.
2026-12-04 23:43:12 -08:00