Commit Graph
26467 Commits
Author SHA1 Message Date
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
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
.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
.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 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
dotCooCoo 6ab79bce2e Docs: the JPEG filter lists only the lowercase .jpe
Open and Place read .jpe files in any letter case, but the dialogs' JPEG filter adds only the lowercase extension, and GTK matches filter patterns case-sensitively.
2026-12-04 19:37:30 -08:00
dotCooCoo 4e438a4525 Properties: the reversal test follows the reversed anchor selection
The corner radius test from #10864 expected Reverse Path Direction to leave
the Direct-Selected anchor index unchanged, so that the same index named a
different corner. Reverse Path Direction now moves the selection with its
points, so the picked anchor is the same corner at its reversed index, with
its sides swapped.

The test now checks both cases for each of its six paths: the picked anchor
follows its point and the unfinished radius is dropped, and picking the old
index again after the reversal names a different corner and drops the
radius. corner_radii reads every anchor, so an open path's end reads 0.
2026-12-04 19:36:44 -08:00
dotCooCoo d556e768f7 Docs: name the source profile of each script color pick
Typed RGB values convert from the RGB profile of the document the window
shows (or the working RGB profile) to the script document's RGB profile,
and separate through its CMYK profile only in a CMYK document. Hex,
screen-sample, HSB and web-snapped picks start in display sRGB.
2026-12-04 19:31:49 -08:00
dotCooCoo c5e2098a59 Merge main into fix/raster-settings-opened-objects
# Conflicts:
#	ROADMAP.md
2026-12-04 19:25:58 -08:00
.CooCoo 558191ec37 Merge pull request #10901 from dotCooCoo/fix/warm-no-test-executables
xtask: the cache warm no longer builds integration test executables
2026-12-04 19:24:38 -08:00
dotCooCoo 348b561d3c Merge main into fix/dwg-listed-without-decoder 2026-12-04 19:11:56 -08:00
dotCooCoo e76423a1e2 Tests: check each Targa color channel on its own
test-lint rejects assert!(...all(...)) without a length check, which
failed the gate. The test now compares the three channels one at a time
with the same tolerance.
2026-12-04 19:10:05 -08:00
dotCooCoo dcf43d3017 Merge main into fix/dxf-region-import 2026-12-04 19:09:38 -08:00
dotCooCoo 51522b9069 DXF import: a region whose binary data is shorter than its declared size is left out
The ACDSDATA reader kept a buffer with fewer bytes than group 94 declares,
and a buffer cut at a record boundary read as a partial outline. Such a
region is now left out and listed. A 310 chunk with an odd number of digits
or a character that is not a hex digit also leaves the region out.
2026-12-04 19:09:38 -08:00
dotCooCoo eb1e5b6b14 3D: Raster Settings OK refuses after a canceled edit or during a tool edit
A canceled undo group, or a canceled undo scope that put back an earlier
snapshot, now advances the document's history restore count, as Undo
and Redo do. The same steps can make an equal object with the same id
again after such a cancel, so Raster Settings, Placement Options and
Create Object Mosaic ask to be reopened. A scope canceled without an
edit puts back the same snapshot and does not count.

Raster Settings OK also refuses while a tool edit computed on another
thread is pending, since running the command would apply that edit
first, after the targets were checked.

When the objects the dialog opened on render again, OK clears their
earlier fallback warning from the status bar while it still shows it,
unless a selected object still gives that warning; the selection's
first other warning takes its place.
2026-12-04 19:04:33 -08:00
dotCooCoo b280bc282f Merge main into fix/remove-all-image-frame-clip 2026-12-04 19:00:29 -08:00
.CooCoo dcab528174 Merge pull request #10632 from dotCooCoo/fix/tracing-mask-art
Scripts: retracing and releasing refuse a tracing with added opacity mask art
2026-12-04 18:58:41 -08:00
.CooCoo 72801b126e Merge pull request #10896 from dotCooCoo/fix/new-group-in-shaper-group
Shaper: new groups and clipping masks no longer delete a Shaper group
2026-12-04 18:52:48 -08:00
dotCooCoo 108dbc0740 Merge main into fix/flatpak-portal-save-names 2026-12-04 18:51:15 -08:00
dotCooCoo 5bfe35996b xtask: the cache warm no longer builds integration test executables
Since #10163, `cargo xtask ci warm` built each test shard with
`--lib --bins --tests --no-run`, so the dependency-cache entry also held
the integration test executables. The gate-crates entry grew from about
4.7 GB to 10.3 to 10.5 GB, above the repository's 10 GB cache budget,
and the slowest test shard on main took 30 to 31 minutes afterwards
against 26 to 28 minutes before.

The warm build now builds the library and binary tests of each shard's
crates (`--lib --bins --no-run`) and skips a run of integration tests
alone, whose crate has its library tests built on another shard. The
integration tests take the same dependencies and dev-dependencies, so
the entry still holds every dependency the shards build. Cargo again
warns `unused dependency vectorcraft-testkit` for vectorcraft-cli in the
warm log; only that crate's integration tests use it.
2026-12-04 18:47:47 -08:00
.CooCoo 4be58b75cd Merge pull request #10144 from dotCooCoo/feat/release-containers
Artwork Cleanup: Release All Containers takes apart every group, clipping mask and compound path
2026-12-04 18:46:43 -08:00