Commit Graph
456 Commits
Author SHA1 Message Date
BFlat 484ec74cdf Merge pull request #7126 from dotCooCoo/fix/status-notes-copy-cut-trace
Status bar: Copy, Cut and Image Trace count their notes and list them on hover
2026-11-18 10:22:01 +07:00
BFlat a223cdf337 Merge pull request #7602 from dotCooCoo/feat/color-wheel-box
Part of #978: the Color Wheel panel offers a box view with a color field and a channel strip
2026-11-18 10:18:24 +07:00
BFlat 2d3ba6a928 Merge pull request #8153 from dotCooCoo/feat/eps-options-custom-flattener
EPS Options: Custom… sets the flattener options the export uses
2026-11-18 10:16:50 +07:00
BFlat 36195c57f9 Merge pull request #8338 from dotCooCoo/fix/issue-7837
Workspace: Tools dropped on the canvas's left edge docks there, and the setting follows
2026-11-18 10:12:41 +07:00
BFlat a74be729a4 Merge pull request #7963 from dotCooCoo/feat/recolor-group-storage
Recolor Artwork: a Color Groups list selects, saves, adds and deletes color groups
2026-11-18 10:12:05 +07:00
dotCooCoo 4ab773494e Workspace: the Tools drop strip lights up where Tools docks, and the docs name the exceptions
With no panels docked on the left and a toolbar made with New Toolbar docked there, a drop on
the canvas's left edge docks Tools at the window's edge, left of the toolbar's lane. The strip
that lit up during the move was the canvas's edge, right of the lane. The window's edge now
lights up instead.

The window.toolsBesideCanvas params text, docs/control-protocol.md, docs/target-app-parity.md and
the UiState doc comment now say that a drop with no panels docked on the left, or in the column
both edges share beside panels collapsed to icons, leaves Window › Toolbars › Keep Tools Beside
the Canvas as it is. ROADMAP's progress log gets a line for the changed drop rule.

The test of a release where the move started now presses on the title bar, moves past the drag
threshold so the move starts, and releases within the travel limit over the canvas's edge; it
fails without that limit.
2026-11-17 08:41:27 -08:00
dotCooCoo de9424cece Workspace: Tools dropped on the canvas's left edge docks there, and the setting follows
A floating Tools panel dropped on the canvas's left edge, right of panels
docked on the left, stayed floating unless Window > Toolbars > Keep Tools
Beside the Canvas was on. The canvas's left edge is now always a target:
a drop there docks Tools beside the canvas and turns the setting on, and a
drop on the window's left edge docks it there and turns the setting off,
so the menu item's check mark shows where Tools is.

This changes one existing behavior: with the setting on and panels docked
on the left, a drop on the window's left edge used to dock Tools beside the
canvas and keep the setting on. It now docks Tools at the window's edge and
turns the setting off.

With no panels docked on the left, both edges put Tools in the same place
(left of any toolbars made with New Toolbar docked there), so a drop on
either docks it where the setting puts it and leaves the setting as it is.
So does a drop in the column both edges share when left-side panels are
collapsed to icons narrower than the window's edge strip. A release in the
frame right after Tools floats out of its place at the window's edge skips
the canvas-edge strip, which that frame laid out right of the docked panel.

Part of #7837
2026-11-17 07:24:23 -08:00
dotCooCoo f8ccbf72f5 Rasterize: Anti Alias and Background are dropdowns in the dialog
Object › Rasterize… showed Anti Alias and Background as text fields
holding the command's values. They are now dropdowns of the values
object.rasterize takes: None, Art Optimized and Type Optimized, and
White and Transparent. Create Gradient Mesh… shows Appearance (Flat,
To Center, To Edge) and grid Repeat Options shows Grid Type the same
way. A value the dialog does not list is shown and sent unchanged.

Catalog rows are added for the labels that had none.

Part of #8020, part of #7991.
2026-11-16 21:54:56 -08:00
dotCooCoo 425c21a9c9 Merge main into fix/status-notes-copy-cut-trace 2026-11-16 20:51:55 -08:00
dotCooCoo 586ca49ca7 Merge main into feat/eps-options-custom-flattener 2026-11-16 10:55:57 -08:00
dotCooCoo eb3250b8d1 Merge main into fix/status-notes-copy-cut-trace 2026-11-16 10:36:09 -08:00
dotCooCoo faabb83143 Merge main into feat/recolor-group-storage 2026-11-16 10:35:40 -08:00
dotCooCoo d61ba9b9f4 Merge main into feat/windows-screen-color 2026-11-16 08:27:09 -08:00
dotCooCoo 40654ded92 Merge main into feat/color-wheel-box 2026-11-16 08:25:33 -08:00
dotCooCoo be27667228 EPS Options: Custom… sets the flattener options the export uses
EPS Options gets a Custom… button beside the flattener Preset. It opens
Custom Transparency Flattener Options over EPS Options, on the options the
export would use (the raster/vector balance, both resolutions, the outline
switches, Clip Complex Regions and Anti-alias Rasters). OK sends them as
`flattener` with the export, and the preset shows [Custom] when they
differ from its options; Cancel goes back unchanged. Choosing a preset,
in the dropdown or with `ui.dialog.set`, drops the custom options.
Preserve Alpha Transparency stays off for EPS, and overprints follow the
Overprints choice.
2026-11-16 07:16:50 -08:00
dotCooCoo bf8c08e2a1 Recolor Artwork: the Edit tab's wheel can show brightness and hue
A button under the Add Color and Remove Color tools switches both Edit
tab wheels between hue with saturation and hue with brightness. On the
brightness wheel a marker's distance from the center is its brightness
(black at the center, full at the edge), a drag sets hue and brightness,
the slider under the wheel edits saturation, and Add Color adds the hue
and brightness clicked at the base color's saturation. The segmented
wheel's five rings become brightness steps. Switching changes no color,
the button is off for the color bars, and each opening shows hue and
saturation. The dialog field is `wheelAxes` (`hueSaturation`,
`hueBrightness`).
2026-11-16 04:50:45 -08:00
dotCooCoo ec57fd6625 Merge main into fix/status-notes-copy-cut-trace 2026-11-16 04:06:45 -08:00
dotCooCoo 388044db13 Color: Sample Color from Screen works on Windows
Windows had no screen color sampler, so the Color Picker's eyedropper
button was gray and ui.sampleScreenColor returned an error there.

The new sampler copies the virtual screen (every monitor, including
ones at negative coordinates and at other display scales) and covers it
with a borderless topmost window that shows the copy under a crosshair.
A left click picks the copied pixel, read as sRGB. Escape, a click of
another mouse button, Alt+F4 or switching to another window cancels.
The window runs on its own thread, so the app keeps drawing, and the
copy's size is checked before it is allocated.

Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md
and the ui.sampleScreenColor params text.
2026-11-15 23:15:43 -08:00
dotCooCoo 982c99da88 Merge main into feat/recolor-group-storage
# Conflicts:
#	crates/engine/src/cmd/swatch.rs
#	crates/ui-egui/src/dialogs/recolor.rs
#	docs/control-protocol.md
#	docs/mcp.md
2026-11-15 22:24:37 -08:00
dotCooCoo d7b0bc0e4d Merge main into feat/recolor-group-storage 2026-11-15 18:42:52 -08:00
dotCooCoo 3a2d2eda33 Merge main into feat/recolor-add-remove-color-tools 2026-11-15 18:36:18 -08:00
dotCooCoo 034f9ce9bc Merge main into feat/recolor-add-remove-color-tools 2026-11-15 16:06:06 -08:00
dotCooCoo 729651e470 Merge main into feat/psd-preserve-text-editability 2026-11-15 13:45:05 -08:00
dotCooCoo 4327c51f57 PSD: Preserve Text Editability writes point type as editable type layers
The PSD Options dialog gets Preserve Text Editability, and document.export
takes preserveText (with layers). Horizontal and vertical point type is
written as a type layer (a TySh block with its EngineData) that a reader
can edit, and keeps its pixels. The layer holds the text, its fonts by
PostScript name, size, leading, tracking, scaling, baseline shift, caps,
underline, strikethrough, fill color, Fractional Widths, paragraph
alignment and orientation.

Type that a type layer would draw differently stays pixels: area type,
type on a path, strokes, non-solid fills, fractional tracking, character
attributes the layer does not carry, paragraphs that set more than their
alignment or run right to left, System Layout, Optical Margin Alignment,
ruby, effects, an appearance of its own and opacity masks. A layer that
holds type becomes a group of its type layers and pixel layers of the art
between them, unless other art in it blends in a mode other than Normal.
2026-11-15 12:07:06 -08:00
dotCooCoo a1aa6ddc01 Recolor Artwork: an added color whose row is excluded joins no color group 2026-11-15 11:31:36 -08:00
dotCooCoo 2e082dcb22 Merge main into feat/recolor-group-storage 2026-11-15 11:07:12 -08:00
dotCooCoo 6fd1b1dcb1 Merge main into feat/recolor-group-storage 2026-11-15 11:06:13 -08:00
dotCooCoo be4dab1e8c Merge main into feat/recolor-add-remove-color-tools 2026-11-15 09:08:28 -08:00
dotCooCoo f1f4d629e8 Panels: the double triangle on a panel's tab strip cycles its display sizes
A double triangle at the right end of the tab strip of Align, Attributes,
Character, Color, Flattener Preview, Gradient, Info, Paragraph, Stroke,
Transform and Transparency steps the active panel through its display
sizes. The sizes are the states the panel menu's Show/Hide Options items
set (Transparency: thumbnails and options, thumbnails alone, neither),
largest first, and the smallest goes back to the largest.

window.panel.cycleOptions {panel} does the same and returns
{panel, size, sizes}. An unknown panel or a panel without sizes is an
error and changes nothing.

Docs: docs/mcp.md, docs/control-protocol.md, docs/ui-parity.md.
2026-11-15 08:39:43 -08:00
dotCooCoo 6635cd7748 Recolor Artwork: a Color Groups list selects, saves, adds and deletes color groups
The dialog lists the document's color groups on its right, or under
the tabs in a narrow window, and the Show Color Groups button beside
the tabs shows or hides the list. A click on a group makes it the
group being edited: with art, the art is reduced again to a row per
color of the group, which become the rows' new colors; without art,
the rows are the group's colors. Save Changes rewrites the selected
group with the colors OK would give it and the name in the name
field, New Color Group saves the rows' new colors as a new group, and
Delete removes the selected group. Each is its own undo step, and the
Swatches panel shows it.

When the art has colors of the group, Save Changes keeps the group's
swatches in order: a swatch whose color a row lists takes that row's
new color, and the others keep theirs. After a save with art the rows'
new colors take the Global Adjust, which goes back to 0%, and when the
save recolored linked art the rows are read from the art again.

The dialog fields are group, groupStorage and groupAction (save, new
or delete). A name no group has, a groupAction of another value, and
save or delete with no group selected are refused.

swatch.editGroup given a group's own colors in order and no new name
records no undo step.
2026-11-15 07:43:03 -08:00
dotCooCoo a6b73c467d Merge main into feat/recolor-add-remove-color-tools
Main's New Row and this branch's Add Color tool both make rows with no
current colors. A row made with New Row gives a rewritten color group no
color, and a color the Add Color tool adds joins the group. Rows the Add
Color tool adds now carry `added: true`: recolor.apply's default
groupColors and the dialog's apply_params add only those empty rows'
colors to the group, after the others, and recolor.randomize keeps the
flag.
2026-11-15 07:32:35 -08:00
Mex 6b821c7c50 docs(G6): complete the control method reference
Document the existing resize defaults and parameterless focus method. Keep one complete ui.render row, including traceViews, and record the documentation revision.

Source and rendered table reviewed. No local Rust build or tests ran; cargo/rustc are unavailable and PR CI validation is required.
2026-11-15 14:37:37 +01:00
dotCooCoo 42fab2ea2a Recolor Artwork: the Edit tab's Add Color and Remove Color tools add and remove colors
Two buttons under the display buttons beside the Edit tab's wheel turn on
the Add Color and Remove Color tools. With Add Color, a click on either
wheel adds a color in a new row with no current colors, at the base
color's brightness. With Remove Color, a click on a marker removes that
color; a color bar's right-click menu has Remove Color too. The base
color can't be removed. With art or a color group open, a removed
color's row keeps its current colors with no new color, so the art keeps
its colors and the group's swatch at that place is removed.

recolor.apply's groupColors accepts null, which removes the group's
swatch at that place; the swatches after it keep their colors and names,
and art linked to a removed global swatch keeps its color, unlinked.
2026-11-14 22:12:58 -08:00
dotCooCoo 397adce4c8 Merge main into feat/eraser-tip-variations 2026-11-14 18:55:44 -08:00
BFlat 3e68e4117a Merge pull request #7712 from dotCooCoo/feat/rough-pastels-load-texture
Effects: Rough Pastels loads its texture from an image file
2026-11-15 09:47:09 +07:00
dotCooCoo 4a329e78b5 Merge main into fix/status-notes-copy-cut-trace 2026-11-14 18:42:18 -08:00
BFlat a53891b846 Merge pull request #7291 from dotCooCoo/feat/live-paint-bucket-multi-click
Live Paint: double-click floods across unstroked edges, triple-click paints the same paint
2026-11-15 08:25:35 +07:00
dotCooCoo 6c585de940 Eraser: Angle, Roundness and Size vary with Random, Pressure, Tilt, Bearing or Rotation
Eraser Tool Options gives Angle, Roundness and Size each a variation menu
(Fixed, Random, Pressure, Tilt, Bearing, Rotation) and a Variation field.
path.eraseRegion takes angleMode, roundnessMode and sizeMode with their
variations, sweeps a varying tip as a Calligraphic nib with what the pen
read along the drag, and refuses an unknown mode or a variation out of
range. The Eraser records the pen's pressure, tilt and rotation when a
mode follows them, and its tip outline at the pointer takes the angle,
roundness and size the pen gives while it erases.
2026-11-14 17:08:14 -08:00
dotCooCoo 403023f834 Effects: Rough Pastels loads its texture from an image file
The Rough Pastels dialog has a Load Texture… button, as Glass and
Texturizer have. The image's gray levels become the paper surface,
stored with the effect as `textureImage` and listed as Loaded Texture
in the Texture menu; Scaling, Relief, Light Direction and Invert act on
it as on the built-in surfaces. The dialog's Texture and Light
Direction controls are now menus instead of text fields.

effect.apply and effect.setParams read `textureImage` from a file or
take the stored string and refuse anything else, and a plug-in filter
cannot have the host read a file for it.

In the Effect Gallery's Settings, a file dialog that answers later
(the macOS sheet, the Linux dialog) now gives the texture to the values
that asked: the filter being browsed, or the stack row that asked,
found by a number each row now carries. An answer for a removed row, a
filter no longer browsed or a gallery that closed is dropped.

Params text, docs/mcp.md, docs/control-protocol.md, docs/gaps.md and
the evidence line are updated.
2026-11-14 15:45:59 -08:00
dotCooCoo faa980b724 Merge main into fix/status-notes-copy-cut-trace 2026-11-14 15:34:52 -08:00
dotCooCoo e397a3d28d Merge main into feat/color-wheel-box 2026-11-14 15:04:55 -08:00
dotCooCoo aec1e2597d Merge main into feat/live-paint-bucket-multi-click 2026-11-14 13:49:49 -08:00
dotCooCoo 056083e824 Merge main into fix/export-selection-doc-save-panel 2026-11-14 13:27:57 -08:00
dotCooCoo 3781af2b8d MCP: docs say document.exportSelection with options and no path still asks for the file
An option given to document.exportSelection skips the options dialog, but
without `path` the save panel still picks the file. docs/mcp.md said any
option writes without a dialog, and docs/control-protocol.md said params
export without the dialog. Both now say that only `path` writes without a
dialog, and a test pins the behavior.
2026-11-14 13:20:41 -08:00
dotCooCoo a19646b2f3 Asset Export: Create Sub-folders, Open Location after Export and Format Settings in the panel menu
Create Sub-folders and Open Location after Export are check items that set
the settings the panel shares with Export for Screens, and the panel's
Export follows them. Create Sub-folders is checked as the dialog opens on
it: on for a document without export settings, and on for remembered
folders per row, format or item, which the panel's Export now uses too.
Format Settings... opens Export for Screens on the Assets tab showing the
first row's format settings.

assets.settings.set takes openLocation (kept in document.exportSettings,
not in presets), refuses a subfolders or openLocation value that is not
true, false or null, and with subfolders false given alone also ends a
remembered folder per format or item. Export for Screens reads remembered
empty folders as none, as an export does.
2026-11-14 11:26:20 -08:00
dotCooCoo add87ffe60 Merge main into fix/status-notes-copy-cut-trace 2026-11-14 05:56:28 -08:00
dotCooCoo e385d92b1b Merge main into feat/live-paint-bucket-multi-click 2026-11-14 05:25:24 -08:00
dotCooCoo 22b8c6ce5a Part of #978: the Color Wheel panel offers a box view with a color field and a channel strip
The Color Wheel panel's menu gains Wheel View and Box View, and Box
Channel with Hue, Saturation, Brightness, Red, Green and Blue while the
box shows. The box takes the wheel's place: a color field with a 22 pt
channel strip at its right. The field shows the other two components on
the Color Picker's axes (Hue: saturation across and brightness up; Red:
blue across and green up). A click or drag in the field sets those two,
and the strip sets the channel; a drag is one undo step, and picks go
through the same paint commands and color model rules as the wheel's.
With no color to edit, the field and the strip show no markers and read
0 to screen readers, as the wheel does.

ui.colorWheel {view?, channel?} sets the view and the channel and
returns them. Params that are not an object, another key or a value off
the list are an error and change nothing. Both settings are kept with
the preferences, and a saved value the build does not know reads as
that key's default without losing the other preferences.

The strip takes the arrow keys after a click and offers screen readers
its increment, decrement and set-value actions. The Color Picker's
channel slider uses the same widget, so it now takes the arrow keys and
offers those actions too. New strings have rows in the complete
catalogs, and docs/mcp.md and docs/control-protocol.md describe the
command.
2026-11-14 05:23:25 -08:00
BFlat a47d7eec91 Merge pull request #7478 from dotCooCoo/fix/export-selection-pdf-options
Export Selection: the picked format's options dialog follows the save panel
2026-11-14 19:38:30 +07:00
dotCooCoo b5953f3696 Merge main into fix/status-notes-copy-cut-trace 2026-11-14 01:48:07 -08:00