On Windows the app-drawn frame's hit test hands the title bar to the OS,
which runs the move: the app sees neither the press nor the release. A
new primary_down service (GetAsyncKeyState) tells when the button goes
up; a window that moved and ends with the OS pointer on its bar over the
main window's tab strip docks. The drop target is the tab strip, or a
tab-high band at the top of the document area where no strip shows; the
app looks again every 50 ms while such a move lasts and repaints after
docking, so the OS window closes at once.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Keeps both test modules in crates/format/tests/it/main.rs: main's camera_raw_roundtrip and this PR's channel_mixer_cmyk.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The press on the floating window's title bar notes where the window is;
the release that ends the OS move (the runtime adds it) docks the document
back into the main window's tabs when the window moved and the pointer is
over the tab strip, or over the document area while nothing is docked.
A click on the bar, or a drop elsewhere, keeps the window floating.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Opening a .pat file always sends group (the file stem), as the other
preset import commands do, but the schema only listed path and data, so
dispatch rejected the import. Document the key; the handler still puts
patterns in the library and does not create a group.
Also stop the shared batch/Image Processor WebP test from passing
Batch's steps to Image Processor, which does not take that parameter.
The window is placed with DocumentWindow::first_placed, whose rect the
framework re-applies on every pass; the rect never followed the window, so
a title-bar drag or an OS move snapped back at the next pass. The stored
rect now follows the OS window's outer rect while the window is normal.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The typed dispatch schema rejected parameters callers already use:
- file.export.artboardsToFiles already reads extensionColor when
extension is "other", but the key lived only in the notes, so the
schema reader treated it as unknown.
- file.close tests and UI helpers pass discard:true, an older spelling
of save:discard; accept that key the same way force is accepted.
- A find-and-replace order test passed layers to groupFromLayers; use
the documented layer key.
- The shared batch/Image Processor input test passed Batch's steps to
Image Processor, which does not take that parameter.
No command behaviour changes.
With the app-drawn frame (the default on Windows and Linux) DocumentWindow
leaves the title bar to the app's body, and the floating document window
drew only its canvas: no title, nothing to drag, no caption buttons. The
body now starts with the framework TitleBar (the document's tab title, the
move band, Minimize, Maximize and Close); Close goes the same way as the OS
close. Nothing is drawn with the system frame or on the fallback layer,
which has its own title row.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Rows of craft controls are craft Rows, scopes that only set an id salt are
with_env scopes, the Brush Settings panel sits in a craft Stack, the colour
chips in a centred craft Row, and Preferences' Advanced graphics rows in a
collapsible craft Section. The controls in them read the body's flow facts
(label column, row direction) again, which raw egui containers hid.
embed::before_ui takes the native window, so on Windows the runtime answers the
window's hit test and resize starts at the press (craft-libs#2995). It also fits
a window bigger than its display once, which replaces work_area::fit_window.
Adds the font picker tests for craft-libs#3010: typed keys stay in the search,
and hover previews without a history step.
* raw,camera_raw: bump craft-develop to 7631ed550 and add explicit parity tests (#587)
* raw,camera_raw: cut over develop_sensor demosaic and camera_raw::develop to craft_develop (#587)
* raw,camera_raw: fix craft_develop field names and test imports (#587)
* camera_raw: fix clippy excessive_precision and unnecessary cast lints
* raw,camera_raw: use exact gaussian_taps for sharpening, silence camera_raw_gpu dead_code, update post-cutover pins
* raw,camera_raw: fix highlights sign, <0.3px sharpen noop, non-Bayer/fused parity, and gpu test ignores
* engine: update camera_raw_filter_legacy_baseline_pixels to post-cutover craft_develop baseline
* raw,camera_raw: early-exit noop sharpen, exact full desat, PAD=6 fused margin
* raw,camera_raw: guard <0.3px texture/clarity blur and route fused band demosaic through craft_develop
* io: update default RAW Open baseline pins for craft_develop::sensor::demosaic reflect borders
* io: add Windows libm FNV-1a hash pins for RAW Open baselines
Keep main's command registry split, and carry the parameter-schema docs
and composed-layer option placement from this branch into the new table
modules.
The artcraft k8s main runners fail every_compositor_pipeline_builds with a
GLES adapter-context deadlock, mcp_wait with a 6000x6000 Gaussian Blur that
runs out of working memory, and occasionally hostile_modules_fail_quickly
when memory.grow is slow. Hosted ubuntu-24.04 and Windows stay green, and
the same tests have both passed and failed on k8s without a product-code
change. Serialize GL pipeline builds and the mcp_wait filters, and give the
hostile-module wall-clock bound more room.
#16051 adds a test that lists every tool handing a Ctrl/Cmd press to the
Move tool. It was written before batch 27 (#16358) brought the Adjustment
Brush tool to main, and that tool takes the stand-in like the other
brushes, so the test's list now misses it. Add it in Tool::ALL order.
Co-Authored-By: hnoerenberg <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>