Skip to content

DesignCraft: An open-source page and layout design editor written by scratch in pure Rust

Integration: #864 drops the Controlled by Parent rule from the menus and the Objects Move with Page checkbox (neither has an effect yet)

aiongg7d601b5903a5
diff --git a/ROADMAP.md b/ROADMAP.md
index 573b0a37b..8ac26c2a1 100644
--- a/ROADMAP.md
+++ b/ROADMAP.md
@@ -128,7 +128,7 @@ list) · [roadmap.md](docs/roadmap.md) (milestones, plan) · [parity-checklist.m
Newest first.
-- **2026-10-14** · With the Page tool, the Control panel shows the page as InDesign's does: W/H from a reference point, page-size preset (US Business Card added), orientation, Liquid Page Rule (now with Controlled by Parent) and Show Parent Page Overlay, which draws the parent page's size over a resized page. No readiness percentage change.
+- **2026-10-14** · With the Page tool, the Control panel shows the page as InDesign's does: W/H from a reference point, page-size preset (US Business Card added), orientation, Liquid Page Rule and Show Parent Page Overlay, which draws the parent page's size over a resized page. No readiness percentage change.
- **2026-10-14** · The Page tool works as InDesign's: a click selects a page and shows its handles and liquid page rule; dragging a handle previews the rule and springs back, Alt-drag resizes the page from the opposite edge, Shift keeps proportions, with a W/H readout. No readiness percentage change.
- **2026-10-12** · Text threads by hand: click a selected text frame's in or out port to load
the text cursor, then click a frame to thread it, click empty space for a column-wide frame or
diff --git a/crates/ui-egui/src/chrome.rs b/crates/ui-egui/src/chrome.rs
index f3a17ebf9..44a970afb 100644
--- a/crates/ui-egui/src/chrome.rs
+++ b/crates/ui-egui/src/chrome.rs
@@ -195,7 +195,7 @@ pub fn control_bar(app: &mut DesignApp, ui: &mut egui::Ui) {
}
/// The Control panel with the Page tool, as InDesign's: reference point, X/Y, W/H, page-size
-/// preset, orientation, Liquid Page Rule, Objects Move with Page and Show Parent Page Overlay, for
+/// preset, orientation, Liquid Page Rule and Show Parent Page Overlay, for
/// the page the Page tool selected (else the page in view). W/H keep the reference point in place.
fn control_page(app: &mut DesignApp, ui: &mut egui::Ui) {
let lang = app.ui.language.clone();
@@ -274,9 +274,6 @@ fn control_page(app: &mut DesignApp, ui: &mut egui::Ui) {
});
vsep(ui);
ui.vertical(|ui| {
- // Objects follow a page that moves in its spread; pages don't move yet, so it's always on.
- let mut follow = true;
- ui.add_enabled(false, egui::Checkbox::new(&mut follow, crate::rtl::widget(ui, crate::i18n::tr(&lang, "Objects Move with Page"))));
let mut overlay = pg.show_parent_overlay;
if ui.checkbox(&mut overlay, crate::rtl::widget(ui, crate::i18n::tr(&lang, "Show Parent Page Overlay"))).changed() {
let _ = app.run("layout.pageOptions", json!({"pages": [n], "showParentOverlay": overlay}));
@@ -930,9 +927,11 @@ mod tests {
app.run("file.new", serde_json::json!({"width": 252, "height": 144, "facingPages": false})).unwrap();
app.session.set_tool("page");
let mut h = test_window::open(app, vec2(1800.0, 600.0));
- for label in ["Liquid Page Rule:", "Objects Move with Page"] {
- let _ = h.get_by_label(label);
- }
+ let _ = h.get_by_label("Liquid Page Rule:");
+ // Pages don't move within their spread, so there is no "Objects Move with Page" option, and
+ // no "Controlled by Parent" rule until parent pages have rules of their own.
+ assert!(h.query_by_label("Objects Move with Page").is_none());
+ assert!(!crate::panels::interactive::LIQUID_RULES.iter().any(|(r, _)| *r == designcraft_doc::LiquidRule::ControlledByParent));
assert_eq!(crate::panels::properties::preset_name(252.0, 144.0), "US Business Card");
h.get_by_label("Show Parent Page Overlay").click();
h.run_steps(4);
diff --git a/crates/ui-egui/src/i18n.rs b/crates/ui-egui/src/i18n.rs
index 5dc452a2a..1375093da 100644
--- a/crates/ui-egui/src/i18n.rs
+++ b/crates/ui-egui/src/i18n.rs
@@ -2523,16 +2523,6 @@ const TABLE: &[(&str, [&str; 5])] = &[
"Liquid Page Rule:",
["Regel für flüssige Seiten:", "Règle de page liquide :", "Regla de página líquida:", "リキッドページルール:", "自适应页面规则:"],
),
- (
- "Objects Move with Page",
- [
- "Objekte mit Seite verschieben",
- "Déplacer les objets avec la page",
- "Los objetos se mueven con la página",
- "オブジェクトをページと共に移動",
- "对象随页面移动",
- ],
- ),
(
"Show Parent Page Overlay",
[
diff --git a/crates/ui-egui/src/i18n/ar.rs b/crates/ui-egui/src/i18n/ar.rs
index 66ca5390a..1daa0101d 100644
--- a/crates/ui-egui/src/i18n/ar.rs
+++ b/crates/ui-egui/src/i18n/ar.rs
@@ -722,7 +722,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Guide-Based", "استنادًا إلى الأدلة"),
("Resize Page", "تغيير حجم الصفحة"),
("Liquid Page Rule:", "قاعدة الصفحة المرنة:"),
- ("Objects Move with Page", "تحريك الكائنات مع الصفحة"),
("Show Parent Page Overlay", "إظهار تراكب الصفحة الأصل"),
("Controlled by Parent", "تتحكم فيه الصفحة الأصل"),
("US Business Card", "بطاقة عمل أمريكية"),
diff --git a/crates/ui-egui/src/i18n/it.rs b/crates/ui-egui/src/i18n/it.rs
index aa630d3c9..d9435a316 100644
--- a/crates/ui-egui/src/i18n/it.rs
+++ b/crates/ui-egui/src/i18n/it.rs
@@ -1300,7 +1300,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Guide-Based", "Basato su guide"),
("Resize Page", "Ridimensiona pagina"),
("Liquid Page Rule:", "Regola pagina liquida:"),
- ("Objects Move with Page", "Sposta oggetti con la pagina"),
("Show Parent Page Overlay", "Mostra sovrapposizione pagina principale"),
("Controlled by Parent", "Controllato dalla pagina principale"),
("US Business Card", "Biglietto da visita USA"),
diff --git a/crates/ui-egui/src/i18n/ja.rs b/crates/ui-egui/src/i18n/ja.rs
index 88e930479..f35d4084a 100644
--- a/crates/ui-egui/src/i18n/ja.rs
+++ b/crates/ui-egui/src/i18n/ja.rs
@@ -1296,7 +1296,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Guide-Based", "ガイド基準"),
("Resize Page", "ページのサイズを変更"),
("Liquid Page Rule:", "リキッドページルール:"),
- ("Objects Move with Page", "オブジェクトをページと共に移動"),
("Show Parent Page Overlay", "親ページオーバーレイを表示"),
("Controlled by Parent", "親ページで制御"),
("US Business Card", "US 名刺"),
diff --git a/crates/ui-egui/src/i18n/pt_br.rs b/crates/ui-egui/src/i18n/pt_br.rs
index 0005cc07a..6a1673503 100644
--- a/crates/ui-egui/src/i18n/pt_br.rs
+++ b/crates/ui-egui/src/i18n/pt_br.rs
@@ -713,7 +713,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Guide-Based", "Baseado em guias"),
("Resize Page", "Redimensionar página"),
("Liquid Page Rule:", "Regra de página líquida:"),
- ("Objects Move with Page", "Objetos se movem com a página"),
("Show Parent Page Overlay", "Mostrar sobreposição da página principal"),
("Controlled by Parent", "Controlado pela página principal"),
("US Business Card", "Cartão de visita EUA"),
diff --git a/crates/ui-egui/src/i18n/uk.rs b/crates/ui-egui/src/i18n/uk.rs
index 32ac4864f..5e95517ca 100644
--- a/crates/ui-egui/src/i18n/uk.rs
+++ b/crates/ui-egui/src/i18n/uk.rs
@@ -1297,7 +1297,6 @@ pub(super) const TABLE: &[(&str, &str)] = &[
("Guide-Based", "На основі напрямних"),
("Resize Page", "Змінити розмір сторінки"),
("Liquid Page Rule:", "Правило гнучкої сторінки:"),
- ("Objects Move with Page", "Об’єкти рухаються зі сторінкою"),
("Show Parent Page Overlay", "Показати накладення батьківської сторінки"),
("Controlled by Parent", "Керується батьківською сторінкою"),
("US Business Card", "Візитна картка (США)"),
diff --git a/crates/ui-egui/src/panels/interactive.rs b/crates/ui-egui/src/panels/interactive.rs
index cd36926fa..876fc23b5 100644
--- a/crates/ui-egui/src/panels/interactive.rs
+++ b/crates/ui-egui/src/panels/interactive.rs
@@ -487,13 +487,12 @@ pub fn buttons(app: &mut DesignApp, ui: &mut egui::Ui) {
}
/// Liquid page rules in InDesign's order, with their menu labels.
-pub const LIQUID_RULES: [(designcraft_doc::LiquidRule, &str); 6] = [
+pub const LIQUID_RULES: [(designcraft_doc::LiquidRule, &str); 5] = [
(designcraft_doc::LiquidRule::Off, "Off"),
(designcraft_doc::LiquidRule::Scale, "Scale"),
(designcraft_doc::LiquidRule::ReCenter, "Re-center"),
(designcraft_doc::LiquidRule::ObjectBased, "Object-based"),
(designcraft_doc::LiquidRule::GuideBased, "Guide-based"),
- (designcraft_doc::LiquidRule::ControlledByParent, "Controlled by Parent"),
];
/// A liquid page rule's menu label.
diff --git a/docs/target-app-parity.md b/docs/target-app-parity.md
index 95c9fd0ad..5011b3450 100644
--- a/docs/target-app-parity.md
+++ b/docs/target-app-parity.md
@@ -398,7 +398,7 @@ It is evidence of breadth: each item exists. It is not a claim of InDesign-level
- Type on a Path (⇧T tool, `type.onPath`): a story along any line, curve or shape on screen and in PDF; Type on a Path Options (start, flip, baseline/ascender/descender/centre) and Delete Type from Path. Round-trips through IDML as TextPath; on-path caret drawing is still to come.
- Preferences › Appearance of Black: 100% K on screen accurately (dark grey) or as rich black (`window.richBlack`); the printing/export side is still to come.
- Spreads of up to 10 pages: Add to Previous Spread and Allow Spread to Shuffle (Pages panel; `layout.pages.toSpread`, `layout.spreadShuffle`); inserted pages go around kept spreads.
-- Page tool (⇧P) and `layout.pageSize`: pages of their own size (or a preset); the spine stays put and objects keep their place on their page. A click selects a page (handles, its liquid page rule tagged above it); dragging a handle previews the liquid rule and springs back, Alt-drag resizes, Shift keeps proportions, with a W/H readout; `anchor` keeps a reference point in place; double-click for exact sizes. With the Page tool the Control panel shows the page (reference point, W/H, preset, orientation, Liquid Page Rule including Controlled by Parent, Show Parent Page Overlay); X/Y and Objects Move with Page are shown, but pages don't move within their spread yet.
+- Page tool (⇧P) and `layout.pageSize`: pages of their own size (or a preset); the spine stays put and objects keep their place on their page. A click selects a page (handles, its liquid page rule tagged above it); dragging a handle previews the liquid rule and springs back, Alt-drag resizes, Shift keeps proportions, with a W/H readout; `anchor` keeps a reference point in place; double-click for exact sizes. With the Page tool the Control panel shows the page (reference point, W/H, preset, orientation, Liquid Page Rule, Show Parent Page Overlay); X/Y are shown, but pages don't move within their spread yet.
- File › Print (⌘P): printer, copies, page range, spreads, marks, bleed; printed as PDF through the system spooler (`file.print`, `file.printers`, `dryRun` for agents). Shortcuts now act like choosing the menu item (dialogs open), and UI commands win shortcut ties (⌘N opens New Document).
- Nested styles (through/up to N sentences, words, characters, letters, digits, tabs, breaks, spaces or given characters) and GREP styles (regex → character style), edited in Paragraph Style Options and composed under local formatting; `ui.dialog.open` for agents. Nested line styles are still to come; nested and GREP styles round-trip through IDML.
- Table and cell styles (round-trip through IDML): cell styles (fill, insets, vertical justification, strokes, paragraph style) and table styles (region cell styles, border, alternating rows, spacing); apply from the Table panel, edits re-apply to every user; `style.cell.*`, `style.table.*`.