Commit Graph
602 Commits
Author SHA1 Message Date
dotCooCoo c7893667de Fix #5311: on Wayland with no cursor theme, the tool cursor is not painted beside the system pointer
The framework port removed the check for a missing cursor theme. The
framework's cursor service paints a tool cursor only while the shell has
Caps::SYSTEM_CURSOR, and the shell always had it on Linux. On a Wayland
session where no cursor theme loads, winit cannot hide or set the
pointer, so the compositor's pointer stayed and the tool cursor was
painted next to it.

cursor_theme.rs gets theme_usable and theme_missing back, and
shell_caps leaves out Caps::SYSTEM_CURSOR on Wayland when no theme
loads. The window then shows the system pointer alone, as it did before
the port (#5734). Sessions with a cursor theme, X11 and XWayland are
unchanged.
2026-11-28 09:35:35 -08:00
.CooCoo 8cdd897b23 Merge pull request #9909 from dotCooCoo/feat/windows-thumbnail-handler
Windows: Explorer shows thumbnails of VectorCraft documents
2026-11-28 08:03:20 -08:00
dotCooCoo 6e165be442 Windows: thumbnail leaves OUT unchanged when it can't rename into place
`vectorcraft-cli thumbnail` wrote OUT with `write_atomic`, which copies
into the target when the folder refuses the temporary file or the
rename, so a run stopped by the time limit during that copy could leave
a partial PNG. It now writes a temporary file beside OUT and renames it
over OUT; when the rename fails it returns the error, removes its own
temporary file and leaves OUT unchanged. A file already at the
temporary name is left in place.

docs/target-app-parity.md names the DLL in the `regsvr32 /u` command.
2026-11-28 06:16:18 -08:00
dotCooCoo 845a6fd68a Windows: Explorer shows thumbnails of VectorCraft documents
The new apps/vectorcraft-thumbnail-handler crate builds
vectorcraft_thumbnail_handler.dll, a thumbnail handler (IThumbnailProvider
with IInitializeWithStream) for .vectorcraft, .drawcraft and .vctemplate
files. Explorer passes it the file's bytes. It writes them to a file in
%USERPROFILE%\AppData\LocalLow\VectorCraft\Thumbnails (the temp folder when
that can't be made), runs `vectorcraft-cli thumbnail --size N` from the DLL's
folder on that file, and returns the PNG as a top-down 32-bit bitmap with
premultiplied alpha, at most 1024 pixels on its longer side. A file larger
than 256 MiB, a failed run, or a run longer than 25 seconds returns an error,
and Explorer shows the file's icon. Explorer gives the handler the file's
bytes and not its path, so a linked image found only relative to the
document's folder shows the preview saved with it.

`regsvr32 vectorcraft_thumbnail_handler.dll` registers the handler for the
current user under HKCU\Software\Classes, and `regsvr32 /u` removes the class
key and each extension's ShellEx key that names it. The Windows packages do
not build, ship or register the DLL yet.

The COM code is Windows-only and has a module-scoped unsafe_code allowance.
The registry values, the stream limit, the PNG conversion and the
vectorcraft-cli run build on every system, and their tests run in CI.
2026-11-28 03:59:10 -08:00
dotCooCoo bd833469ca Linux: thumbnail tests clean up their temp files
Each thumbnail test now writes its documents and PNGs into its own
tempfile::TempDir, which is removed when the test ends, instead of a
per-process folder in the temp folder that was never removed. The
progress-doc line now says the tests cover everything but the
20-second limit.
2026-11-28 03:47:13 -08:00
dotCooCoo b12c27e518 Linux: file managers show thumbnails of VectorCraft documents
The deb, rpm and tar.gz packages install
share/thumbnailers/ai.storyteller.vectorcraft.thumbnailer for
application/x-vectorcraft and application/x-vectorcraft-template. It runs
the new `vectorcraft-cli thumbnail --size N IN OUT`, which opens the
document as the app does and writes an 8-bit RGBA PNG of the first
artboard, N pixels (1 to 1024, default 256) on its longer side.

A file larger than 256 MiB, one that can't be opened, a document that
shows nothing, or a run longer than 20 seconds writes no PNG and exits
non-zero, so the file manager keeps the file's icon. The Nightly deb and
rpm leave the entry out, as they leave out the MIME package.

The render moves into vectorcraft_render::encode::first_artboard, which
the embedded native preview also uses.
2026-11-28 02:39:17 -08:00
dotCooCoo d7711e41bc Merge main into fix/prefs-dir-font-scans-own-root 2026-11-28 01:28:42 -08:00
.CooCoo 0b933e7a36 Merge pull request #9127 from dotCooCoo/feat/plugins-web-worker
Plug-ins: the web build checks plug-ins and runs filters in a Web Worker
2026-11-28 01:04:54 -08:00
.CooCoo 150998c32d Merge pull request #8990 from dotCooCoo/feat/web-stylus-wheel
Web: the Paintbrush records an airbrush pen's stylus wheel
2026-11-28 00:10:14 -08:00
.CooCoo c2b8d7ce75 Merge pull request #9822 from dotCooCoo/fix/automation-args-handshake
Tests: automation root tests wait for the app to exit, not for a 30 s deadline
2026-11-27 23:35:58 -08:00
dotCooCoo 689b44ff13 Web: the stylus wheel reads into the framework's pen source
main moved the pen input onto the craft UI framework's PenSource, which
queues each reading and pairs the readings with a frame's pointer moves.
The web build now writes one reading per move, coalesced positions
included, with the wheel from Pointer Events' tangentialPressure, in
place of the StylusFeed moves the branch used before. The wheel rules
are unchanged: 0 reads as no wheel until the pen reports another value,
and another pen, the other end, a canceled press or a pen that left the
hover range reads it afresh.

The canvas-side pairing (frame_moves, StylusFeed::set_move) is gone on
main, so the branch's two ui-egui tests for it are dropped; the
vectorcraft-web tests check the readings written for each move.
2026-11-27 23:15:28 -08:00
dotCooCoo 875f49fc8d Merge main into feat/plugins-web-worker
The plug-in runtime keeps main's JavaScript plug-ins beside the web worker's module bytes and checked loads: a JavaScript plug-in's bundle is kept for the worker like a module, and load_checked loads it from its bundle.
2026-11-27 23:05:07 -08:00
.CooCoo f15b8fc2bb Merge pull request #9821 from dotCooCoo/fix/macos-clippy-dead-code
macOS: clippy -D warnings passes on the desktop app again
2026-11-27 22:19:42 -08:00
.CooCoo d9abaae27b Merge pull request #9805 from dotCooCoo/fix/issue-6310
Fix #6310: macOS Copy puts the PDF and SVG on the pasteboard
2026-11-27 21:44:21 -08:00
dotCooCoo fa7016fa68 Tests: an app that exits by the deadline passes when its output arrives later
exit_output stopped the binary and failed the test whenever a pipe's output
had not arrived by the 120 s deadline, even when the binary had already
exited and its readers were still delivering. It now checks the exit status
first: a binary that has exited gets 10 more seconds for its output, and only
a binary still running at the deadline is killed, reaped and reported.
2026-11-27 21:42:42 -08:00
.CooCoo b4fbaf9826 Merge pull request #9819 from dotCooCoo/fix/single-instance-test-handshakes
Single instance: hand-off tests no longer depend on how fast the machine is
2026-11-27 21:38:30 -08:00
.CooCoo a628629f7d Merge pull request #9857 from dotCooCoo/fix/file-locks-unlock-on-drop
Locks: dropping a lock holder unlocks its file
2026-11-27 21:37:36 -08:00
.CooCoo 77a609eed6 Merge pull request #9820 from dotCooCoo/chore/craft-libs-pin-51fcc3b0
Dependencies: take every craft-libs crate from craft-libs main at 51fcc3b041
2026-11-27 21:35:36 -08:00
dotCooCoo 74f5b8c1bd Nightly: a session that fails to start unlocks its lease
Session::begin locked the lease and could then return an error while
checking or writing the record, before a Session existed. On those
paths the lease file was dropped without unlocking, so a child process
that was starting kept the lock held.

The lock now lives in a Lease guard that unlocks on drop, and it covers
the ended session and both error paths. New tests hold a copy of the
handle while the record path is a folder and while the record cannot be
written.
2026-11-27 21:25:32 -08:00
dotCooCoo b3917f89e8 Locks: dropping a lock holder unlocks its file
The plug-in store turn, the Data Recovery area hold, the script grants
lock and the hang report file each released their file lock only by
closing the file. The lock stays held while any copy of the handle is
open, and a child process that any thread starts holds a copy until it
runs its program. While one was starting, the next turn on the plug-in
store waited, an app found its own recovery area busy, a grants change
timed out, and the next launch left a hang report alone.

Each holder now unlocks the file when it is dropped, as #9837 does for
the nightly session and the GPU start file. The engine's three locks
share one type, `store::LockedFile`. A left hang report that a launch
locks to read is held the same way.

Each new test keeps a copy of the handle open, drops the holder and
takes the lock again.
2026-11-27 18:58:40 -08:00
dotCooCoo b3d19b5760 Clipboard: the Wayland pipe tests send with no idle limit
a_read_stops_at_its_limit and a_copys_data_is_sent_through_the_pipe_and_closed
send more than a pipe holds through a default `Sends`, whose idle limit is
the app's 2 s `IDLE_WAIT`. When the test thread took more than 2 s between
reads, the send gave up: the first test then got the bytes sent so far
instead of the "larger than 2 MiB" error, and the second got only part of
the data.

Both tests now send through `Sends { idle: LONG, .. }`, as
pastes_that_read_nothing_hold_a_few_sends_at_most does, so each send ends
when the reader takes the data or closes the pipe. The second test still
checks that a default `Sends` uses `IDLE_WAIT`. Every assertion is kept.
2026-11-27 18:00:50 -08:00
dotCooCoo ee3e7611b4 GPU: an ended start unlocks the start file
The start file's lock had the same fault as the nightly lease: it was
freed only when the file was closed, so a child process that held a
copy of the handle until it ran its program kept the file locked. The
next start then took the file for another copy of the app that was
starting, and did not read or write it. Under cargo test,
gpu::tests::a_damaged_or_unreadable_start_file_is_ignored failed this
way while the installed-root test started its child process.

StartFile now unlocks the file when it is dropped, and a new test holds
a copy of the file's handle while a start ends. The test guard from
e94b74eea4 (by mockydevs), whose write side was removed in #8800, kept
only its read side and no longer stopped any test from starting a
program. The unlock replaces it, so the guard has been removed.
2026-11-27 16:54:40 -08:00
dotCooCoo 37567e8c5a Nightly: an ended session unlocks its lease
A nightly session's lease is a file lock, which the system frees only
when every copy of its handle is closed or the lock is unlocked. A
child process that any thread starts holds a copy of every handle until
it runs its program. When a session ended during that time, by its
controlled return or by the caught panic that frees the lease for the
successor a graphics restart starts, the next launch found the lease
held and kept no session record. Under cargo test, three
nightly_session tests failed this way while the installed-root test
started its child process.

Session now unlocks the lease when it is dropped. A new test holds a
copy of the lease's handle while a session completes and while one is
dropped, and the next session takes the lease each time.
2026-11-27 16:46:36 -08:00
dotCooCoo 51302b2de0 Tests: the installed profile root test runs in its own process
profile::tests::the_installed_root_is_used_once_and_must_be_absolute
(from #9233) installs the launch's profile root, which a OnceLock holds
for the rest of the process. Under cargo test the other tests of the
vectorcraft and vectorcraft-cli binaries run on threads of that process
and read the settings folder from it. When the root was installed while
prefs_dir::tests::the_font_scans_read_the_fonts_folder_next_to_the_settings
ran, the Fonts folder it had set and the settings folder it read next
differed, and the test failed. nextest runs each test in its own
process, so CI passed it.

The installed-root test now runs again in a child process of the test
binary, as crates/engine/src/tests.rs's in_own_process does, and the
font test asserts that no root was installed beside it. With one test
thread the font test runs after the installed-root test, so without
the change it fails on every run.
2026-11-27 16:29:40 -08:00
dotCooCoo 310f400b75 Tests: automation root tests wait for the app to exit, not for a 30 s deadline
The automation_args tests polled try_wait every 10 ms and failed when the
binary had not exited within 30 seconds, so a slow start on a loaded
machine failed a correct build. They now read stdout and stderr until both
pipes close, which happens when the binary exits, through the same helper
the help tests used, now moved to tests/it/main.rs as exit_output. The
helper's deadline only stops a binary that is still running.

The tests also remove DISPLAY, WAYLAND_DISPLAY and WAYLAND_SOCKET, as the
help tests do, so on Linux a binary that gets past argument parsing exits
with a display error that the exact stderr check rejects.
2026-11-27 16:04:28 -08:00
dotCooCoo 8aa8c22633 macOS: clippy -D warnings passes on the desktop app again
`cargo clippy -p vectorcraft --all-targets -- -D warnings` failed on
macOS with three dead-code errors:

- `launch_profile::child_args` and `child_args_for` have one caller,
  `single_instance`, which is not built on macOS. They and their two
  tests are now `cfg(not(target_os = "macos"))`, the same as that module.
- `app.rs`'s `discard_marked_text` lost its caller in #8800, where the
  craft UI framework took over IME routing. The framework's window layer
  discards the input method's marked text on macOS itself, so the app's
  copy is removed, along with the `NSTextInputContext` feature of
  `objc2-app-kit` that only it used.
2026-11-27 16:04:16 -08:00
dotCooCoo a0d922c0f2 Dependencies: take every craft-libs crate from craft-libs main at 51fcc3b041
All storytold/craft-libs crates and the hayro, krilla and linesweeper
patches move from b0d422cf0c to 51fcc3b041, the head of craft-libs main
(craft-libs#3718). craft-libs main now holds what was on next, so the
pin follows main as AGENTS.md rule 10 asks. The move brings the .cmx
writer (craft-libs#2807) and the macOS Save sheet Format menu
(craft-libs#3565). xtask pdf-deps expects the new rev.

The egui patches move from b15ffe9bfc to 932a73b285, the egui rev
craft-libs main pins: craft-ui-contract at 51fcc3b041 calls
Context::set_pointer_move_gate and Context::widgets_at, which
storytold/egui adds after b15ffe9bfc.

App changes the move needs:
- AppShell's title, options, status and hint slots take a version
  function (craft-libs c417cd3050). Each passes |_| None, so every slot
  still runs in every pass.
- PartResult::hover_pos is private (craft-libs 27e8a77145). The track
  cube reads the pointer through Cx::hover_pos, which is None when the
  cube is not hovered, as the old filter on hovered was.
- craft_dxf::write_binary returns a Result (craft-libs#3347, binary DXF
  writing fails on an invalid integer). The binary DXF import test
  unwraps it.

Test changes the move needs:
- An inline slider field now shows its slider before its number field,
  and both carry the field's name (craft-libs#3553). The panel harness
  types into the number field, the part that takes typing, and the
  plug-in effect test reads the number field's value.
- A painted tool cursor's marks use the overlay.cursor token (craft-libs
  a830ff539b), so the cursor test looks for that color.
- The Keyboard Shortcuts area tabs are named by their visible label,
  "Show:" (craft-libs 702cb295c6).
- The gradient stop's color mode menu now opens over part of the stop
  editor. The test clicks the Web Color Sliders row where it lies
  outside the editor, as before, and keeps the same checks.

Cargo.lock adds what the new craft-libs crates depend on
(craft-control-protocol, craft-font-os-windows, ed25519-dalek and its
dependencies, jpeg-encoder 0.7.1 for craft-image-codecs).
2026-11-27 15:53:24 -08:00
dotCooCoo a202ae3468 Single instance: hand-off tests no longer depend on how fast the machine is
The hand-off tests used the app's own waits: 500 ms to connect, 2 s for
the running app and 5 s for a launch. On a busy machine an exchange can
take longer, and then forward() fails, or a refusal test passes because a
wait ran out rather than because the app refused the message.

listen(), forward() and start_at() now take the waits as a Timeouts
value; the app passes the same 500 ms, 2 s and 5 s as before. The tests
pass a 60 s guard that only stops a hung test, wait for each delivery
on the channel, and check that each refused exchange ended with an
error from the other side, not with a wait that ran out.

With a 6 s stall added to receive(), the 10 single_instance tests pass;
with the stall and the app's own waits, four of them fail.
2026-11-27 15:41:49 -08:00
dotCooCoo a996a37bec Clipboard: tests wait for each read's answer instead of a time limit
Nine clipboard tests passed only when the test worker answered within
the app's own read limits (2 s for text and file lists, 10 s for a
paste's bitmap): on a loaded machine a slow answer failed them.

The read limits are now a `Waits` value that each `Loads` carries, set
to `Waits::APP` (`LOAD_WAIT`, `IMAGE_WAIT`) where the app opens its
clipboard. A read kept for a later paste takes the same limits, and
the core protocol's paste and reads use them instead of the constants.
Tests pass `Waits::UNTIL_ANSWERED`, so each wait ends when the answer
comes, the owner is released or the worker stops. A wait past the
clock's range has no limit. The values the app uses are unchanged.

The tests' own 5 s and 600 s waits are also unbounded now. Every
assertion is kept.
2026-11-27 15:14:56 -08:00
dotCooCoo ecb097d084 Fix #6310: macOS Copy puts the PDF and SVG on the pasteboard
On macOS, Copy and Cut put one format on the pasteboard: the text (a
type-only copy's text, or the SVG markup with Include SVG Code), else
the picture as TIFF. The PDF that the Clipboard Handling PDF setting
makes and the SVG that Include SVG Code makes were dropped, so apps
that paste vector art got only a TIFF or plain text.

After arboard writes the text or the picture, the other formats are
now added to the same pasteboard item: the SVG as public.svg-image,
the PDF under the system's PDF type and the PNG as public.png, in the
order Copy offers them. A type that can't be added is logged, and
what arboard wrote still carries the copy. This follows craft-libs'
offer/macos.rs. The ownership check still compares the text or
picture arboard wrote.

The Clipboard Handling sentence for PDF now names Windows and macOS.
2026-11-27 13:33:34 -08:00
dotCooCoo dc333ada97 Merge main into feat/plugins-web-worker
Worker completion preserves unapplied typing and discards stale output.
2026-11-26 10:21:21 -08:00
dotCooCoo 8d9832ca9b Merge main into feat/scripts-startup-scripts 2026-11-26 09:08:48 -08:00
BFlat f040538a39 Merge pull request #9007 from dotCooCoo/feat/windows-stylus-wheel-wintab
Windows: the Paintbrush reads an airbrush pen's stylus wheel through Wintab
2026-11-26 23:20:15 +07:00
dotCooCoo e015b20396 Merge main into feat/scripts-startup-scripts 2026-11-26 07:31:10 -08:00
BFlat 2c1aebf808 Merge pull request #9054 from dotCooCoo/fix/plugin-grants-integrity
Plug-ins: an edited grants file grants nothing, and its plug-ins ask again
2026-11-26 17:00:02 +07:00
dotCooCoo 3055ea5757 Merge main into feat/scripts-startup-scripts 2026-11-25 23:39:37 -08:00
dotCooCoo 5668a3428e Windows: a pen keeps its airbrush's wheel while another tablet's cursor is read
The pen that took the Wintab readings now reads the latest packet of its
own cursor whenever that cursor is still near the context, instead of
only when it is the one cursor read. Another tablet's airbrush moving
while the pen is held still no longer drops the pen's wheel.
2026-11-25 21:05:33 -08:00
dotCooCoo 5ff353a23b Windows: the Wintab reader keeps each pen's end and asks a failed cursor query again
- Each pen's end is kept by its pointer id, so only the same pen turning over
  starts the readings afresh; another pen's message with the other end does not.
- A cursor whose WTInfoW query failed is asked again 2 s of the message clock
  later, and only a cursor the driver describes without a wheel is cached as
  having none.
- Whether the app is active is asked again right before WTOpenW, after the
  close and WTInfoW calls before it.
- docs/target-app-parity.md: a pen first reads the wheel from a packet within
  200 ms of its message, then holds the readings until they start afresh.
2026-11-25 20:47:35 -08:00
dotCooCoo cb1361c889 Merge main into feat/plugins-web-worker 2026-11-25 18:45:04 -08:00
dotCooCoo 0bda609041 Merge main into feat/windows-stylus-wheel-wintab 2026-11-25 17:56:18 -08:00
dotCooCoo 7418753350 Windows: the Wintab context opens only while the tool uses the wheel
The Paintbrush with a brush whose Size or Width is on Stylus Wheel with
a range the wheel can change, or the Eraser with a value on Stylus Wheel
and a variation above 0, uses the wheel. The app asks the active tool
(Tool::reads_wheel) once a frame and tells the host when the answer
changes (Services::stylus_wheel). Until a tool uses the wheel, a pen
message loads no Wintab32.dll, installs no hook, subclasses no window
and opens no context; when it stops, the context closes.
2026-11-25 17:53:48 -08:00
dotCooCoo b19905b054 Merge main into fix/issue-9051 2026-11-25 14:55:35 -08:00
dotCooCoo 0e701ffc1a Merge main into feat/plugins-web-worker 2026-11-25 14:21:03 -08:00
dotCooCoo 950602cb84 Merge main into fix/plugin-grants-integrity 2026-11-25 13:57:17 -08:00
dotCooCoo 2df812df41 Merge main into feat/scripts-startup-scripts 2026-11-25 13:49:06 -08:00
BFlat 694f66a7bd Look: Home's Learn below the presets, and the title bar's menus, cursor and tab close as production's (#9322)
* Home: Learn after the presets, as one row of skill cards

The presets stand right under New and Open again, as in 0.24.1, and Learn follows them before Community. Learn is a
Column page section whose heading row ends in the Quick skill guide link (learn.skills), over a raised card per
skill: its title over its tutorials as plain links (learn.show), a page link gap apart. The four cards stand in one
row in a full-width column and two by two in a narrower one. The section is about half as tall as before (161
points at 1600x1000, was 333).

* Chrome: menu titles, title bar cursor and tab close button as production's

The menu bar's titles stand as production's egui buttons (MenuTitleLook::Button): 24 high, 4-point
corners, 2 points beside the text, 6 apart, in place of square 26-high rows padded 6. The title
bar and the panel headers keep the arrow, over the menu titles too (MoveBandCursor::Arrow), where
the move band showed its open hand. A document tab's x is a 12-point glyph that brightens under
the pointer with no fill (TabCloseLook::Glyph), in place of a fill as tall as the tab.

Needs craft-libs fix/vc-look10-chrome (MenuTitleLook, MoveBandCursor, TabCloseLook); the pin moves
when it lands on next.

* craft-libs: next b0d422cf0, with the menu title, move band cursor and tab close looks VectorCraft sets
2026-11-26 02:04:33 +07:00
BFlat 9cc119ed40 Merge pull request #9279 from Hassan1305/fix-9183-sole-gpu
GPU start: try the adapters that crashed an earlier start when no other is left
2026-11-26 01:43:23 +07:00
dotCooCoo f906a0f814 Merge main into feat/scripts-startup-scripts 2026-11-25 09:16:13 -08:00
BFlat e4347f0d6f Look: production's breathing room across VectorCraft (type size, menus, dialogs, Home, panels) and main's lib test fixes (#9292)
* Theme: type at the size production draws it. Production set Inter at 92% of its nominal size, so its 13-point body, 12.5-point labels and 11.5-point captions read at 12, 11.5 and 10.5 points; SIZES took the nominal sizes, which drew every text about 8% larger than production on the same rows. Body and strong body 12, labels 11.5, captions 10.5, line heights kept. Dialog buttons at least 72 points wide, as production's.

* Theme: menus and dialogs as production spaces them. 29-point menu rows (production's 24-point rows 5 points apart), dialogs 22 points inside their edge (production's dialog margin) and 28-point dialog buttons. Needs a craft-libs rev with size.row.menu, size.dialog.button_height and space.pad.dialog (fix/vc-look9-metrics): on an older rev SIZES does not parse. Land it after that rev move.

* Home: production's rhythm through the framework's page sizes: 9 from title to subtitle, 27 to New and Open, which stand 28 high with 16 points beside their labels and 14 apart, 33 between sections, 15 under a heading, the community links in 24-point rows 5 apart and in the link colour alone (LinkLook::Plain on Home only); Learn's skills a heading gap apart, each title muted over its tutorials, which stand as tall as New and Open, as production's secondary buttons did

* Swatches: thumbnails at production's sizes and the footer split as production

The thumbnail views give the browser zooms of 1/4, 1/3 and 2/3 on the large
thumbnail: 12, 16 and 32 point tiles, production's 11, 15.5 and 30. The
library panels' saved view follows the new zooms. Swatch Libraries, Show
Swatch Kinds and the edit action stand at the footer's start edge; New Color
Group, New Swatch and Delete at its end edge.

* Color Guide: the footer split as production

Limit to Library stands at the start edge; Edit or Apply Colors, Save
selected colors and Save color group at the end edge, in that order.

* Graphic Styles: 40-point tiles in Thumbnail View

Thumbnail View sets its own zoom, as the list views do, so its tiles are
production's 40 points and no longer keep a list view's zoom.

* Align panel: the reference app's groups and rules: the align and distribute buttons in groups a section gap apart, a rule between Align Objects and Distribute Objects, and Distribute Spacing and Align To on one line with a rule between them

* Transform panel: a rule over the shape properties and over the options, as the reference app had

* Info panel: the two columns of numbers are equal halves of the panel, as the reference app had them

* Layers panel: the footer's layer count is a text unit of the footer row in the text ink, as the reference app showed it

* Libraries panel: the no-library notice shows the library icon over its title, as the reference app did

* craft-libs: next 5442cfb97, with the page rhythm tokens, LinkLook, the menu row height and the dialog padding and button height the look commits set

* Docking test: the report names the panel that has the keys after a click in its search field. A press on a dock tab now leaves the keys where they were (craft-libs TabStrip::keeps_focus), so the tab click alone no longer focuses the panel; the search lookup is a harness helper both tests use

* craft-libs: next 6fcf61c81, a document window raised as Presentation Mode ends comes to the front

* Canvas drops: a canvas takes no drop where a floating panel's OS window lies over it

The canvas's drop catcher accepted art carried off its own canvas wherever
the pointer was over the canvas, including where a floating panel's OS window
lies over it. The main window's pass runs first, so the canvas took the drop
and resumed the move, and the panel under the pointer got nothing. Every
target of the catcher now refuses a point that panel_docking::os_window_at
reports covered, the same rule the Selection tools' carry uses.

It used to work by accident: the carry's covered test flickered every other
frame, the move dispatched a drag in those frames, and the changed revision
made the canvas refuse the carried art until the release.

* Safe Mode: the choice about a stopped plug-in opens on the host at once

The choice was put on the host's startup queue, which the host drains
only at the start of its next pass. On main the first frame happened to
run a second pass (layout memory asked for a rerun), so the choice was
open by the end of the launch frame; the framework now settles that
frame in one pass, and the choice stayed queued until the frame after,
where an agent's ui.dialog.* found no hosted dialog open. The choice is
only asked for on an empty host, so opening it directly is what the
queue would do one pass later.

* Image Trace sampler test: a step runs until the press lifecycle reported its events

run_ui stopped stepping once egui had seen every pointer event of the
step. The press lifecycle reports one phase a pass, so a pass that
brings a release and the next press (two clicks in one frame) reports
the press's Down one pass later and holds its release for the pass after
that, asking for a repaint. The step ended before that pass, and the
second click of review_597048_two_ordinary_clicks_in_one_frame_survive_
sampler_correction never reached the tool, so the group did not isolate.

It passed before by accident: with craft-libs a4b6d3b6ca every other
frame ran a second pass, and the held release landed in it. With
6fcf61c81 each of these frames runs one pass. The step now also counts
the phases owed and runs empty frames until the passes have caught up.

* Shapes add-on: the helper that maps a shape tool to its icon is icon_for_shape, so the icon test no longer reads its tool ids ("polygon", "no-such-tool") as icon ids

* Native panel window test: drop the art on the first graphic style's tile

The test dropped the art 60 x 120 points into the Graphic Styles window. Since
Thumbnail View's tiles are 40 points (df940cff4e) the tile row ends at 116
points, so that point lies in the empty room below the tiles, which takes no
drop, and the panel made no style. The test now finds the first style's tile
by its name in the window's access tree and drops the art there. The test
host keeps each window's named access nodes for that.
2026-11-25 23:23:47 +07:00
dotCooCoo 91cba3db04 Merge main into feat/windows-stylus-wheel-wintab
# Conflicts:
#	docs/target-app-parity.md
2026-11-25 05:10:33 -08:00