From 14e4067fc76e317bbeaad2406ff0786c8cd8f03f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20Mittelst=C3=A4dt?= <62167861+TheGalitube@users.noreply.github.com> Date: Thu, 12 Nov 2026 12:20:38 +0000 Subject: [PATCH 1/5] Add Stroke Emboss to the Bevel & Emboss style menu Fixes #13413 Co-Authored-By: GPT-6-Luna --- crates/ui-egui/src/dialogs/layer_style.rs | 3 ++- crates/ui-egui/src/dialogs/layer_style/tests.rs | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/crates/ui-egui/src/dialogs/layer_style.rs b/crates/ui-egui/src/dialogs/layer_style.rs index 65772e1573..26bf0b8a8a 100644 --- a/crates/ui-egui/src/dialogs/layer_style.rs +++ b/crates/ui-egui/src/dialogs/layer_style.rs @@ -105,7 +105,8 @@ fn fresh_params(kind: &str, light: f32, user: Option<&Value>) -> Value { fn spec(kind: &str) -> &'static [(&'static str, &'static str, P)] { const POS: &[(&str, &str)] = &[("outside", "Outside"), ("inside", "Inside"), ("center", "Center")]; const GSTYLE: &[(&str, &str)] = &[("linear", "Linear"), ("radial", "Radial"), ("angle", "Angle"), ("reflected", "Reflected"), ("diamond", "Diamond")]; - const BSTYLE: &[(&str, &str)] = &[("inner", "Inner Bevel"), ("outer", "Outer Bevel"), ("emboss", "Emboss"), ("pillow", "Pillow Emboss")]; + const BSTYLE: &[(&str, &str)] = + &[("inner", "Inner Bevel"), ("outer", "Outer Bevel"), ("emboss", "Emboss"), ("pillow", "Pillow Emboss"), ("stroke", "Stroke Emboss")]; const TECHNIQUE: &[(&str, &str)] = &[("smooth", "Smooth"), ("chiselHard", "Chisel Hard"), ("chiselSoft", "Chisel Soft")]; const DIR: &[(&str, &str)] = &[("up", "Up"), ("down", "Down")]; const SRC: &[(&str, &str)] = &[("edge", "Edge"), ("center", "Center")]; diff --git a/crates/ui-egui/src/dialogs/layer_style/tests.rs b/crates/ui-egui/src/dialogs/layer_style/tests.rs index 95ccbed22c..749f4cb054 100644 --- a/crates/ui-egui/src/dialogs/layer_style/tests.rs +++ b/crates/ui-egui/src/dialogs/layer_style/tests.rs @@ -329,6 +329,13 @@ fn new_effects_start_from_the_made_default() { assert_eq!(shadow["params"]["size"], defaults("dropShadow")["size"]); } +#[test] +fn bevel_emboss_style_choices_include_stroke_emboss() { + let style = spec("bevelEmboss").iter().find(|&&(key, _, _)| key == "style").map(|&(_, _, param)| param); + + assert!(matches!(style, Some(P::Choice(options)) if options.contains(&("stroke", "Stroke Emboss")))); +} + #[test] fn every_kind_has_spec_and_defaults() { for &(kind, _) in KINDS { From 81b823e59f3d2e00beede514ce3665739d3dfb40 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sat, 28 Nov 2026 23:50:13 +0100 Subject: [PATCH 2/5] Test that a Stroke Emboss bevel is a Style menu choice (#13413) The Bevel & Emboss style list now lives in craft-libs (EffectSpec::photoshop); the menu entry itself comes with the craft-libs pin that carries storytold/craft-libs#4160. Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/dialogs/layer_style/tests.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/crates/ui-egui/src/dialogs/layer_style/tests.rs b/crates/ui-egui/src/dialogs/layer_style/tests.rs index 22c649cd31..a99f9c7976 100644 --- a/crates/ui-egui/src/dialogs/layer_style/tests.rs +++ b/crates/ui-egui/src/dialogs/layer_style/tests.rs @@ -500,6 +500,20 @@ fn unchanged_global_light_angle_is_not_applied() { assert_eq!(app.session.active().unwrap().doc.global_light.angle, light); } +/// #13413: a Stroke Emboss bevel drafts as a Style the page's menu offers, so the dropdown names it, and an +/// unchanged OK keeps it Stroke Emboss. +#[test] +fn stroke_emboss_bevel_is_a_style_menu_choice() { + let (s, style) = row(&[("layer.layerStyle.bevelEmboss", json!({"style": "stroke"}))]); + let bevel = style.instances(EffectKind::BevelEmboss).next().unwrap(); + assert_eq!(text(&style, bevel, "style").as_deref(), Some("stroke")); + let spec = EffectSpec::photoshop(EffectKind::BevelEmboss); + let Some(FieldKind::Choice(choices)) = spec.field("style").map(|f| &f.kind) else { panic!("Style is a choice") }; + assert!(choices.iter().any(|c| c.value == "stroke"), "the Style menu offers Stroke Emboss"); + let Effect::BevelEmboss(b) = &layer_effects(&s)[0] else { panic!("bevel") }; + assert_eq!(b.style, photocraft_doc::effects::BevelStyle::StrokeEmboss); +} + #[test] fn unedited_bevel_shading_keeps_imported_precision() { for size in [None, Some(12.0)] { From a48d4fc2d40a511fdc1e2496ee0ebefd540c6318 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 07:23:39 +0100 Subject: [PATCH 3/5] Pin craft-libs at storytold/craft-libs#4160's merge commit f1b53230 Brings the Stroke Emboss entry in the Bevel & Emboss Style menu (#13413). Co-Authored-By: Claude Opus 5.5 --- Cargo.lock | 191 +++++++++++++++++++++++++++-------------------------- Cargo.toml | 82 +++++++++++------------ 2 files changed, 137 insertions(+), 136 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index eac136adde..37e0a34cad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1365,7 +1365,7 @@ dependencies = [ [[package]] name = "craft" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-automation", "craft-behavior", @@ -1406,7 +1406,7 @@ dependencies = [ [[package]] name = "craft-affinity" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "crc32fast", "flate2", @@ -1427,7 +1427,7 @@ dependencies = [ [[package]] name = "craft-appkit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "block2 0.6.2", "objc2 0.6.5", @@ -1438,7 +1438,7 @@ dependencies = [ [[package]] name = "craft-atomic" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "rustix 1.1.6", ] @@ -1446,7 +1446,7 @@ dependencies = [ [[package]] name = "craft-automation" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "base64 0.23.1", "craft-behavior", @@ -1471,7 +1471,7 @@ dependencies = [ [[package]] name = "craft-behavior" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "accesskit", "bitflags 2.13.2", @@ -1489,7 +1489,7 @@ dependencies = [ [[package]] name = "craft-browse" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-docpath", @@ -1507,7 +1507,7 @@ dependencies = [ [[package]] name = "craft-cloud-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "egui", ] @@ -1515,7 +1515,7 @@ dependencies = [ [[package]] name = "craft-cms" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "md-5", "rayon", @@ -1524,12 +1524,12 @@ dependencies = [ [[package]] name = "craft-codepage" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" [[package]] name = "craft-color" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "serde", ] @@ -1537,7 +1537,7 @@ dependencies = [ [[package]] name = "craft-color-transform" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-cms", "craft-color", @@ -1547,7 +1547,7 @@ dependencies = [ [[package]] name = "craft-color-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-cms", @@ -1567,7 +1567,7 @@ dependencies = [ [[package]] name = "craft-control" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-ai-agents", "craft-atomic", @@ -1583,7 +1583,7 @@ dependencies = [ [[package]] name = "craft-control-protocol" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "getrandom 0.3.4", "serde_json", @@ -1593,7 +1593,7 @@ dependencies = [ [[package]] name = "craft-crs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-metadata", "craft-xml", @@ -1603,7 +1603,7 @@ dependencies = [ [[package]] name = "craft-crw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "thiserror 2.0.21", ] @@ -1611,7 +1611,7 @@ dependencies = [ [[package]] name = "craft-dds" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "rayon", ] @@ -1619,7 +1619,7 @@ dependencies = [ [[package]] name = "craft-develop" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-color", "craft-color-transform", @@ -1634,7 +1634,7 @@ dependencies = [ [[package]] name = "craft-develop-model" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-geom", "craft-metadata", @@ -1646,7 +1646,7 @@ dependencies = [ [[package]] name = "craft-dialogs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "block2 0.6.2", "craft-appkit", @@ -1672,7 +1672,7 @@ dependencies = [ [[package]] name = "craft-docpath" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "serde", ] @@ -1680,7 +1680,7 @@ dependencies = [ [[package]] name = "craft-draw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-color-ui", @@ -1699,12 +1699,12 @@ dependencies = [ [[package]] name = "craft-eps" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" [[package]] name = "craft-file-formats" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-eps", "craft-idml", @@ -1722,7 +1722,7 @@ dependencies = [ [[package]] name = "craft-flags" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-atomic", "dirs", @@ -1732,7 +1732,7 @@ dependencies = [ [[package]] name = "craft-font-catalog" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "fontique", "harfrust 0.13.3", @@ -1747,7 +1747,7 @@ dependencies = [ [[package]] name = "craft-font-manager" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-font-catalog", @@ -1767,7 +1767,7 @@ dependencies = [ [[package]] name = "craft-font-os-windows" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "windows-registry", "windows-sys 0.61.2", @@ -1776,7 +1776,7 @@ dependencies = [ [[package]] name = "craft-font-store" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "cap-primitives", "craft-atomic", @@ -1799,12 +1799,12 @@ dependencies = [ [[package]] name = "craft-fonts-build" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" [[package]] name = "craft-geom" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "serde", ] @@ -1812,7 +1812,7 @@ dependencies = [ [[package]] name = "craft-heif" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "heic-rs", "rayon", @@ -1821,7 +1821,7 @@ dependencies = [ [[package]] name = "craft-host" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "bitflags 2.13.2", "craft-i18n", @@ -1834,7 +1834,7 @@ dependencies = [ [[package]] name = "craft-i18n" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "chrono", "fixed_decimal", @@ -1862,7 +1862,7 @@ dependencies = [ [[package]] name = "craft-idml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-xml", "craft-zip", @@ -1872,7 +1872,7 @@ dependencies = [ [[package]] name = "craft-image-codecs" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-dds", "craft-heif", @@ -1900,7 +1900,7 @@ dependencies = [ [[package]] name = "craft-imaging" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-color-ui", @@ -1923,7 +1923,7 @@ source = "git+https://github.com/storytold/craft-libs?rev=3eb5b528b08211844bc5c9 [[package]] name = "craft-jpeg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "thiserror 2.0.21", ] @@ -1931,7 +1931,7 @@ dependencies = [ [[package]] name = "craft-keymap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-host", "craft-i18n", @@ -1946,7 +1946,7 @@ dependencies = [ [[package]] name = "craft-kra" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-xml", "craft-zip", @@ -1956,7 +1956,7 @@ dependencies = [ [[package]] name = "craft-layers" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-i18n", @@ -1970,7 +1970,7 @@ dependencies = [ [[package]] name = "craft-menu" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-host", @@ -1988,7 +1988,7 @@ dependencies = [ [[package]] name = "craft-metadata" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "brotli-decompressor 6.3.2", "chrono", @@ -2000,7 +2000,7 @@ dependencies = [ [[package]] name = "craft-ora" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-xml", "craft-zip", @@ -2010,7 +2010,7 @@ dependencies = [ [[package]] name = "craft-pages" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-keymap", @@ -2026,11 +2026,11 @@ dependencies = [ [[package]] name = "craft-pcraft-bundle" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "blake3", "craft-atomic", - "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d)", + "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722)", "craft-zip", "ruzstd", "thiserror 2.0.21", @@ -2050,7 +2050,7 @@ dependencies = [ [[package]] name = "craft-pcraft-format" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "flate2", "serde", @@ -2061,7 +2061,7 @@ dependencies = [ [[package]] name = "craft-pdf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "bytemuck", "flate2", @@ -2076,7 +2076,7 @@ dependencies = [ [[package]] name = "craft-pdn" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "flate2", "thiserror 2.0.21", @@ -2085,7 +2085,7 @@ dependencies = [ [[package]] name = "craft-platform" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "async-channel", "async-io", @@ -2116,7 +2116,7 @@ dependencies = [ [[package]] name = "craft-plist" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "thiserror 2.0.21", ] @@ -2124,7 +2124,7 @@ dependencies = [ [[package]] name = "craft-print" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-host", @@ -2148,7 +2148,7 @@ dependencies = [ [[package]] name = "craft-psd" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "encoding_rs", "flate2", @@ -2159,7 +2159,7 @@ dependencies = [ [[package]] name = "craft-quit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "dispatch2", "egui", @@ -2172,7 +2172,7 @@ dependencies = [ [[package]] name = "craft-raw" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "chrono", "craft-crw", @@ -2190,7 +2190,7 @@ dependencies = [ [[package]] name = "craft-review" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "base64 0.23.1", "craft-behavior", @@ -2209,7 +2209,7 @@ dependencies = [ [[package]] name = "craft-settings" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-atomic", "craft-host", @@ -2226,7 +2226,7 @@ dependencies = [ [[package]] name = "craft-svg" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-image-codecs", "craft-xml", @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "craft-table" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-keymap", @@ -2259,15 +2259,16 @@ dependencies = [ [[package]] name = "craft-testkit" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "rustix 1.1.6", + "toml", ] [[package]] name = "craft-text" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-font-manager", @@ -2290,7 +2291,7 @@ dependencies = [ [[package]] name = "craft-theme" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "bitflags 2.13.2", "craft-tracked", @@ -2305,7 +2306,7 @@ dependencies = [ [[package]] name = "craft-theme-editor" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-theme", @@ -2316,7 +2317,7 @@ dependencies = [ [[package]] name = "craft-theme-store" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-atomic", "craft-behavior", @@ -2331,7 +2332,7 @@ dependencies = [ [[package]] name = "craft-tiff" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "serde", "thiserror 2.0.21", @@ -2341,7 +2342,7 @@ dependencies = [ [[package]] name = "craft-time" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "serde", "thiserror 2.0.21", @@ -2350,7 +2351,7 @@ dependencies = [ [[package]] name = "craft-timeline" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-keymap", @@ -2365,7 +2366,7 @@ dependencies = [ [[package]] name = "craft-tracked" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "serde", ] @@ -2373,7 +2374,7 @@ dependencies = [ [[package]] name = "craft-ui" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-cloud-ui", "craft-ui-canvas", @@ -2387,7 +2388,7 @@ dependencies = [ [[package]] name = "craft-ui-canvas" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-i18n", @@ -2403,7 +2404,7 @@ dependencies = [ [[package]] name = "craft-ui-contract" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "accesskit", "craft-behavior", @@ -2445,7 +2446,7 @@ dependencies = [ [[package]] name = "craft-ui-macros" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -2456,7 +2457,7 @@ dependencies = [ [[package]] name = "craft-ui-panels" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-host", @@ -2474,7 +2475,7 @@ dependencies = [ [[package]] name = "craft-ui-patterns" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-host", @@ -2495,7 +2496,7 @@ dependencies = [ [[package]] name = "craft-ui-shell" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-host", @@ -2515,7 +2516,7 @@ dependencies = [ [[package]] name = "craft-ui-widgets" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-behavior", "craft-host", @@ -2534,7 +2535,7 @@ dependencies = [ [[package]] name = "craft-update" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "base64 0.22.1", "chrono", @@ -2566,7 +2567,7 @@ dependencies = [ [[package]] name = "craft-win32" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "winsafe", ] @@ -2574,7 +2575,7 @@ dependencies = [ [[package]] name = "craft-window" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "craft-appkit", "craft-atomic", @@ -2606,7 +2607,7 @@ dependencies = [ [[package]] name = "craft-xcf" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "flate2", "thiserror 2.0.21", @@ -2615,7 +2616,7 @@ dependencies = [ [[package]] name = "craft-xml" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "quick-xml 0.41.0", "serde", @@ -2625,7 +2626,7 @@ dependencies = [ [[package]] name = "craft-zip" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "flate2", "thiserror 2.0.21", @@ -4145,7 +4146,7 @@ dependencies = [ [[package]] name = "hayro" version = "0.7.1" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "bytemuck", "hayro-interpret", @@ -4175,7 +4176,7 @@ dependencies = [ [[package]] name = "hayro-interpret" version = "0.7.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "bitflags 2.13.2", "hayro-cmap", @@ -4193,7 +4194,7 @@ dependencies = [ [[package]] name = "hayro-jbig2" version = "0.3.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "fearless_simd", "hayro-ccitt", @@ -4217,7 +4218,7 @@ checksum = "bc2d80da85f31c3fdc0366431f44cfd645a9da1e242ed1f4a61f213d9765660f" [[package]] name = "hayro-syntax" version = "0.7.2" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "flate2", "hayro-ccitt", @@ -5310,7 +5311,7 @@ checksum = "d4a5ff6bcca6c4867b1c4fd4ef63e4db7436ef363e0ad7531d1558856bae64f4" [[package]] name = "linesweeper" version = "0.5.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "arrayvec", "kurbo 0.13.1", @@ -6833,7 +6834,7 @@ dependencies = [ "blake3", "craft-image-codecs", "craft-pcraft-bundle", - "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d)", + "craft-pcraft-format 0.1.0 (git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722)", "craft-zip", "crc32fast", "exacl", @@ -9820,7 +9821,7 @@ dependencies = [ [[package]] name = "vello_common" version = "0.0.8" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "bytemuck", "fearless_simd", @@ -9868,7 +9869,7 @@ dependencies = [ [[package]] name = "vello_cpu" version = "0.0.8" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" dependencies = [ "bytemuck", "glifo 0.1.1", @@ -11514,14 +11515,14 @@ source = "git+https://github.com/storytold/egui.git?rev=932a73b28560acb1a6955333 [[patch.unused]] name = "hayro-cmap" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" [[patch.unused]] name = "hayro-postscript" version = "0.1.0" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" [[patch.unused]] name = "krilla" version = "0.8.2" -source = "git+https://github.com/storytold/craft-libs?rev=af4e8181e69dd26d6f3537b881dd78ec466d374d#af4e8181e69dd26d6f3537b881dd78ec466d374d" +source = "git+https://github.com/storytold/craft-libs?rev=f1b53230acbfa069db844eaf01a7429e33bac722#f1b53230acbfa069db844eaf01a7429e33bac722" diff --git a/Cargo.toml b/Cargo.toml index 61a0b4004b..69de005bab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,21 +12,21 @@ rust-version = "1.95" [workspace.dependencies] # The craft framework through its facade (`craft::ui::…`). The egui `[patch]` below must match # `craft::egui_fork::REV` (checked by `cargo xtask ci`). -craft = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", default-features = false } -craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722", default-features = false } +craft-tracked = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-ui-macros = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } # internal photocraft-geom = { path = "crates/geom" } photocraft-color = { path = "crates/color" } photocraft-raster = { path = "crates/raster" } photocraft-doc = { path = "crates/doc" } photocraft-ops = { path = "crates/ops" } -craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] } +craft-plist = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-psd = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +photocraft-codecs = { package = "craft-image-codecs", git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +photocraft-formats = { package = "craft-file-formats", git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722", features = ["raster-codecs", "pdf", "svg", "ora", "kra", "xcf", "pdn", "raw", "psd", "affinity", "pcraft"] } photocraft-raw = { path = "crates/raw" } -craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-affinity = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } photocraft-compose = { path = "crates/compose" } photocraft-gpu = { path = "crates/gpu" } photocraft-paint = { path = "crates/paint" } @@ -48,36 +48,36 @@ photocraft-ipp = { path = "crates/ipp" } # external # ICC colour management: the shared crate (replaces crates/cms; craft-libs#779). -craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-print = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-cms = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-print = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } # HEIC/HEIF: the shared decoder (replaces crates/heif; craft-libs#784). -craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["raster", "write-raster"] } -craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-heif = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-pdf = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722", features = ["raster", "write-raster"] } +craft-xml = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-docpath = { version = "0.1.0", git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-jpeg = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-pcraft-format = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-pcraft-bundle = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-zip = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-ora = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-kra = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-xcf = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-pdn = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } # Keep the shared embedded-image validation API until the framework revision includes it. -craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["tree-render", "tree-render-system-fonts"] } -craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-svg = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722", features = ["tree-render", "tree-render-system-fonts"] } +craft-raw = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-tiff = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } # Camera-field EXIF reader/writer, shared prerequisite craft-libs#1563. -craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-metadata = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-crs = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-develop = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +craft-develop-model = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } # Interface translations: lookup, fallback, CLDR plurals and language names over the craft-i18n # catalogs that `crates/ui-egui/build.rs` embeds from `CRAFT_I18N_DIR` (storytold/craft-i18n, at # the commit in `craft-i18n.rev`). Already in the tree through craft. -craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +craft-i18n = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } # craft-update: app-specific pretend versions apply to startup and manual checks. -craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d", features = ["ui"] } +craft-update = { git = "https://github.com/storytold/craft-libs", version = "=0.1.0", rev = "f1b53230acbfa069db844eaf01a7429e33bac722", features = ["ui"] } thiserror = "2" serde = { version = "1", features = ["derive", "rc"] } serde_json = "1" @@ -350,16 +350,16 @@ opt-level = 3 # Keep the complete egui family and native event bridge on reviewed fork commits. [patch.crates-io] -krilla = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -vello_common = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } -vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "af4e8181e69dd26d6f3537b881dd78ec466d374d" } +krilla = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +hayro = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +hayro-interpret = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +hayro-syntax = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +hayro-jbig2 = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +hayro-cmap = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +hayro-postscript = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +linesweeper = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +vello_common = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } +vello_cpu = { git = "https://github.com/storytold/craft-libs", rev = "f1b53230acbfa069db844eaf01a7429e33bac722" } ecolor = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } emath = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } epaint = { git = "https://github.com/storytold/egui.git", rev = "932a73b28560acb1a695533307b2cd0d66a42081" } From 41c40917c5cf129498bab5886d45b6a590b39277 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 08:20:27 +0100 Subject: [PATCH 4/5] Layer Style test and Preferences label for the craft-libs pin (#13476) - A test opens the Layer Style dialog on a Stroke Emboss bevel and reads "Stroke Emboss" from the Bevel & Emboss Style menu (#13413); it read nothing on the previous pin. - The new pin shows the label of a check box that sits in a row inside a labelled field (craft-libs 8c807a9a0), so Preferences > Performance read "Memory usage percent: [x] Memory Usage Percent [70] %". The check box now says what it does, "Limit to"; the window's label stays the row's name. Co-Authored-By: TheGalitube Co-Authored-By: Claude Opus 5.5 --- crates/ui-egui/src/dialogs/layer_style/tests.rs | 14 ++++++++++++++ crates/ui-egui/src/prefs/prefs_ui/custom_rows.rs | 5 +++-- crates/ui-egui/src/prefs/prefs_ui/tests.rs | 3 ++- 3 files changed, 19 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/dialogs/layer_style/tests.rs b/crates/ui-egui/src/dialogs/layer_style/tests.rs index a99f9c7976..df36e41c5c 100644 --- a/crates/ui-egui/src/dialogs/layer_style/tests.rs +++ b/crates/ui-egui/src/dialogs/layer_style/tests.rs @@ -677,6 +677,20 @@ fn issue_steps_disable_stroke_add_overlay_untick_preview() { assert!(blue[2] > 0.9 && blue[1] < 0.1, "after OK only the overlay renders: {blue:?}"); } +/// A Stroke Emboss bevel (#13413) shows by name in the Bevel & Emboss page's Style menu, not as a blank. +#[test] +fn a_stroke_emboss_bevel_shows_its_style() { + let mut app = app_with_layer(16); + app.run("layer.layerStyle.bevelEmboss", json!({"style": "stroke"})).unwrap(); + let id = open(&mut app, Some(EffectKind::BevelEmboss.key())).unwrap(); + let bevel = first_of(&app, id, EffectKind::BevelEmboss); + assert_eq!(text(&draft(&app, id).style, bevel, "style").as_deref(), Some("stroke")); + let mut h = harness(app); + h.run_steps(3); + let style = h.get_by_role_and_label(egui::accesskit::Role::ComboBox, "Style"); + assert_eq!(style.value().as_deref(), Some("Stroke Emboss")); +} + /// New Style… saves the enabled instances and the pending opacity; a preset row applies it to the draft only. #[test] fn new_style_saves_pending_state_and_a_swatch_apply_restores_it() { diff --git a/crates/ui-egui/src/prefs/prefs_ui/custom_rows.rs b/crates/ui-egui/src/prefs/prefs_ui/custom_rows.rs index 8381580941..a186f02144 100644 --- a/crates/ui-egui/src/prefs/prefs_ui/custom_rows.rs +++ b/crates/ui-egui/src/prefs/prefs_ui/custom_rows.rs @@ -153,14 +153,15 @@ fn choices_of(path: &str) -> Vec<(String, String)> { prefs::choices(path).unwrap_or(&[]).iter().map(|o| (o.to_string(), choice_label(o))).collect() } -/// A checkbox enabling a 1–95 % field; off stores no value. +/// A checkbox enabling a 1–95 % field; off stores no value. The window's label names the row; the check box, in a row +/// inside that field, shows its own label. fn memory_percent_row(ui: &mut egui::Ui, draft: &mut SettingsDraft) { let stored: Option = draft.get(MEMORY_PERCENT); let mut on = stored.is_some(); let mut percent = Some(f64::from(stored.unwrap_or(70))); let (was_on, was) = (on, percent); Row::new().show(ui, |ui, _| { - Checkbox::new(Bind::bound(&mut on)).label(tl!("Memory Usage Percent")).show(ui); + Checkbox::new(Bind::bound(&mut on)).label(tl!("Limit to")).show(ui); NumberField::new(tl!("Memory Usage Percent"), Bind::bound(&mut percent)).range(1.0..=95.0).unit("%").enabled(on).show(ui); }); if (on, percent) == (was_on, was) { diff --git a/crates/ui-egui/src/prefs/prefs_ui/tests.rs b/crates/ui-egui/src/prefs/prefs_ui/tests.rs index 2c9ecb1840..de22d63318 100644 --- a/crates/ui-egui/src/prefs/prefs_ui/tests.rs +++ b/crates/ui-egui/src/prefs/prefs_ui/tests.rs @@ -1837,7 +1837,7 @@ fn the_interface_page_lists_appearance_presentation_then_options_on_one_label_co /// The rows of Preferences › Performance that draw their own label or heading show it once: the window adds no second /// "Rendering mode" beside the select's own, and no "Memory usage (MB)" beside the Memory Usage heading. Memory Usage -/// Percent's check box shows no text, so the window's label is its only one. +/// Percent's check box shows its own "Limit to", not the row's name a second time. #[test] fn self_labelled_performance_rows_show_their_label_once() { let (_, files) = app_with_store(); @@ -1847,6 +1847,7 @@ fn self_labelled_performance_rows_show_their_label_once() { assert_eq!(count(&|t| t == "rendering mode"), 1, "Rendering Mode is labelled once: {texts:?}"); assert_eq!(count(&|t| t.starts_with("memory usage") && t != "memory usage percent"), 1, "Memory Usage is labelled once: {texts:?}"); assert_eq!(count(&|t| t == "memory usage percent"), 1, "Memory Usage Percent is labelled once: {texts:?}"); + assert_eq!(count(&|t| t == "limit to"), 1, "the check box shows its own label: {texts:?}"); } // --- the window's frame (#17014) ----------------------------------------------------------------------------------- From 4b0a6cbd07923da0ed54b7eb5f17013e6d835b01 Mon Sep 17 00:00:00 2001 From: David Mann Date: Sun, 29 Nov 2026 15:38:27 +0100 Subject: [PATCH 5/5] Paper list test scrolls up as well as down to reach a row With the newer craft-libs pin the Print dialog's paper list opens scrolled to the chosen paper and ends on its last whole row, so A4 sits above the view when Custom is chosen. reveal() now scrolls down to the end, then up to the top, before it gives up. Co-Authored-By: Claude Opus 5.5 --- .../src/dialogs/file_ui/custom_paper_tests.rs | 33 ++++++++++--------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs b/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs index 0cfd0be5c7..3019f58dbe 100644 --- a/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs +++ b/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs @@ -92,23 +92,26 @@ pub(super) fn click(h: &mut Harness<'_, Box>, label: &str) { h.run_steps(3); } -/// Scrolls the open paper list until the row `label` is shown: the list draws only the rows in view, so a row near -/// the end is not in the access tree until the wheel has brought it into view. +/// Scrolls the open paper list until the row `label` is shown: the list draws only the rows in view, so a row out of +/// view is not in the access tree until the wheel has brought it in. The list opens scrolled to the chosen paper, so +/// the row can be above it as well as below: scroll down to the end, then up to the top. fn reveal(h: &mut Harness<'_, Box>, label: &str) { - for _ in 0..40 { - if h.query_by_label(label).is_some() { - return; + for dy in [-3.0, 3.0] { + for _ in 0..40 { + if h.query_by_label(label).is_some() { + return; + } + let list = h.query_all_by_role(egui::accesskit::Role::ListBox).last().expect("an open list").rect(); + h.hover_at(list.center()); + h.event(Event::MouseWheel { + source: egui::MouseWheelSource::Unknown, + unit: egui::MouseWheelUnit::Line, + delta: vec2(0.0, dy), + phase: egui::TouchPhase::Move, + modifiers: Modifiers::NONE, + }); + h.run_steps(2); } - let list = h.query_all_by_role(egui::accesskit::Role::ListBox).last().expect("an open list").rect(); - h.hover_at(list.center()); - h.event(Event::MouseWheel { - source: egui::MouseWheelSource::Unknown, - unit: egui::MouseWheelUnit::Line, - delta: vec2(0.0, -3.0), - phase: egui::TouchPhase::Move, - modifiers: Modifiers::NONE, - }); - h.run_steps(2); } panic!("the row {label} never came into view"); }