Commit Graph

20064 Commits

Author SHA1 Message Date
bflatastic 93eb129506 Composite Fonts' Save… saves through the file service (Files::save), which writes the file on the desktop and opens the browser's save picker or downloads it on the web 2026-11-23 21:25:39 +07:00
bflatastic bc0cd31082 Merge branch 'area/app2' into area/app4 2026-11-23 20:50:20 +07:00
bflatastic 2aeb45a6d2 Tests: the toolbar footer case finds the rail by its toolbar role, not the first node named Tools: the dock grip above it is named for the pane too 2026-11-23 19:48:48 +07:00
bflatastic 4f5c4d6544 Tests: the palette, Cmd+Alt+L and Cmd+Alt+N cases tap their keys, a press and its release, as a keyboard does: the framework now reads a second press with no release between as a repeat 2026-11-23 19:48:47 +07:00
bflatastic 633e5dd390 Presentation Mode keeps its view through a middle-button drag, which the framework canvas pans on its own, as production left the view as it was 2026-11-23 19:38:54 +07:00
bflatastic 896a41629d A menu's Cut, Copy or Paste that no framework part takes, while an egui text field has the keys, goes to that field as its clipboard event, with the text of a Copy's formats written first for Paste, as production's invoke_from_system_menu did 2026-11-23 19:38:53 +07:00
bflatastic 1537aa390d Plug-in tests: an OK the effect dialog holds is filed for the app, which applies it and closes the dialog; the answer waits for that close 2026-11-23 19:31:06 +07:00
bflatastic 224fcd0f2e Native menu items carry their live titles and states, a canvas press commits a panel field's preview first, and a clicked colour swatch applies from the panel's used
- The native menu's items show the title, enabled and checked state the app has as the menus are read (Undo Move after a drag, Cut off after Escape), where the in-window bar reads them from the command states.
- A press on the canvas commits a running Transform-panel preview before the tool takes it, as the field's commit came first in production; the field's own commit in the same pass then runs nothing.
- The Swatches panel and its chip popovers apply a clicked colour swatch from `SwatchesPanelOutput::used`; the framework never forwards `PresetEvent::Select`.
- Tests: held Escape's repeats carry `repeat`, the Control bar frames get the app's frame input in a window-wide room, the canvas context menu's row is clicked instead of the task bar's button of the same name, a key-equivalent paste is answered as egui-winit answers `RequestPaste`, a Copy's text is read from egui's output, and a confirmed dialog's layer closes in the pass after its OK.
2026-11-23 19:21:33 +07:00
bflatastic 1f156be37f The Control bar's Align To button gives its picked row as its choice (IconButton::choice): it reads as the combo box "Align To:" with the choice as its value, as the Align panel's Align To does 2026-11-23 18:58:24 +07:00
bflatastic 7323bd60d8 Pin every craft-libs crate at 0c633a83c (port/stubs) and the egui fork at f5025284, the revs that commit builds with. The five crates production pinned ahead of the framework branch move too: 0c633a83c contains their commits, and split pins resolved second copies of craft-svg, craft-image-codecs, craft-tiff, hayro-jbig2 and others, which pdf-deps rejects 2026-11-23 18:53:47 +07:00
bflatastic af511f34ea rustfmt: canvas.rs, io.rs, panels/actions.rs, tests/recolor.rs and toolbar.rs, formatting only 2026-11-23 17:26:53 +07:00
bflatastic 9c546bbee2 The rulers' zero point is given, not bound: the document keeps it and a drag edits it once at its release, so the framework no longer reads the unchanged origin as the host changing it and cancels the drag at its first move. Tests: the ruler focus-loss case sends the window's focus event as the host does, and the 3D panel's controls are found apart from their rows' side labels of the same name 2026-11-23 17:10:54 +07:00
bflatastic cd636498fc Follow the framework: a font sample's load runs as the background job document_face now takes, a moved or resized fallback document window opens where it was left (DocumentWindowOutput::placed), the colour pickers show the working space's RGB values, the deprecated egui::Id::new merged in becomes Id::unique, and the font-traits PLAN note names what the catalog's scan records still lack 2026-11-23 16:37:14 +07:00
bflatastic e41d4a2a9b Merge branch 'area/app1' into area/app2
# Conflicts:
#	crates/ui-egui/src/panels/transform.rs
2026-11-23 16:28:23 +07:00
bflatastic 1a026ade35 Merge branch 'area/app3' into area/app2 2026-11-23 16:24:59 +07:00
bflatastic 09e9d22962 A control-channel ui.pointer or ui.tool.select waits until the synthetic input sent before it reached the tool, as production's did; without a host clipboard a copy's text goes out through egui, as production's clipboard_out did 2026-11-23 16:17:14 +07:00
bflatastic bee4b599cf Tests: the task bar's field entry selects the whole field after its click, since a popover gives its first field the keyboard as it opens and a click there places the caret 2026-11-23 16:17:14 +07:00
bflatastic 71ba9be3bf Tests: a scrub of an artboard's W with the Artboard tool runs to its release as one undo step, and Escape takes it back 2026-11-23 16:17:13 +07:00
bflatastic 9acb8a2f6e Tests: the busy worker a clipboard test holds stays busy until the test lets it go, with no 10 s limit, so a test slowed past it by a loaded machine no longer sees the held Copy's formats written early 2026-11-23 16:17:12 +07:00
bflatastic 6c95297d0d In two Tools columns the three drawing modes sit side by side, small and a tight gap apart, as production's did; the footer test checks in one column only the current mode it shows 2026-11-23 16:10:14 +07:00
bflatastic 6ad13471c6 A narrow status bar leaves out the timings, then the pointer position, before the message, as production gave the message priority over the readouts 2026-11-23 16:10:12 +07:00
bflatastic df4b510e93 The Control bar's Opacity group leaves before the other groups, so the narrower Style link and picker show without it as in production 2026-11-23 16:10:11 +07:00
bflatastic f7b5921e8f The Control bar's X, Y, W and H captions are links that open and close the Transform popover, as production's labels did; tests find a caption as the link named after its field, the panel harness takes the field where a caption link shares its name, the isolation bar's empty point is at the end of its path, and the Global Edit options are looked for after the popover's exit fade 2026-11-23 16:10:10 +07:00
bflatastic 443bb7a109 A tool rail floated by a command (a new toolbar, a strip, a copy) floats in a stepped column, so the dock fits its window to the rail's grid instead of the default float size; the drawer tests find the drawer's tools inside the drawer and the add-tool menu's items inside the menu, and move toolbar B off A as production's test did 2026-11-23 16:10:09 +07:00
bflatastic a579ca90db Docking and document windows follow production again: a tab F7 hid with its group comes back alone when a command shows it; a panel floated out of the icon column by a command opens expanded; a floating panel's OS window takes the canvas's carried art and passes its leftover Escape and Enter on as the main window does; a dimmed key does nothing while a dialog or a text field has the keys; a press anywhere on a floating document window makes it current, but not while a dialog is open; floating windows fit again when their size changes and after Presentation Mode; a tab dragged without a reorder is no click and one dropped back on its own strip docks nothing; the document-window tests read a window's bounds and the tab strip from the access tree 2026-11-23 16:05:09 +07:00
bflatastic 3c30ef69af Save for Web test: a Color Table cell is double-clicked once the dialog has stopped moving as it fills in, so the clicks land on the cell 2026-11-23 15:28:35 +07:00
bflatastic e6bc9b003c Libraries: a colour row's hex value is read with the row; the tests drag a group by its title row and keep their drag source row in place, so the rows stay where they were measured 2026-11-23 15:28:34 +07:00
bflatastic c179bc82f9 Library panels: a folder is a row of its own that a click selects, as production's folder tiles were, and the footer stays under the browser, which scrolls in the room above it 2026-11-23 15:28:33 +07:00
bflatastic 128f4e30a8 Tests: the W field is found by its name Width in a full-size window and the press lands where the canvas shows the other rectangle; the chip popover's swatches are clicked by their names with values, the Control bar test in a window's width 2026-11-23 15:21:04 +07:00
bflatastic 2663c9281a The plug-in install question records whether automation's injected input pressed its OK in the pass that pressed it: the answer is read after that pass, when no pass is running, so automation's Enter, Space or click on a focused OK installed the plug-in 2026-11-23 15:19:38 +07:00
bflatastic 8a9372bcb1 Tests: Save of an untitled document reads the file after the frame that takes the save panel's answer; touching colour bars count as in row order 2026-11-23 15:17:05 +07:00
bflatastic 9df876b1ff Shape properties' angle fields show production's trimmed degrees (360°, not 360.0°), committing one decimal 2026-11-23 15:14:53 +07:00
bflatastic 5292fe1dee The fake clipboard reports the owner marker the platform has, as production's fake did: set by the app's write, cleared by another app's copy 2026-11-23 15:14:52 +07:00
bflatastic 3da4e57035 A scrub of the selection's fields runs to its release: the fields measure from the box the gesture began on, so the base value they show no longer drifts and cancels it; a panel field's previews stay as one step in their document when another becomes active, as the scrub's undo group did 2026-11-23 15:14:51 +07:00
bflatastic fea25adbf6 A test folder made under a name another running test also uses is its own: each Folder::new gets a number, so one test's removal no longer takes the other's files 2026-11-23 15:14:50 +07:00
bflatastic f7d0016c4c Freehand test: the window's first frames run before the first Pencil stroke, so both strokes the live curve fitting test compares are drawn at one zoom (the Fidelity is in screen pixels and the dialog's frames fit the view) 2026-11-23 15:10:56 +07:00
bflatastic fc26b5cc90 Tests: the font menu rows are compared while the shared font database holds still, Paste's dimming runs on a still clock, the palette's rows are read under the palette as they are judged, a pick's count is left out of what its command changes, the canceled dialog is gone in the next pass, a tutorial step's tool is clicked as its link in the sentence, Classic keeps its own accent as production's tokens did, the held S's canvas press and Enter's drag run in frames as production's did 2026-11-23 15:08:50 +07:00
bflatastic 23bee29aba Menu access test: frames run with motion off, so a menu closed by an outside press leaves at once instead of keeping focus through its exit fade 2026-11-23 14:53:26 +07:00
bflatastic dfa52f919d The Type tool's editor takes the keys back from its document canvas: the press that starts an edit focuses the canvas as its pass ends, after the editor asked for them, so the edit's typing and input-method text reached nothing 2026-11-23 14:32:49 +07:00
bflatastic a86c084560 Graphic Styles: Delete removes every selected style, the Default Graphic Style too when others go with it, as production's Delete button and panel menu did; the Default alone stays undeletable 2026-11-23 14:31:57 +07:00
bflatastic 3cbbdda741 Merge remote-tracking branch 'origin/main' into area/app1
# Conflicts:
#	Cargo.toml
#	apps/vectorcraft-web/Cargo.toml
#	crates/text/Cargo.toml
2026-11-23 13:24:01 +07:00
bflatastic 26fabc041d A key bound only to commands that can't run now does what production's key did, its menu item's action, which says why it can't run or does nothing, unless the commands' gate holds the keys (a file dialog, a shortcut being recorded, Presentation Mode); the frame's gate and this check share one rule 2026-11-23 13:18:01 +07:00
FredApps 0b25f2ab6f Merge pull request #9160 from FredApps/imo778-craft-libs-pin-205042e
deps: pin all craft-libs crates to 205042e (craft-libs#778)
2026-11-23 13:02:13 +07:00
bflatastic 08854f4e89 Palette: results that match a query as well rank a tool, a menu bar command, a panel, an effect, a filter plug-in, then a command with no menu item, as production's did 2026-11-23 12:42:19 +07:00
bflatastic 8417ce7a03 A PostScript name gives an installed face before a bundled face of another family with the same name, as the installed faces alone answered before the bundled ones were cataloged 2026-11-23 12:40:50 +07:00
bflatastic 6fa7ea56fb Units tests: drop the millimetre helper no test reads 2026-11-23 12:36:55 +07:00
bflatastic 5dead075d5 Every engine command the palette lists has a state, dimmed with its reason where it can't run, also those no menu row or shortcut names (Asset Export's Remove and Rename) 2026-11-23 12:36:54 +07:00
bflatastic e9cf81cc01 Follow the framework: the type editor applies its inputs and commands in arrival order and no typing after a command ended the edit; a dragged swatch carries its paint to the app's drop targets; a key pressed for a dimmed command says why it can't run; the bundled fonts are in the font catalog as bundled faces, and a rescan still counts the installed faces 2026-11-23 12:36:53 +07:00
bflatastic 6c702fd5c7 PDF import's kept fonts read the interpreter's glyph type through the craft facade 2026-11-23 12:36:51 +07:00
bflatastic ef45e2675b Merge remote-tracking branch 'origin/main' into area/app1
# Conflicts:
#	Cargo.toml
#	crates/text/Cargo.toml
#	crates/text/src/fontdb.rs
#	crates/text/src/fontdb/db.rs
#	crates/text/src/lib.rs
#	crates/ui-egui/src/opening.rs
#	crates/ui-egui/src/prefs_dialog/tests.rs
2026-11-23 12:23:02 +07:00