Commit Graph
26544 Commits
Author SHA1 Message Date
.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
.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
.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 6ad2839564 Merge main into fix/pdf-spot-image-overprint 2026-12-05 03:07:50 -08:00
dotCooCoo c4181d7f1c Merge main into fix/opacity-arrow-steps 2026-12-05 02:53:52 -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
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
.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 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 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 146602fc95 Merge main into feat/concept-to-vector-providers 2026-12-04 23:02:25 -08:00
dotCooCoo 20944d3b01 Concept to Vector: outline Flat Color's seam fills before mapping them
A seam stroke's width was scaled by the square root of the image's
scale, so on an image stretched more one way its caps could reach past
the image. The provider now outlines each trimmed seam stroke in the
traced raster's pixels, with butt caps and round joins as Image Trace
does, and maps the filled outline back like the other paths, so the
seam fills stay inside the image whatever its transform.
2026-12-04 22:59:40 -08:00
.CooCoo f10dd40cb4 Merge pull request #10537 from dotCooCoo/fix/artboard-seam-zero-spacing
Artboards: touching artboards cast no shadow on each other
2026-12-04 22:38:25 -08:00
.CooCoo 65d61c56db Merge pull request #10133 from dotCooCoo/feat/font-sheet
Type Tools: Create Font Sheet sets a sample text in every font, labeled
2026-12-04 22:36:34 -08:00
.CooCoo a15bd42649 Merge pull request #10834 from dotCooCoo/fix/remove-all-image-frame-clip
Scripts: pathItems.removeAll keeps a clipping path that still holds an image
2026-12-04 22:30:41 -08:00
dotCooCoo 5fd750057b Concept to Vector: seam fills under Flat Color, and scripts can stop generate
Flat Color traces abutting fills, and each fill was drawn on its own, so
a light hairline showed wherever two colors met. The built-in provider
now lays the trace's seam fills under the fills, as Image Trace's
Abutting method with Fills does. Seam strokes are trimmed to half their
width inside the image, so they do not paint past its border, and they
are added only in the anchors and paths that every style's traced paths
leave of the limits, so they never make a later style's trace fail.

conceptVector.generate run from a script now stops when the script is
asked to stop, as imageTrace.make does, and keeps no job.
2026-12-04 22:30:24 -08:00
.CooCoo 4ca2c350d3 Merge pull request #10876 from dotCooCoo/fix/jpe-jpeg-extension
File formats: JPEG files named .jpe open and place
2026-12-04 22:29:22 -08:00
.CooCoo 1e39f80ee2 Merge pull request #10879 from dotCooCoo/fix/reverse-path-keeps-anchor-selection
Paths: Reverse Path Direction keeps the same anchors direct-selected
2026-12-04 22:28:51 -08:00
.CooCoo 5ba94c7509 Merge pull request #10882 from dotCooCoo/fix/raster-settings-opened-objects
3D: Raster Settings OK sets the objects the dialog opened on
2026-12-04 22:28:20 -08:00
.CooCoo 4a7fe04e81 Merge pull request #10888 from dotCooCoo/fix/targa-color-model
Targa export: a Color Model option writes grayscale files
2026-12-04 22:27:33 -08:00
.CooCoo e418292946 Merge pull request #10889 from dotCooCoo/fix/dwg-listed-without-decoder
File formats: DWG is listed as readable only where a decoder reads it
2026-12-04 22:27:01 -08:00
.CooCoo db8d2c11e9 Merge pull request #10890 from dotCooCoo/fix/scoped-remove-all-walk
Scripts: a group's pathItems.removeAll() walks only the group
2026-12-04 22:26:30 -08:00
.CooCoo 6cca4c8968 Merge pull request #10895 from dotCooCoo/fix/artboard-guides-preview-keeps-delete
Plug-ins: an edit made during an add-on dialog's preview survives Cancel and OK
2026-12-04 22:25:59 -08:00
.CooCoo 9deca69775 Merge pull request #10897 from dotCooCoo/fix/dxf-region-import
DXF/DWG import: REGION entities open as filled paths
2026-12-04 22:25:28 -08:00
.CooCoo 99e8dc3f72 Merge pull request #10898 from dotCooCoo/fix/script-color-pick-document-profiles
Scripts: a Color Picker pick converts through the script document's profiles
2026-12-04 22:24:58 -08:00
.CooCoo 86c1bed1a3 Merge pull request #10899 from dotCooCoo/fix/dwg-place-previewed-drawing
DXF Import: OK places the drawing the dialog previewed, not the file as it is on disk
2026-12-04 22:24:27 -08:00
.CooCoo c523594bc9 Merge pull request #10912 from dotCooCoo/fix/flatpak-portal-save-names
Save: Export Text, Unembed and metadata templates ask again for a name the Flatpak file chooser did not grant
2026-12-04 22:21:37 -08:00
dotCooCoo be9a07c365 Opacity: Control bar, gradient stop and Color Wheel fields keep stepping with the arrow keys
An opacity is stored as an f32 fraction, and these fields showed it as
f64::from(opacity) * 100.0, so 51% read back as 50.999999%. The number
field treats that value as off its step grid, so an Up press went to 51%
again and every later press repeated it; Down stalled the same way at
values such as 99%.

The Control bar's Opacity, the Gradient panel's stop Opacity and the
Color Wheel panel's Show Opacity field now show the whole percent when it
stores as the same f32 (panels::shown_percent), and the exact percent
otherwise.

Part of #10903. #10910 fixes the Properties and Transparency Opacity
fields the same way.
2026-12-04 22:06:14 -08:00
dotCooCoo 8d6b48c52e Merge main into fix/artboard-seam-zero-spacing 2026-12-04 22:05:58 -08:00
dotCooCoo e81d7d9b3a Merge main into feat/font-sheet 2026-12-04 21:37:34 -08:00
dotCooCoo 59da3bd87a Merge main into fix/jpe-jpeg-extension 2026-12-04 21:35:16 -08:00
dotCooCoo 028ff072e2 Docs: Raster Settings OK refuses only when there are changes to apply
With unchanged settings OK closes the dialog before the document, history and object checks run (crates/ui-egui/src/panels/three_d/raster.rs:147), so docs/mcp.md and docs/three-d.md now say the refusals apply when there are changes.
2026-12-04 21:26:00 -08:00
dotCooCoo 168d6c9cce Plug-ins: an outside command leaves recut paths and a refused step alone
During an add-on dialog's preview, a command from outside the dialog no
longer acts on a path whose selected anchors the preview renumbered (Set
Corners recut it), so Clear does not delete other points of the base
path. A refused outside command leaves the dialog's own selection as it
was, while a command that ran, such as Deselect, still sets it. The
journal records the selection the command acts on before it, so an
action replays it on the same objects.
2026-12-04 21:17:55 -08:00
dotCooCoo 7548988c4c Merge main into fix/dxf-region-import 2026-12-04 21:00:23 -08:00
dotCooCoo 039234712f DXF import: region data longer than the size limit is not kept
When a region's decoded data went past the size limit and its record had
no group 94, or a group 94 at or above the decoded length, the reader
kept the whole oversized buffer in the drawing until the import ended.
The region was still left out later, but its data stayed in memory. The
reader now checks the stored length after the declared-size cut and
drops the record when it is still over the limit. A declared size within
the limit still cuts the data and loads it.
2026-12-04 21:00:20 -08:00
dotCooCoo 0569b88d83 Merge main into fix/reverse-path-keeps-anchor-selection 2026-12-04 20:37:39 -08:00
dotCooCoo 31876d6775 Merge main into feat/font-sheet 2026-12-04 20:36:17 -08:00
dotCooCoo cf10a40bc7 Merge main into fix/artboard-seam-zero-spacing 2026-12-04 20:29:18 -08:00
dotCooCoo f8cdebe86d Save: Export Text, Unembed and metadata templates ask again in the Flatpak file chooser
In the Flatpak build the save panel answers with a path in the document
portal, which puts only that exact name into the folder picked. Three
more save panels changed the answer before writing, so the write
succeeded inside the portal and no file appeared:

- Keyboard Shortcuts > Export Text added or replaced the extension of
  the format picked (list became list.pdf).
- Save Metadata Template added .xmp to a name typed without it.
- Unembed added the stored image format's extension to a name typed
  without one (links.unembed does this in the engine).

Each now opens the save panel again in the answer's folder, suggesting
the completed name, and the status bar says why. Its answer is written.
Paths outside the portal are unchanged. The check reuses the helper the
main Save and Export flows use, now shared as
io::save::portal_ask_again, and the engine exposes
links::unembed_path so the panel knows the name Unembed writes.
2026-12-04 20:25:49 -08:00
.CooCoo ec875e7201 Merge pull request #10906 from dotCooCoo/fix/main-revert-hinting-back-on
Main: revert #10894 (font hinting back on) to fix the floated-panel window test
2026-12-04 20:11:38 -08:00
dotCooCoo b54ce6910e Revert "Merge pull request #10894 from dotCooCoo/fix/font-hinting-back-on"
This reverts commit 88851063c0, reversing
changes made to 7802fe94be.
2026-12-04 20:08:54 -08:00
.CooCoo 857ea2aa94 Merge pull request #10892 from dotCooCoo/fix/composite-installed-name-place
Place: placed type keeps an installed font that shares a composite font's name
2026-12-04 20:02:26 -08:00
.CooCoo c58b291771 Merge pull request #10816 from dotCooCoo/fix/craft-libs-pin-language-packs
Dependencies: move the craft-libs pin to craft-libs main 69c746e9
2026-12-04 19:42:37 -08:00
.CooCoo 1597047278 Merge pull request #10873 from dotCooCoo/fix/dxf-group-block-reference
DXF export: Always Export Group as Block Reference
2026-12-04 19:41:55 -08:00