Commit Graph
7684 Commits
Author SHA1 Message Date
bflatastic a7ff91cd16 docs: regenerate contract-api for PointerFrame::pick_pos 2026-11-23 06:12:13 +07:00
bflatastic aec1c35895 ui-contract: a modal layer keeps the document canvas's claimed chords from it while nothing is focused, as it keeps the arrows 2026-11-23 06:12:13 +07:00
bflatastic f671a2f623 ui-contract: Cut in a focused selection part copies its selected text, as a label's selection does, instead of running the app's Cut 2026-11-23 05:59:18 +07:00
bflatastic 51cc84a7c1 color-ui: a disc drag's echo takes the unshown channel from the host's colour before, so a brightness disc over 8-bit colours is not cancelled as an outside change 2026-11-23 05:51:12 +07:00
bflatastic 20e9257bd1 ui-contract: an Escape over a captured press cancels it whatever the modifiers, so Cmd+Escape ends a borrowed tool's drag 2026-11-23 05:41:39 +07:00
bflatastic 56a174652c ui-contract: a drop lands where the button went up (PointerFrame::pick_pos), not where the pointer ends the frame 2026-11-23 05:37:46 +07:00
bflatastic 9a1040272f ui-contract: with nothing focused, the document canvas's claimed chords hold, so a tool takes the Delete and Backspace it claims instead of the app's Edit > Clear 2026-11-23 05:34:16 +07:00
bflatastic 9a128c770c dock: a group grip reports its drag's press point, which a tool rail's grip puts on the drag instead of reading egui's pointer; the grip trials assert relations to the grip shape 2026-11-23 05:23:41 +07:00
bflatastic d21395f485 theme: regenerate the vectorcraft-modern token dumps for line.grip and the grip shape 2026-11-23 05:16:54 +07:00
bflatastic f61e73e0da ui-contract: the lead trial reads the last lead move from the end 2026-11-23 05:09:07 +07:00
bflatastic 9f99a64cf7 docs: regenerate contract-api 2026-11-23 05:07:04 +07:00
bflatastic 6acd584c30 ui-contract: a lead whose row leaves the source takes the host's current item without a report, so PageList reports no Go the user never made 2026-11-23 05:00:09 +07:00
bflatastic 7436a99e09 color-ui: a named ColorWheel marker reports its colour's hex as its value 2026-11-23 05:00:06 +07:00
bflatastic 4a8fff263d ui-canvas: a tool drag held in the band inside the canvas edge scrolls the view, under the one edge rule hovers already use 2026-11-23 04:52:12 +07:00
bflatastic 333ba0f68a table: a grid drag starts where the pointer already is, so a release right after the drag start commits the move; a cancel names the value the grab started from 2026-11-23 04:46:55 +07:00
bflatastic 534db793a0 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-manager/tests/it/picker.rs
#	crates/ui-shell/tests/it/shell/app_shell.rs
2026-11-23 04:35:03 +07:00
bflatastic 5bfcb2249d ui-contract: a press of any button runs on the click run, as the old apps counted clicks; only a primary press carries the count 2026-11-23 04:28:57 +07:00
bflatastic 0d980bf749 ui-contract: a link field label reports the Link role, not Label 2026-11-23 04:28:54 +07:00
bflatastic 89c28d42b1 ui-patterns: the hosted PDF dialog takes the open and permissions passwords as automation fields (never listed), under the rows' standard rule 2026-11-23 04:28:52 +07:00
bflatastic 7a3c1b4b6b craft-print: trial that the sections layout of a hosted print dialog shows and switches its sections 2026-11-23 04:17:29 +07:00
bflatastic e1632f95fd ui-patterns: HostedParamDialog::can_reset compares with the reset target (opening values with reset_to over them), as reset does 2026-11-23 04:17:27 +07:00
bflatastic 116029a894 ui-patterns: trials that drops on a preset browser reach a tile and the empty notice in the grid view as in the list 2026-11-23 04:08:27 +07:00
bflatastic 43752a37ce ui-widgets: the toggle-state trial also covers a toggle given a shared (Mixed) value 2026-11-23 04:08:26 +07:00
bflatastic d8dd9d94e3 ui-contract: an accessibility click on an item of a collection that activates on a click activates it, as a pointer click does 2026-11-23 04:08:25 +07:00
bflatastic 5c8ac4b471 ui-widgets: a link in a row's cell is as wide as its text, so a press past it selects or drags the row; Hosted::role 2026-11-23 04:08:24 +07:00
bflatastic 9b89c55e5b ui-canvas: trial that two clicks in one frame reach the tool, the second as a double click 2026-11-23 03:47:17 +07:00
bflatastic f3119648e0 ui-contract: a multi-finger tap allows its own finger drift (MULTI_TAP_SLOP, 16 pt), not a press's slop 2026-11-23 03:47:15 +07:00
aiongg 8d436f486a Merge pull request #3087 from aiongg/dropdown-drives
Dropdowns name the list that takes their opener's keys (font picker Enter after typing)
2026-11-22 15:05:41 -05:00
David Mann 1cb53fbbf4 Merge pull request #3055 from davidmann4/fix/16403-16406-navigator-crop-bar-grip
Navigator drag, Crop move and shield seam, options bar clip, grip ink (photocraft#16403, #16404, #16405, #16406, #16410)
2026-11-22 21:02:29 +01:00
bflatastic 54af1b5ab0 font-manager: drop a leftover DIAG line from the picker preview trial 2026-11-23 02:29:01 +07:00
bflatastic 1789a05411 cargo fmt on the merged font-manager files 2026-11-23 02:23:41 +07:00
bflatastic 0f77a22391 ui-contract: the empty-commit IME trial matches EditorInput::Newline by its shift field 2026-11-23 02:23:41 +07:00
bflatastic d467ed3dcd Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/font-catalog/src/tests.rs
#	crates/font-manager/src/picker.rs
#	crates/font-manager/src/picker/rows.rs
#	crates/font-manager/src/picker/stories.rs
#	crates/ui-patterns/src/patterns/panels/palette.rs
#	crates/ui-patterns/src/patterns/presets/browser.rs
#	crates/ui-widgets/src/list/mod.rs
#	crates/ui-widgets/src/list/view.rs
2026-11-23 02:15:44 +07:00
aiongg 49988e9187 A dropdown's named list takes the keys only while it is shown
dropdown_target hands the opener's list keys to the named collection only when
it registered a stop in the last pass, so a dropdown that shows no list (the
font picker with no matching family) leaves Enter with the field, which
commits the typed name. The font picker names its family list on every pass.
The trial covers the no-match case with the class column shown.
2026-11-22 19:10:03 +00:00
bflatastic 6f69df0e47 docs: regenerate contract-api.md 2026-11-23 02:05:06 +07:00
bflatastic cbe8866177 keymap: CommandRef equality follows its binding key, so no parameters and an empty object are the same command 2026-11-23 02:01:42 +07:00
bflatastic 8a7f01b821 ui-widgets: a Select whose value names no entry reads as the placeholder its face shows 2026-11-23 02:01:38 +07:00
bflatastic a37e402774 ui-contract: a hidden field label, and one drawn inside its control, makes no Label node of its own: it names its control by its text alone (FieldLabel::shown) 2026-11-23 02:01:35 +07:00
bflatastic 73701aca9d ui-contract: a run too large to show (past MAX_EXTENT) declares no parts and is not parted, so its parts read idle, as a canvas on a very wide window reads its background 2026-11-23 02:01:20 +07:00
bflatastic 69751723d5 ui-contract: a clipboard command reaches the focused component in its event's place among the frame's keys and texts, so an editor reads a paste in order with the typing around it 2026-11-23 02:01:10 +07:00
bflatastic 39f86f764c behavior, ui-contract: Enter reaches an editor as EditorInput::Newline { shift }, each routed intent keeping the Shift of the press it came from, so an editor tells Shift+Enter from Enter in the order they came 2026-11-23 02:00:53 +07:00
bflatastic a2ca28d810 automation: ControlClient::connect reads a refusal the server wrote at accept as the sign-in's answer and returns its reason, without sending the sign-in 2026-11-23 02:00:18 +07:00
bflatastic 67b68a6389 ui-contract: a button over a two-state value (a shown bool, a toggle command's checked state) reports pressed off as well as on, so an off ToggleButton says it is not pressed 2026-11-23 02:00:09 +07:00
bflatastic e695aadc6d ui-contract, ui-widgets: a number field's value reads the unit it draws after its number ("160 pt") through Access::unit; trials that read a field's text read its text runs (AccessTree::run_texts_of) 2026-11-23 01:59:53 +07:00
aiongg fe271bf574 Dropdowns name the list that takes their opener's keys
A dropdown's opener (a picker's field or button) hands Up, Down, Page keys,
Enter and Tab to a collection in its dropdown. The framework took the first
type-ahead collection it found in the layer. The font picker's dropdown holds
the class column before the family list, so with filters shown Enter and the
arrows went to the class column: typing a name and pressing Enter picked
nothing.

Overlay::list (FocusPolicy::list) names the collection instead, and every
dropdown names its list: Select, ComboBox, TreePicker, completions, number
presets, PopupList (new PopupList::list) and the font picker, which names its
family list while it shows one. The type-ahead guess is gone.
2026-11-22 18:59:40 +00:00
David MannandClaude Opus 5.5 78a7530424 Dock grips: 2 points more room above the marks; a lighter grip ink in Pro dark (photocraft#16426)
The grip strip keeps 2 points more above its marks than below them in
every theme, so the marks stand clear of the column bar or icon group
above. Pro's dark mode pins line.grip to #555555 (it derived #474747 on
the #323232 panel), easier to see; token dumps follow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:59:30 +01:00
David MannandClaude Opus 5.5 1b14d4e3e9 Navigator: a view past the document stays; only the Navigator's own moves are kept inside it (photocraft#16328, photocraft#12025)
Every pass the Navigator pulled the view's centre back into the document
and wrote it back when it differed, also when it had moved nothing. With
Overscroll on, a view the scroll bars or the Hand put on the pasteboard
went back to the document's edge at once: the scroll bars stopped there
(the thumb never reached its track's ends) and their drags ended on the
change, while the Navigator panel was shown. Only a centre the Navigator
moved in its pass is kept inside the document now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:44:49 +01:00
David MannandClaude Opus 5.5 8995360551 Docking: a floating tool rail dropped by its grip keeps the grabbed point under the pointer (photocraft#16426)
GroupDrag carries the press a rail's grip started it with; a drop that
moves the floating window it is the whole of moves the window by the
pointer's travel from there (kept inside the float area) and keeps its
size, instead of putting its title row under the pointer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 19:25:33 +01:00
aiongg 27e5af8151 Merge pull request #3064 from aiongg/font-picker-arabic-story
Font picker: one sample per row, in the sample text
2026-11-22 13:19:00 -05:00
bflatastic b3d3c18ba8 ui-contract, ui-canvas: a nudge carries the keys held when its arrow went down, in the order of the frame's events (Intents::nudge_held, ToolKey::Nudge::held) 2026-11-23 00:50:27 +07:00