Under the canvas's precise cursor (Other Cursors > Precise, swapped by Caps Lock) the Lasso and the Polygonal Lasso
show the crosshair, its centre the point the outline takes, with the operation's badge. Before, Caps Lock left the
arrow and the lasso icon in place. The Magnetic Lasso already showed its width circle there.
A trial toggles Caps Lock off, on and off over the Lasso and the Polygonal Lasso and checks the crosshair comes and
goes; the Magnetic Lasso's width-circle trial stays alongside it.
Split out of #3398 at review.
Co-authored-by: citrunade <301939363+citrunade@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts:
crates/video/Cargo.toml
crates/video/src/frame/convert.rs
Ported in this merge: main gained the Theora codec (#2052). crates/video/Cargo.toml's craft-media dev features are the union (avi, bink, isobmff, mpegts, ogg, vmd) with this PR's bink_binkdec example, and frame/convert.rs keeps both TryFrom impls (Bink, then Theora). Fixes the earlier gate failure: the craft facade's [features] were regenerated (UPDATE_FACADE=1), adding media-bink, video-bink and video-bink-decode. craft-video/craft-media tests pass locally (the three ffv1/av1 failures under --all-features also fail on main here because of the local ffmpeg), and clippy and the facade test pass.
Conflicts:
crates/video/Cargo.toml
Delta since approval (b2756f6f7, reject out-of-frame picture bounds + test) reviewed. Ported to main's layout: tests/theora.rs is now tests/it/theora.rs, registered in tests/it/main.rs under the theora feature; Cargo.toml takes main's single [[test]] it; craft facade gets video-theora, video-theora-decode, video-theora-encode.
Conflicts:
crates/video/src/frame/tests.rs
crates/video/tests/it/main.rs
frame/tests.rs and tests/it/main.rs keep both the PR's Bink cases and main's new rawvideo cases.
Main made craft-media an optional dependency of craft-video, enabled by
the features that use it; the Bink decoder reads craft_media::CodecParams,
so bink-decode enables it like vp8-decode and av1-decode do.
Conflict: main split install.rs into install/{linux,macos,windows,freebsd,tests}.rs. Ported this PR's change into that layout unchanged in substance: retry_busy_detach* stay in install.rs; detach_with and the clear_mounts retry are in install/macos.rs (its stderr test as #[craft_ui::testing::trial]); the retry-policy tests and the two busy-mount tests are in install/tests.rs as #[trial] (craft-update runs harness = false), and the clear_mounts control now pins Permission denied as in this PR. Local: craft-update lib tests (new retry tests run) and clippy -D warnings pass.
Conflicts:
crates/text/src/lib.rs
Conflict: crates/text/src/lib.rs module docs; this PR's embed paragraph sits beside main's module list. Ported to main's test harness: craft-text runs tests through craft_ui's #[trial] (harness = false), so the embed test is #[trial] and its module is pub(crate) for craft_ui::registry. Local: clippy -D warnings clean, embed test passes.
Main builds the codec tests into the lib test under crate::integration,
so the oracle test added here calls
crate::integration::codecs::testkit::ffmpeg_or_skip like its neighbours.
crates/craft/Cargo.toml [features] is checked against the member
manifests (crates/craft/tests/features.rs); this adds the line the new
member feature needs, as UPDATE_FACADE=1 would write it.
crates/craft/Cargo.toml [features] is checked against the member
manifests (crates/craft/tests/features.rs); this adds the line the new
member feature needs, as UPDATE_FACADE=1 would write it.
Conflicts:
crates/media/Cargo.toml
crates/media/src/id.rs
crates/video/Cargo.toml
crates/video/src/lib.rs
Conflicts (ported to main's test layout): craft-media and craft-video no longer have per-file [[test]] entries. oracle_bink is now a cfg(feature = "bink") mod in crates/media/tests/main.rs, and bink_oracle.rs moved to crates/video/tests/it/ behind cfg bink-decode. The codec table row in lib.rs uses main's unlinked `name` form. id.rs tests that main deleted stay deleted. Local: bink tests in both crates and clippy -D warnings (bink features) pass.
Conflicts:
crates/dxf/src/lib.rs
crates/dxf/tests/it/binary_write.rs
Conflict: main deleted the tests this PR edited (gate-sizing pass), so those edits are dropped; this PR's new test is kept as written. Local: craft-dxf tests (162) and clippy -D warnings pass.
Conflicts:
crates/svg/src/paths.rs
Conflict in crates/svg/src/paths.rs (tests): main's test cleanup removed a_fragment_is_read_in_millimetres_and_groups_are_walked and errors_name_the_file_and_the_problem; kept that removal and this PR's new zero-size tests and helper. Diff against main is the same 165+/7- as the PR. Ran: cargo test -p craft-svg --lib paths (21 passed), clippy -p craft-svg --all-targets -D warnings (clean).
Conflicts:
crates/exr/src/decode.rs
crates/exr/src/lib.rs
Conflicts in crates/exr/src/lib.rs and decode.rs (module docs only): main dropped the intra-doc links for feature-gated modules and added pub mod scanline; kept that, with this PR's write bullet in main's unlinked form and its crate::write sentence. Ran: cargo test -p craft-exr --all-features (180 passed), clippy -p craft-exr --all-targets --all-features -D warnings (clean).
Conflicts:
crates/video/Cargo.toml
crates/video/src/lib.rs
Conflicts: crates/video/src/lib.rs (main dropped the intra-doc links in the codec table, kept that and added the rawvideo row), crates/video/Cargo.toml (kept main's ffv1 = ["dep:craft-media"] with this PR's rawvideo feature; main merged the [[test]] binaries into tests/it, so tests/rawvideo.rs moved to tests/it/rawvideo.rs behind feature rawvideo). Ran: cargo test -p craft-video --features rawvideo --lib --test it rawvideo (4+7 passed), clippy -p craft-video --all-targets --features rawvideo -D warnings (clean).
Conflicts:
crates/audio/Cargo.toml
Conflict in crates/audio/Cargo.toml: main folded every [[test]] binary into the library's test executable (tests/main.rs); dropped the [[test]] list and added s302m_oracle to tests/main.rs behind feature s302m. Ran: cargo test -p craft-audio --lib --features s302m s302m (8 passed), clippy -p craft-audio --all-targets --features s302m -D warnings (clean).
Conflicts:
crates/audio/src/alac/encoder.rs
Conflict in crates/audio/src/alac/encoder.rs: main's test cleanup removed bad_input_is_refused; kept that removal and this PR's new silence/quiet/shift tests. Ran: cargo test -p craft-audio --lib --features alac-decode,alac-encode alac (13 passed).