VectorCraft: An open-source, vector art tool written by scratch in pure Rust
Contextual Task Bar: direct-selected anchors offer Connect, Corner and Smooth
dotCooCoo5ad04faff312
diff --git a/crates/ui-egui/src/canvas.rs b/crates/ui-egui/src/canvas.rsindex 2058057e5..66edf39bf 100644--- a/crates/ui-egui/src/canvas.rs+++ b/crates/ui-egui/src/canvas.rs@@ -2879,11 +2879,17 @@ fn task_bar(app: &mut VectorcraftApp, ui: &mut Ui, xf: &Xf) {items.push((tl!("Image Trace"), "image", TASK_BAR_IMAGE_TRACE));items.push((tl!("Crop Image"), "dc-pf-crop", "ui.cropImage"));}- // Direct-selected anchors take the place of a path's Offset Path and Simplify.+ // Direct-selected anchors take the place of a path's Offset Path and Simplify. For them the bar+ // offers Remove, Connect, Cut and Convert to corner or smooth, as the reference app does+ // (<https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/contextual-task-bar-overview.html>).+ // These run the same commands as the Control bar's anchor buttons.let anchors = !st.selection.anchors.is_empty();if anchors {items.push((tl!("Remove Anchor Points"), "pen-tool-delete", "path.removeAnchors"));+ items.push((tl!("Connect"), "dc-join", "path.join"));items.push((tl!("Cut Path"), "scissors", "path.cutAtAnchors"));+ items.push((tl!("Corner"), "dc-anchor", TASK_BAR_TO_CORNER));+ items.push((tl!("Smooth"), "dc-anchor-smooth", TASK_BAR_TO_SMOOTH));}if n > 1 {items.push((tl!("Group"), "group", "object.group"));@@ -3031,6 +3037,9 @@ fn task_bar(app: &mut VectorcraftApp, ui: &mut Ui, xf: &Xf) {Some((TASK_BAR_ARTBOARD_OPTIONS, _)) => crate::menus::invoke(app, "tool.options", json!({"tool": "artboard"})),Some((TASK_BAR_DUPLICATE_ARTBOARDS, _)) => crate::panels::artboards::duplicate_picked(app),Some((TASK_BAR_REARRANGE_ARTBOARDS, _)) => crate::panels::artboards::open_rearrange(app),+ // Corner and Smooth convert the direct-selected anchors, as the Control bar's buttons do.+ Some((TASK_BAR_TO_CORNER, _)) => crate::menus::invoke(app, "path.convertAnchors", json!({"to": "corner"})),+ Some((TASK_BAR_TO_SMOOTH, _)) => crate::menus::invoke(app, "path.convertAnchors", json!({"to": "smooth"})),Some((c, p)) => crate::menus::invoke(app, c, p),None => {}}@@ -3044,6 +3053,10 @@ const TASK_BAR_ARTBOARD_OPTIONS: &str = "taskBar.artboardOptions";const TASK_BAR_DUPLICATE_ARTBOARDS: &str = "taskBar.duplicateArtboards";/// The Contextual Task Bar's Rearrange All button with the Artboard tool.const TASK_BAR_REARRANGE_ARTBOARDS: &str = "taskBar.rearrangeArtboards";+/// The Contextual Task Bar's Corner button for direct-selected anchors.+const TASK_BAR_TO_CORNER: &str = "taskBar.toCorner";+/// The Contextual Task Bar's Smooth button for direct-selected anchors.+const TASK_BAR_TO_SMOOTH: &str = "taskBar.toSmooth";#[cfg(test)]mod tests {@@ -6609,6 +6622,49 @@ mod tests {assert_eq!(boards(&app), before, "one undo step");}+ /// With anchors direct-selected, the Contextual Task Bar offers Remove Anchor Points, Connect,+ /// Cut Path, Corner and Smooth. Smooth and Corner convert the selected anchor, Cut Path opens+ /// the path there and Connect closes it again, as the Control bar's anchor buttons do.+ #[test]+ fn the_task_bar_connects_cuts_and_converts_direct_selected_anchors() {+ let mut app = VectorcraftApp::new(Session::new(), Default::default());+ app.session.execute("file.new", &json!({"width": 400, "height": 300})).unwrap();+ let id = app.session.execute("shape.rectangle", &json!({"x": 150, "y": 100, "width": 100, "height": 80})).unwrap()["id"].as_u64().unwrap();+ app.select_tool("directSelection");+ app.run("select.anchors", json!({"id": id, "anchors": [[0, 1]]})).unwrap();+ let ctx = egui::Context::default();+ let names = |app: &mut VectorcraftApp| task_bar_labels(app, &ctx).into_iter().map(|(t, _)| t).collect::<Vec<_>>();+ assert_eq!(names(&mut app), ["Remove Anchor Points", "Connect", "Cut Path", "Corner", "Smooth", "Duplicate"]);+ let press = |app: &mut VectorcraftApp, label: &str| {+ let labels = task_bar_labels(app, &ctx);+ let at = labels.iter().find(|(t, _)| t == label).unwrap_or_else(|| panic!("{label} in {labels:?}")).1.center();+ let button =+ |pressed| egui::Event::PointerButton { pos: at, button: egui::PointerButton::Primary, pressed, modifiers: Default::default() };+ frame(app, &ctx, vec![egui::Event::PointerMoved(at)]);+ frame(app, &ctx, vec![button(true)]);+ frame(app, &ctx, vec![button(false)]);+ };+ let subpath = |app: &VectorcraftApp| {+ app.session.active().unwrap().doc.node(vectorcraft_doc::NodeId(id)).unwrap().path_data().unwrap().subpaths[0].clone()+ };+ let last_undo = |app: &VectorcraftApp| app.session.active().unwrap().history.undo.last().unwrap().label.clone();+ press(&mut app, "Smooth");+ let a = subpath(&app).anchors[1];+ assert!(a.has_in() && a.has_out(), "smooth: {a:?}");+ assert_eq!(last_undo(&app), "Convert Anchor Points");+ press(&mut app, "Corner");+ let a = subpath(&app).anchors[1];+ assert!(!a.has_in() && !a.has_out(), "corner: {a:?}");+ press(&mut app, "Cut Path");+ assert_eq!(last_undo(&app), "Cut Path");+ let sp = subpath(&app);+ assert!(!sp.closed && sp.anchors.len() == 5, "the rectangle opens at the anchor: {sp:?}");+ press(&mut app, "Connect");+ assert_eq!(last_undo(&app), "Join");+ let sp = subpath(&app);+ assert!(sp.closed && sp.anchors.len() == 4, "the ends join again: {sp:?}");+ }+/// The Contextual Task Bar's handle drags it: unpinned it keeps that offset as it follows the/// selection, pinned it stays put when the selection changes, unpinned again it follows from/// there, and Reset Bar Position puts it back under the selection. It never leaves the canvas,diff --git a/crates/ui-egui/src/i18n/bg.tsv b/crates/ui-egui/src/i18n/bg.tsvindex c9a29ed58..44af20ed3 100644--- a/crates/ui-egui/src/i18n/bg.tsv+++ b/crates/ui-egui/src/i18n/bg.tsv@@ -532,6 +532,7 @@Condition identifier: Идентификатор на условие:Conflict {n} of {count} Конфликт {n} от {count}Connect Selected End Points Свързване на избраните крайни точки+ Connect СвързванеConsolidate All Windows Обединяване на всички прозорциConstrain Angle Заключване на ъгълаConstrain Width and Height Proportions Запазване на пропорциите на ширина и височинаdiff --git a/crates/ui-egui/src/i18n/cs.tsv b/crates/ui-egui/src/i18n/cs.tsvindex b1726ccae..c1cac28da 100644--- a/crates/ui-egui/src/i18n/cs.tsv+++ b/crates/ui-egui/src/i18n/cs.tsv@@ -1072,6 +1072,7 @@ lighting Light SvětloClick or drag Kliknutí nebo taženíClick the first point Kliknutí na první bodConnect Selected End Points Spojit vybrané koncové body+ Connect SpojitConvert Selected Anchor Points to Corner Převést vybrané kotevní body na rohovéConvert Selected Anchor Points to Smooth Převést vybrané kotevní body na hladkéConvert: Převést:diff --git a/crates/ui-egui/src/i18n/da.tsv b/crates/ui-egui/src/i18n/da.tsvindex 6b28a1974..38afac122 100644--- a/crates/ui-egui/src/i18n/da.tsv+++ b/crates/ui-egui/src/i18n/da.tsv@@ -997,6 +997,7 @@ lighting Light LysClick or drag Klik eller trækClick the first point Klik på det første punktConnect Selected End Points Forbind markerede slutpunkter+ Connect ForbindConvert Selected Anchor Points to Corner Konvertér markerede ankerpunkter til hjørnepunkterConvert Selected Anchor Points to Smooth Konvertér markerede ankerpunkter til glatte punkterConvert: Konvertér:diff --git a/crates/ui-egui/src/i18n/de.tsv b/crates/ui-egui/src/i18n/de.tsvindex c990a0ef6..08adeb462 100644--- a/crates/ui-egui/src/i18n/de.tsv+++ b/crates/ui-egui/src/i18n/de.tsv@@ -532,6 +532,7 @@Condition identifier: Kennung der Ausgabebedingung:Conflict {n} of {count} Konflikt {n} von {count}Connect Selected End Points Ausgewählte Endpunkte verbinden+ Connect VerbindenConsolidate All Windows Alle Fenster zusammenführenConstrain Angle WinkelbeschränkungConstrain Width and Height Proportions Proportionen von Breite und Höhe beibehaltendiff --git a/crates/ui-egui/src/i18n/el.tsv b/crates/ui-egui/src/i18n/el.tsvindex e772083c8..101272463 100644--- a/crates/ui-egui/src/i18n/el.tsv+++ b/crates/ui-egui/src/i18n/el.tsv@@ -506,6 +506,7 @@Condition identifier: Αναγνωριστικό συνθήκης:Conflict {n} of {count} Διένεξη {n} από {count}Connect Selected End Points Σύνδεση επιλεγμένων τελικών σημείων+ Connect ΣύνδεσηConsolidate All Windows Συγχώνευση όλων των παραθύρωνConstrain Angle Περιορισμός γωνίαςConstrain Width and Height Proportions Διατήρηση αναλογιών πλάτους και ύψουςdiff --git a/crates/ui-egui/src/i18n/es.tsv b/crates/ui-egui/src/i18n/es.tsvindex bdcb57b4f..0635e321a 100644--- a/crates/ui-egui/src/i18n/es.tsv+++ b/crates/ui-egui/src/i18n/es.tsv@@ -547,6 +547,7 @@Condition identifier: Identificador de condición:Conflict {n} of {count} Conflicto {n} de {count}Connect Selected End Points Conectar los puntos finales seleccionados+ Connect ConectarConsolidate All Windows Consolidar todas las ventanasConstrain Angle Restringir ánguloConstrain Width and Height Proportions Restringir proporciones de anchura y alturadiff --git a/crates/ui-egui/src/i18n/fi.tsv b/crates/ui-egui/src/i18n/fi.tsvindex 9edb45382..220fecf1b 100644--- a/crates/ui-egui/src/i18n/fi.tsv+++ b/crates/ui-egui/src/i18n/fi.tsv@@ -1050,6 +1050,7 @@ lighting Light ValoClick or drag Napsauta tai vedäClick the first point Napsauta ensimmäistä pistettäConnect Selected End Points Yhdistä valitut päätepisteet+ Connect YhdistäConvert Selected Anchor Points to Corner Muunna valitut ankkuripisteet kulmapisteiksiConvert Selected Anchor Points to Smooth Muunna valitut ankkuripisteet pehmeiksiConvert: Muunna:diff --git a/crates/ui-egui/src/i18n/fr.tsv b/crates/ui-egui/src/i18n/fr.tsvindex 5d9b7213f..e5300b41f 100644--- a/crates/ui-egui/src/i18n/fr.tsv+++ b/crates/ui-egui/src/i18n/fr.tsv@@ -548,6 +548,7 @@Condition identifier: Identifiant de condition :Conflict {n} of {count} Conflit {n} sur {count}Connect Selected End Points Relier les extrémités sélectionnées+ Connect RelierConsolidate All Windows Regrouper toutes les fenêtresConstrain Angle Contraindre l’angleConstrain Width and Height Proportions Conserver les proportions de largeur et de hauteurdiff --git a/crates/ui-egui/src/i18n/hu.tsv b/crates/ui-egui/src/i18n/hu.tsvindex 9417656e9..b9ef00b25 100644--- a/crates/ui-egui/src/i18n/hu.tsv+++ b/crates/ui-egui/src/i18n/hu.tsv@@ -732,6 +732,7 @@Condition identifier: Feltételazonosító:Conflict {n} of {count} Ütközés: {n}/{count}Connect Selected End Points Kijelölt végpontok összekötése+ Connect ÖsszekötésConsolidate All Windows Összes ablak egyesítéseConstrain KorlátozásConstrain Angle Korlátozási szögdiff --git a/crates/ui-egui/src/i18n/id.tsv b/crates/ui-egui/src/i18n/id.tsvindex d0a831b6d..19db472b4 100644--- a/crates/ui-egui/src/i18n/id.tsv+++ b/crates/ui-egui/src/i18n/id.tsv@@ -997,6 +997,7 @@ lighting Light CahayaClick or drag Klik atau seretClick the first point Klik titik pertamaConnect Selected End Points Hubungkan titik akhir terpilih+ Connect HubungkanConvert Selected Anchor Points to Corner Konversi titik jangkar terpilih menjadi sudutConvert Selected Anchor Points to Smooth Konversi titik jangkar terpilih menjadi halusConvert: Konversi:diff --git a/crates/ui-egui/src/i18n/it.tsv b/crates/ui-egui/src/i18n/it.tsvindex 53e391866..59d2c9094 100644--- a/crates/ui-egui/src/i18n/it.tsv+++ b/crates/ui-egui/src/i18n/it.tsv@@ -547,6 +547,7 @@Condition identifier: Identificativo condizione:Conflict {n} of {count} Conflitto {n} di {count}Connect Selected End Points Collega i punti finali selezionati+ Connect CollegaConsolidate All Windows Consolida tutte le finestreConstrain Angle Vincola angoloConstrain Width and Height Proportions Vincola proporzioni di larghezza e altezzadiff --git a/crates/ui-egui/src/i18n/ja.tsv b/crates/ui-egui/src/i18n/ja.tsvindex de9fbf4a6..8d393d98d 100644--- a/crates/ui-egui/src/i18n/ja.tsv+++ b/crates/ui-egui/src/i18n/ja.tsv@@ -26,6 +26,7 @@Center 中央Character Alignment 文字揃えConnect Selected End Points 選択した端点を連結+ Connect 連結Convert Selected Anchor Points to Corner 選択したアンカーポイントをコーナーポイントに変換Convert Selected Anchor Points to Smooth 選択したアンカーポイントをスムーズポイントに変換Convert: 変換:diff --git a/crates/ui-egui/src/i18n/ko.tsv b/crates/ui-egui/src/i18n/ko.tsvindex 5c5d7b821..45723523b 100644--- a/crates/ui-egui/src/i18n/ko.tsv+++ b/crates/ui-egui/src/i18n/ko.tsv@@ -22,6 +22,7 @@Center 가운데Character Alignment 문자 정렬Connect Selected End Points 선택한 끝점 연결+ Connect 연결Convert Selected Anchor Points to Corner 선택한 앵커 포인트를 모퉁이로 변환Convert Selected Anchor Points to Smooth 선택한 앵커 포인트를 부드러운 곡선으로 변환Convert: 변환:diff --git a/crates/ui-egui/src/i18n/nl.tsv b/crates/ui-egui/src/i18n/nl.tsvindex 297be4d13..04f170a5e 100644--- a/crates/ui-egui/src/i18n/nl.tsv+++ b/crates/ui-egui/src/i18n/nl.tsv@@ -997,6 +997,7 @@ lighting Light LichtClick or drag Klik of sleepClick the first point Klik op het eerste puntConnect Selected End Points Geselecteerde eindpunten verbinden+ Connect VerbindenConvert Selected Anchor Points to Corner Geselecteerde ankerpunten omzetten in hoekpuntenConvert Selected Anchor Points to Smooth Geselecteerde ankerpunten omzetten in vloeiende puntenConvert: Omzetten:diff --git a/crates/ui-egui/src/i18n/pl.tsv b/crates/ui-egui/src/i18n/pl.tsvindex 2dbf04b2c..13332dcd2 100644--- a/crates/ui-egui/src/i18n/pl.tsv+++ b/crates/ui-egui/src/i18n/pl.tsv@@ -1005,6 +1005,7 @@ lighting Light ŚwiatłoClick or drag Kliknij lub przeciągnijClick the first point Kliknij pierwszy punktConnect Selected End Points Połącz zaznaczone punkty końcowe+ Connect PołączConvert Selected Anchor Points to Corner Konwertuj zaznaczone punkty kontrolne na narożneConvert Selected Anchor Points to Smooth Konwertuj zaznaczone punkty kontrolne na gładkieConvert: Konwertuj:diff --git a/crates/ui-egui/src/i18n/pt-br.tsv b/crates/ui-egui/src/i18n/pt-br.tsvindex 2aaab4c6e..2889312be 100644--- a/crates/ui-egui/src/i18n/pt-br.tsv+++ b/crates/ui-egui/src/i18n/pt-br.tsv@@ -3058,6 +3058,7 @@ lighting Light LuzAbove Text Acima do textoPosition Panel Above Text Posicionar painel acima do textoConnect Selected End Points Conectar extremidades selecionadas+ Connect ConectarConvert Selected Anchor Points to Corner Converter pontos de ancoragem selecionados em cantoConvert Selected Anchor Points to Smooth Converter pontos de ancoragem selecionados em suavesConvert: Converter:diff --git a/crates/ui-egui/src/i18n/ru.tsv b/crates/ui-egui/src/i18n/ru.tsvindex 11531fd84..761fd8450 100644--- a/crates/ui-egui/src/i18n/ru.tsv+++ b/crates/ui-egui/src/i18n/ru.tsv@@ -545,6 +545,7 @@Condition identifier: Идентификатор условия:Conflict {n} of {count} Конфликт {n} из {count}Connect Selected End Points Соединить выбранные конечные точки+ Connect СоединитьConsolidate All Windows Объединить все окнаConstrain Angle Ограничить уголConstrain Width and Height Proportions Сохранять пропорции ширины и высотыdiff --git a/crates/ui-egui/src/i18n/sv.tsv b/crates/ui-egui/src/i18n/sv.tsvindex 6808e6408..a27bf0955 100644--- a/crates/ui-egui/src/i18n/sv.tsv+++ b/crates/ui-egui/src/i18n/sv.tsv@@ -534,6 +534,7 @@Condition identifier: Villkorsidentifierare:Conflict {n} of {count} Konflikt {n} av {count}Connect Selected End Points Sammanfoga markerade slutpunkter+ Connect SammanfogaConsolidate All Windows Samla alla fönsterConstrain Angle Begränsa vinkelConstrain Width and Height Proportions Behåll proportioner för bredd och höjddiff --git a/crates/ui-egui/src/i18n/uk.tsv b/crates/ui-egui/src/i18n/uk.tsvindex 1ed86261c..627817033 100644--- a/crates/ui-egui/src/i18n/uk.tsv+++ b/crates/ui-egui/src/i18n/uk.tsv@@ -541,6 +541,7 @@Condition identifier: Ідентифікатор умови:Conflict {n} of {count} Конфлікт {n} з {count}Connect Selected End Points З’єднати обрані кінцеві точки+ Connect З’єднатиConsolidate All Windows Об’єднати всі вікнаConstrain Angle Обмежити кутConstrain Width and Height Proportions Зберігати пропорції ширини та висотиdiff --git a/crates/ui-egui/src/i18n/vi.tsv b/crates/ui-egui/src/i18n/vi.tsvindex da42688b5..e9006d029 100644--- a/crates/ui-egui/src/i18n/vi.tsv+++ b/crates/ui-egui/src/i18n/vi.tsv@@ -637,6 +637,7 @@Condition identifier: Mã định danh điều kiện:Conflict {n} of {count} Xung đột {n} trong {count}Connect Selected End Points Nối các điểm cuối đã chọn+ Connect NốiConsolidate All Windows Hợp nhất tất cả cửa sổConstrain Giữ tỷ lệConstrain Angle Ràng buộc gócdiff --git a/crates/ui-egui/src/i18n/zh-hans.tsv b/crates/ui-egui/src/i18n/zh-hans.tsvindex 7b6559739..b92bc3389 100644--- a/crates/ui-egui/src/i18n/zh-hans.tsv+++ b/crates/ui-egui/src/i18n/zh-hans.tsv@@ -502,6 +502,7 @@Condition identifier: 条件识别码:Conflict {n} of {count} 冲突 {n}/{count}Connect Selected End Points 连接所选端点+ Connect 连接Consolidate All Windows 合并所有窗口Constrain Angle 约束角度Constrain Width and Height Proportions 约束宽高比例diff --git a/crates/ui-egui/src/i18n/zh-hant.tsv b/crates/ui-egui/src/i18n/zh-hant.tsvindex e49894894..610929ff2 100644--- a/crates/ui-egui/src/i18n/zh-hant.tsv+++ b/crates/ui-egui/src/i18n/zh-hant.tsv@@ -516,6 +516,7 @@Condition identifier: 條件識別碼:Conflict {n} of {count} 衝突 {n}/{count}Connect Selected End Points 連接所選端點+ Connect 連接Consolidate All Windows 合併所有視窗Constrain Angle 強制角度Constrain Width and Height Proportions 強制寬度與高度比例diff --git a/docs/target-app-parity.md b/docs/target-app-parity.mdindex 46a0b3bbe..aabbe1f70 100644--- a/docs/target-app-parity.md+++ b/docs/target-app-parity.md@@ -448,6 +448,7 @@ Moved from the ROADMAP's "Shipped so far" on 2026-10-10. Update it when a featur- The contextual task bar's handle drags it anywhere on the canvas (kept whole on it as the window resizes); unpinned it keeps that offset as it follows the selection, and its More Options menu hides it, pins its position across selection changes (`window.taskBar.pin`), resets it under the selection (`window.taskBar.reset`) and shows the Properties panel. As in Illustrator the position isn't kept across launches. Not done: the bar's variants for other tools (only the selection tools and the Artboard tool show it).- With one image selected, the contextual task bar offers Image Trace, which traces the image at once with the Default preset (the Image Trace panel is left as it was), and Crop Image; with an Image Trace object it offers Expand, which keeps only the traced paths. As in Illustrator ("Selecting images displays options like Image Trace, Retype, and Crop Image"; "You can also quickly expand traced artwork from the bar": [Contextual Task Bar announcement](https://community.adobe.com/announcements-651/contextual-task-bar-in-illustrator-2025-quick-actions-when-you-need-them-1546580)). Offset Path and Simplify, which don't apply to an image, aren't offered for one. Not done: Retype, which the app doesn't have.- With the Artboard tool, the contextual task bar sits under the selected artboards and offers Resize (Artboard Options for the active artboard), Duplicate (each selected artboard, in one undo step, the copies then selected), Rearrange All (with two or more artboards) and Export (Export for Screens with the selected artboards checked). As in Illustrator ("the Contextual Task Bar reveals options to resize, duplicate, and export artboards": the [Contextual Task Bar announcement](https://community.adobe.com/questions-652/contextual-task-bar-in-illustrator-2025-quick-actions-when-you-need-them-1546580); Rearrange and Export on the bar: [Managing Artboards in Illustrator](https://creativepro.com/managing-artboards-in-illustrator/)).+ - With anchor points selected with Direct Selection, the contextual task bar offers Remove Anchor Points, Connect (`path.join`), Cut Path, Corner and Smooth (`path.convertAnchors` with `to` set to `corner` or `smooth`), the commands of the Control bar's anchor buttons. As in Illustrator ("Remove selected anchor points, Connect selected end points, Cut path at selected anchor points, Convert selected anchor points to corner, and Convert selected anchor points to smooth": [Contextual Task Bar overview](https://helpx.adobe.com/illustrator/desktop/get-started/learn-the-basics/contextual-task-bar-overview.html)). Not done: Simplify, which the bar offers only while no anchors are selected, and the bar's Smooth item that adjusts a path's curvature, a command the app doesn't have (Object › Path › Smooth).- Tool flyouts tear off: dragging or clicking the tear-off bar on a flyout's right side (or releasing the long press over it) floats its group as a strip of tool buttons, moved by the same bar and put back in the toolbar by the × at its top (`window.floatTools`). While a group floats, the presses that would open its flyout raise the strip instead. Floating strips are kept with the preferences and in user workspaces. Not done: turning a strip vertical, docking it.- Screen readers get a name for the Tools panel's tool buttons, flyout rows, floating strips and tear-off bars, and for the icon buttons, text buttons, toggles, checkboxes, radio buttons, tabs, chips, sliders, angle dials and combo boxes that panels and dialogs draw with `crates/ui-egui/src/widgets.rs`: the text, label or tool tip each one shows, or a name of its own where it shows none (the angle dial, the spinner, the preset arrow, the color wheel and the Reference Point's squares). The tool buttons, toggles, checkboxes, radio buttons, tabs and the Reference Point's nine squares also report whether they are on, an icon button that is lit, such as the chosen Align To button, reports that it is pressed, and the angle dial reports its angle. The status bar's First, Previous, Next and Last Artboard buttons have tool tips.- Panels undock (#495): a dock tab, a panel icon or a popped-out panel's title dragged out of the dock floats that panel inside the window, and the strip right of the dock's tabs floats the whole tabbed group. A floating group moves by its title bar, a tab dragged out of it floats on its own, and dropped on another group's title bar or tabs it stacks with that group; dropped on the dock, which lights up under the pointer, its panels go back where they live (the tabbed group or the icon column), as its × and the panel menus' Float Panel / Dock Panel do (`window.panel.float`, `window.panel.dock`). The Tools panel floats by its title bar and docks again on the window's left edge. Floating groups stack into sets: dropped on the upper or lower half of another group (a line shows where), a group joins it right above or below it, and the set's groups stack top to bottom, each showing one panel, moving together by the top group's title bar, whose × docks them all; a group dragged by its tab strip leaves the set (`window.panel.float {below, above}`). A double-click on a tab collapses a floating group to its tabs (`collapsed`). Sets dropped on the left edge of the icon column or of another dock column dock as dock columns (a multi-column dock, `window.panel.dock {column}`), whose groups stack, tab and tear out as a floating set's do, and whose top strip floats the column again. Floating panels, their sets and the Tools panel's position are kept with the preferences and in user workspaces, and clamped into a smaller window. Not done: panels in separate OS windows, docking a panel into the default tabbed group it doesn't belong to, reordering tabs by dragging, collapsing a set or dock column to icons, dock columns right of the default dock, resizing floating panels and the groups of a set.