Commit Graph

20035 Commits

Author SHA1 Message Date
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 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 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 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
bflatastic de7a6c96ac Effect dialog: the Free Distort reset target is built where the dialog is 2026-11-23 12:16:32 +07:00
bflatastic 398398a8cc Tools rail: regular draws at the comfortable density and Compact Tools at the chrome's compact one, as production's 36 and 30 pt cells; each rail's dock spec gives its rail grid in that density, so its column is whole rail steps wide; the footer's paint chips are small and its rows wrap inside the rail; the workspace test goes back to the saved workspace with Reset, since a switch to the current one keeps its changes 2026-11-23 11:55:35 +07:00
bflatastic e7ffbbec55 Recolor Artwork: Undo Changes, Redo Changes and the Randomize buttons act on every click, a quick second one too, as production's did; the Edit tab's colour chips are named New Color N, apart from the bars and markers named Color N; Import PDF's path can be set as production's fields took it (OK checks the roots). Tests: a channel rail is clicked along its thumb's travel 2026-11-23 11:45:35 +07:00
FredApps 4811e6d414 Merge branch 'main' into imo778-craft-libs-pin-205042e
Bring in #9157 (SonarCloud archive job-cap note) so this Rule-10 pin
contains current main before landing.
2026-11-23 11:45:17 +07:00
bflatastic 46d02f9d75 Art moved with a Selection tool leaves the canvas where another window covers it, as production's canvas checked the layer under the pointer, so it drops into a floating view or window; art released over a pane drawn outside Tile in the frame the pointer reached it drops there, from the panes the last frame drew, once the windows have drawn (one helper with the tiled split); Window menu panels with no place float, only Dock and Move put them in the dock, as production placed them; the shape tools' Hide/Show Shape Widgets button names itself and runs its command, as production's did (the command is in no menu, so it has no catalog title). Tests: the docking harness answers a held OK through the pump and finds a library panel's tab by its library's name; the Hand fit makes the first artboard active again after the Artboard tool made the second active (production's own test had one artboard) 2026-11-23 11:39:52 +07:00
bflatastic 14b2eafb4e Color panel: the RGB rows show and edit the working space's own numbers through a working-RGB colour model the panel takes; the slider test starts its red off the thumb a mid-track click lands on 2026-11-23 11:36:37 +07:00
bflatastic 6e871532e1 Restore the type editor's shortcut rows in Keyboard Shortcuts (79e83d1709's shortcut_editor.rs hunk), which the plug-in shortcut commit dropped by staging the file from an older tree 2026-11-23 11:30:04 +07:00
bflatastic 8ebd729792 Tests: the palette's dialog answers go through the window's pump, which runs what OK does (Delete Selection's layer delete); a dialog closed in the shortcut tests is drawn gone in the window's next pass before the next key 2026-11-23 11:29:13 +07:00
bflatastic 7a75e0ca98 While a tool's gesture runs, a key that is neither an arrow nor a digit reaches the tool's own-shortcut check: W with the Blend tool's first pick held finishes the blend 2026-11-23 11:29:11 +07:00
bflatastic 98760f7ffb On a Mac, Cmd+, opens Settings as production did, unless a shortcut has the chord 2026-11-23 11:29:06 +07:00
bflatastic 9e3921f850 A menu item's and Discover's shortcut is the one the set in use gives it: until the window's keymap takes a change (shortcuts.set) in its next frame, the set is read 2026-11-23 11:29:01 +07:00
bflatastic aa22e93801 A live-effect plug-in's shortcut follows what its item runs: the menus move a saved shortcut to the plug-in's command when it is installed, removed or back with other options, the shortcut commands read the set that way before the next frame, a command the window's keymap takes only from its next frame lists the shortcut its set gives it, and an open Keyboard Shortcuts takes the commands of a plug-in installed or removed meanwhile, keeping its edits 2026-11-23 11:28:57 +07:00
bflatastic 8d86958d21 Print dialog's Document Ink Options on the framework grid: each ink's Print box named by the ink, a spot ink's Convert to process / Keep as spot toggle, its name, and Frequency and Angle fields named by the ink, in aligned columns; the print tests answer synthetic input (ui.text, ui.key) once the frames after it have run 2026-11-23 11:28:37 +07:00
bflatastic a77f35c151 Units test: the Rectangle dialog, held open, is read in the frame after the one it opened in 2026-11-23 11:28:29 +07:00
bflatastic 79e83d1709 Canvas part C: a type edit the tool host starts (a double-click on type) shows its editor in the same pass, so the next frame's Escape ends the edit and goes back to the tool used before; a chord the user binds with shortcuts.set leaves the type editor's own commands, as production's editor let a bound Cmd+Enter run its command instead of committing 2026-11-23 11:26:57 +07:00
FredApps 3e3d1d1386 Merge pull request #9157 from storytold/ci/sonar-archive-build-jobs-note
ci: note the shared SonarCloud archive job cap
2026-11-23 10:58:37 +07:00
bflatastic f1feaef739 3D panel lighting tests draw the panel as tall as a docked one: Move Light to Back sits below the sphere, past the 300-point room the fixture starts with, where no click reached it 2026-11-23 10:39:36 +07:00
bflatastic 1f5c94f59c Artboards panel: a Shift-click's range keeps its rows selected when the list then goes to its last row, as a Ctrl/Cmd-click's toggle already did; the Export for Screens test reads the range in the frame after the click, where the list reports it 2026-11-23 10:32:20 +07:00
FredApps c9c2d711d1 xtask: keep pdf-deps aligned with the 205042e craft-libs pin (craft-libs#778)
Shard 5 (Checks) failed because cargo xtask pdf-deps still expected
craft-pdf and the hayro/krilla backends at d7c9632, and hayro-jbig2 at
the leftover stream-codec pin. All of those crates now resolve at the
shared 205042e revision.
2026-11-23 04:26:33 +01:00
bflatastic 5cce6d270f Strips torn off a tool rail close when the rail is hidden and come back when it shows again (Window › Tools and a New Toolbar's own toggle); a New Toolbar's footer has its Add Tool… button, with the menu only in the pass that shows the rail; the toolbar tests find a tool's button by its label, which names it now (the shortcut is in its tip), and ask whether the Shapes group floats by its first tool, as is_floating reads 2026-11-23 10:25:37 +07:00
bflatastic 5f63bc091a A tool change ends a control Rotate View press, as production's did; a paste goes into text only while a field that takes it or the Type tool has the keyboard (focus on the canvas or a label's selection writes no formats first); Image Trace runs start on the progress window's clock; Enter reaches no tool in Presentation Mode. Tests: Save As's dialog opens on the host's next pass, a dialog's Escape closes it on the next pass, a fired command reaches a selected label in the next pass, a pasted number shows its unit, the action under test is the set added after the Default Actions, a menu row's title is its state's, the dialog host names an unknown field so, the trace's delay is backdated on the monotonic clock, the ruler fields' window is wide enough for the Control bar's inline fields 2026-11-23 10:21:56 +07:00
bflatastic ef2c848411 Panels m-z: Enter in Pattern Options' Name field ends the editing, the keys going to the document canvas. Tests as production drove them: Appearance rows are pressed and dragged past their link's text and an effect's name is clicked on its link, the weight and length fields read with their unit, the Move dialog's lengths read from its drawn field and typed there, the pie link takes the focus before Space, the artboard history keys follow a whole window frame, and art reaches the Symbols panel carried off the canvas, not from a Layers row (harness helpers: click_role_with, click_at_with, drag_between, rect_role, focus, shows_value_with) 2026-11-23 10:17:30 +07:00
FredApps a3b0b3dec0 deps: pin all craft-libs crates to 205042e (craft-libs#778)
Rule 10: every storytold/craft-libs crate is at the same rev, now
205042e406b630cda653990649264a78fea6296b, the merge of #3136 on
craft-libs main. That rev still skips a form already on the drawing
stack (ISO 32000-2 §8.10.1) but no longer reports it as
ContentTruncated, so a 200-shape knockout-mask PDF imports completely.

Also moves the leftover per-crate pins of craft-font-catalog and
craft-web-api onto the same rev.
2026-11-23 03:59:59 +01:00
bflatastic 1f561ca7f0 Alt chords as production read them: the type editor claims its Alt+digit character chords (bullet, paragraph, section, trademark), which the framework's Windows Alt-code entry otherwise takes, as production read codes from the keypad only; a tool that takes a lone Alt tap (the Quick Pen switching its action) says so to the canvas host 2026-11-23 09:58:32 +07:00
bflatastic 834c781c36 Before the app has a window its background jobs run on the platform's default, a worker thread per job (in line on the web), as production's did: a windowless save no longer runs on the caller's thread and waits there for its own release 2026-11-23 09:58:27 +07:00
bflatastic dbbca26a21 Appearance inline editor: Load Texture's path stays the dialog's, so an edit sends only the effect's parameters; an effect with no rows of its own (a removed plug-in) shows its stored values by type, as production's editor did. Layers tests: thumbnail uploads are read at the end of the pass that made them, the store counting per frame; the locate test Shift-clicks the selection squares as production's did 2026-11-23 09:56:04 +07:00
bflatastic 08ae473b61 Repair the previous commit's misplaced hunks: Escape's release reaches the tool after the host runs (it sat inside the hover match, which did not compile), a cancel by Escape marks the press, not every claims query, and the clicked-row helper sits before the test module 2026-11-23 09:49:59 +07:00
bflatastic 1db6dc9df3 Dialogs n-z and addons: the 3D dialog sits at the window's right edge and passes the gizmo's presses through its modal layer, and an Escape puts the gizmo's fields back as they were; Map Art's Done is in the footer; the 3D preview leaves out light settings a classic effect doesn't take; Rasterize's dialog turns its resolution preset back into the effect's params; Zoom to Selection fits at once; Save PDF drops Custom flattener options when another flattener preset is chosen, checks them in the Summary, takes flattener.* fields from automation, refuses a taken preset name at OK and tells a failed Save Summary over the dialog; the Proof Setups folder stays until the pick's answer has written into it; a group's colours go first to the Recolor rows that hold them; Swatch Conflict lists the conflicts it asks about. Tests: the controls' real names, Preview ticked as command dialogs open with it off, a cell double-clicked to ask for its colour, the frame's paste settlement, pick answers taken with the frame input, renders counted by new images, numbers compared as numbers 2026-11-23 09:36:02 +07:00
FredApps 5022ba5593 ci: note the shared SonarCloud archive job cap
The reusable workflow now defaults build-jobs to 2 so a cold instrumented
archive stays within hosted-runner memory (craft-common-actions#333).
2026-11-23 03:21:18 +01:00