Commit Graph
7464 Commits
Author SHA1 Message Date
bflatastic ae8bffc192 platform: a boxed ClipboardBackend is a backend, forwarding every method to the one it holds 2026-11-22 08:22:13 +07:00
bflatastic 8713c93c6c ui-contract: CommandState::is_checked reads the checked state the app set 2026-11-22 08:22:12 +07:00
bflatastic f746bb7dfa text: CharacterRows::BASELINE and STYLE_TOGGLES gate the baseline shift and the style toggles; PROPERTIES is the Properties panel's Character section 2026-11-22 08:20:27 +07:00
bflatastic 832701e48b pages: PageListEvent::rename, lock and new_row build the struct events outside the crate 2026-11-22 08:20:27 +07:00
bflatastic de4ebd397b design-lint: contract/unsafe-allow names craft-appkit and craft-wayland
Both crate docs say the rule names them; ALLOWED listed only craft-win32 and the benchmark allocator.
2026-11-22 08:18:38 +07:00
bflatastic 81266c36d0 ui-contract: Fixture::click_at's press and release carry the modifiers Fixture::hold keeps
They carried none, so a component that reads the release's modifiers never saw a held Alt. The frames already announce
held modifiers, so the click no longer announces and clears its own.
2026-11-22 08:18:37 +07:00
bflatastic 4f74e5639c ui-contract: a foreign drag moving to another row restarts the rest wait
The wait timed whether any row was under the pointer, so half a delay on one tab and half on the next selected the
second.
2026-11-22 08:18:35 +07:00
bflatastic 04570159a7 ui-widgets: a Button reads the OS only when it shows a chord
The chord's OS was an eager argument, so every button read the shell facts and reran on a window maximize.
2026-11-22 08:18:33 +07:00
bflatastic fe8ebb2748 ui-widgets: the link-in-a-sentence story fits its room at every text size
At 379 points in a 400-point room it wrapped under the large text size and came out narrower. With no closing stop
its width is the same in both directions.
2026-11-22 08:18:31 +07:00
bflatastic ad0ab4b9c3 ui-widgets: the long chord-button story gives its long text as the label, not as painted text
painted is the label as the face shows it (with its access letter) and the label stays the accessible name, so a cut
painted text that is other words was in no name.
2026-11-22 08:18:29 +07:00
bflatastic 7d0a26c937 ui-widgets: the List rule-heads story keeps its open groups and applies their open events
It rebuilt an all-open set every frame, so a click on the first group's or a nested group's disclosure changed
nothing.
2026-11-22 08:18:01 +07:00
bflatastic 0fb47e5842 ui-widgets: a List rule head reports no disclosure and no expanded state
Contract ap.AP6: the divider row has no disclosure and its group is always open, but the row still declared a
disclosure button that a click could not reach.
2026-11-22 08:17:59 +07:00
bflatastic e14eb05b53 behavior: a ragged grid's page move passes over rows that cannot take the lead
Up and Down already passed over such a row (a closed group's); Page Up and Page Down stayed put when the page landed
on one, as on a TileGrid rule head.
2026-11-22 08:17:58 +07:00
bflatastic 91c54be4d2 ui-widgets: a TileGrid rule head stays a section the grid draws and only stops taking the lead
Under GroupHeads::Rule the outline reported the head as no section stop, so the collection built it as an item and
handed the group's key to the app's tile painter (the rule-heads story indexed its tiles past their end). The head
stays a section stop, cannot take the lead (enabled is false), and declares its section part so its heading node
keeps the group's name.
2026-11-22 08:17:56 +07:00
bflatastic 241e37e03c layers: the host-drop trial gives its two panels their own documents, so their row lists get their own ids 2026-11-22 08:15:17 +07:00
bflatastic 294e44299c layers: the holder-depth trial reads each row's tree level; a row's node spans the list's width at every depth 2026-11-22 08:15:16 +07:00
bflatastic 48534a279c ui-patterns: the multi-selection trial closes the row menu its secondary press opened before the next pick 2026-11-22 08:08:51 +07:00
bflatastic dc534e738c ui-patterns: the removed-draft trial clears the textures of the egui pass it runs nested in 2026-11-22 08:08:50 +07:00
bflatastic e02ecb67a3 ui-patterns: palette trials give the capped list room for every result and press the button under the modal by its rect; the press that closes the palette presses nothing, as production's does 2026-11-22 08:08:49 +07:00
bflatastic f40071883e ui-patterns: the command palette's dialog face opens with an empty query and no active row, as the in-place face does 2026-11-22 08:08:48 +07:00
bflatastic 14d4948c2d ui-widgets: the multi-row ListRow stories show their rows as one set in a Stack
Shown bare, a nested row had no position in its set and rows that hug their text stayed at the left edge in
right-to-left.
2026-11-22 08:03:01 +07:00
bflatastic 1f7df2dd4d ui-widgets: a click on a field's link label is the click its output reports to a story
NumberFieldOutput and LinkedOutput reported the link click to the host but not in their story facts, so the suite saw
an AccessKit Click on a link label do nothing. The Field story passes its field's link click on.
2026-11-22 08:03:00 +07:00
bflatastic 2257be8f60 ui-widgets: the held step-arrow story stops short of the repeat, and the step-arrow trial finds the field it shows
The held story's drive held the arrow past the repeat delay, so its run ended two edits and kept repeating after the
drive, which the suite's one-edit and at-rest checks reject; the repeat is the trial's to check. The trial showed the
field through Fixture::new, which knows no root id, so it never found the arrow; it shows it hosted now.
2026-11-22 08:02:59 +07:00
bflatastic f01a9733c9 color-ui: the fill/stroke spectrum trial warns on a teal outside the print gamut 2026-11-22 08:00:12 +07:00
bflatastic 39fa3de885 color-ui: the disc trials keep the drag value, so the markers sit where their colours put them 2026-11-22 08:00:10 +07:00
bflatastic 58951094fd color-ui: a mixed wheel's hue slider keeps its range 2026-11-22 08:00:10 +07:00
bflatastic db364a1d2b color-ui: a square wheel's inner press part is pointer-only, the square's own stop takes the keys 2026-11-22 08:00:09 +07:00
bflatastic 997acb41e1 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/ui-patterns/src/patterns/form_dialogs/about.rs
2026-11-22 07:42:50 +07:00
David Mann cec6d87ff2 Merge pull request #2939 from davidmann4/fix/about-float-room
Dialogs: a layer's body leaves its footer room when it fills (photocraft#16326)
2026-11-22 01:37:30 +01:00
David Mann 4fc1e38945 Merge pull request #2934 from davidmann4/fix/photocraft-16332-grip-ticks
Docking: grips are the reference's upright ticks; a grip under a tool rail's column bar (photocraft#16332, photocraft#16333)
2026-11-22 01:37:10 +01:00
David Mann 7960974ea4 Merge pull request #2929 from davidmann4/fix/about-tab-spacing
About: set the About tab's blocks apart and centre the button and links (photocraft#16325)
2026-11-22 01:36:54 +01:00
bflatastic 508f857746 Merge remote-tracking branch 'origin/next' into sync/next
# Conflicts:
#	crates/layers/src/ui/panel/row.rs
2026-11-22 07:30:15 +07:00
bflatastic 069ca45032 wayland: unmap_window attaches no buffer to the window's surface, commits and flushes 2026-11-22 07:06:31 +07:00
bflatastic c66ae09aac theme, ui-contract: RootEnv::accent derives the theme's accent colours and the text on them from the user's seed 2026-11-22 07:03:55 +07:00
bflatastic 0bb4b3cbc2 automation, text: the Actions and Text Styles row menus take production's rows; Redefine names its style 2026-11-22 06:55:21 +07:00
bflatastic 9e84abce81 text: the styles panel's footer acts on the body's facts of the pass, not on its own empty memory 2026-11-22 06:53:51 +07:00
bflatastic 3bd9464c4e dock: DockArea::continue_move hands the held press to the floating window holding a panel 2026-11-22 06:38:48 +07:00
David Mann c484499138 Merge pull request #2932 from davidmann4/fix/16328-canvas-scroll-range
Canvas scroll bars: pasteboard range, thumb stays under the pointer (photocraft#16328, photocraft#16329)
2026-11-22 00:37:48 +01:00
David Mann 06e460abbb Merge pull request #2931 from davidmann4/fix/menu-bar-space-hand
menu bar: Space on a focused title opens no menu (photocraft#16327)
2026-11-22 00:37:22 +01:00
David Mann 3263c55f58 Merge pull request #2919 from davidmann4/fix/photocraft-16321-hidden-eye-hover
Layers panel: a hidden layer's eye box stays empty under the pointer (photocraft#16321)
2026-11-22 00:36:38 +01:00
bflatastic 67b79a74a4 form_dialogs trials follow the shipped behaviour: the report lists its notes, a narrow room is one short of the pair, typing is the field's gesture, OK confirms the select's pick; stories show Text, not a bare egui label 2026-11-22 06:34:37 +07:00
bflatastic 4da7b481dd form_dialogs: a host refusal shows its reason under the rows of a dialog without a held OK 2026-11-22 06:34:36 +07:00
bflatastic f525fa4e6e ui-contract: a reset of a binding already at its default files no edit 2026-11-22 06:34:35 +07:00
David MannandClaude Opus 5.5 2749cb5229 Docking: no doc link from the public grip option to the private marks style (photocraft#16332)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:24:21 +01:00
David MannandClaude Opus 5.5 06238616d4 Dialogs: a layer's body leaves its footer room when it fills (photocraft#16326)
A layer's measuring run lays its body out before the footer runs, so a body
that fills the layer's room (a scrolling list, About's Contributors grab bag)
took the footer's height too. The layer came out taller than its room by the
footer, with empty space under the buttons, and in a small window it ran past
the window's bottom edge.

When what a layer with a footer took is taller than its room, the run is now
taken back and the body laid out again beside the footer that run measured,
as a capped inline body already is.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:44:58 +01:00
bflatastic 253d76d13f color-ui: the picker dialog's Color Swatches view keeps the buttons' cell; the swatch request test names a swatch no channel shares 2026-11-22 05:36:23 +07:00
David MannandClaude Opus 5.5 9597f188d5 Docking: grips are the reference's upright ticks; a tool rail gets a grip under its column bar (photocraft#16332, photocraft#16333)
The grip above each icon group of a collapsed column was a dotted hairline in a lighter ink than the panel
(7bf0a9b6d, e5e007233). The reference application draws its dock grips as ten upright ticks, one point wide,
four tall and one apart, a little darker than the panel in every interface colour, the same under the pointer.
`GripMarks` paints that row, through the new `Rule::ticks` (the dotted rule is now its square case) and
`Draw::grip_ticks` (exactly `count` marks at every scale).

A tool rail the host shows itself (a panel with a `DockGrid`, taken by `group_view`) now gets a grip strip of
`DockSizes::grip` on top, under its column bar: a `GroupGrip` with the ticks, whose drag moves the rail's group.
The host's view gets the room under it, and the group measures the strip on top of the view's height.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:32:50 +01:00
David MannandClaude Opus 5.5 dc89eb1d3a menu bar: Space on a focused title opens no menu (photocraft#16327)
A lone Alt tap or F10 puts the keyboard on the in-window menu bar. The
titles took Space as their activation, so Space opened the lit menu
(File), and a held Space went on to run its first row. In a canvas app
Space is the momentary Hand, and the reference application never opens a
menu with it.

- The titles activate on Enter only; Down opens the menu as before.
  Space goes on to the app's shortcuts, and a shortcut pressed on the bar
  already gives the keyboard back to the stop the bar took it from.
- A bar that takes the keyboard while nothing holds it remembers the
  window's document canvas (the key target then) as that stop, so the
  shortcut and Escape give the keyboard back to the canvas instead of
  leaving the bar lit, where the next tool letter would open a menu.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:31:58 +01:00
bflatastic 4cbd19c3a7 ui-patterns: the radio rows' closure needs no mut 2026-11-22 05:20:00 +07:00
David MannandClaude Opus 5.5 a10089e3f6 WIP: Dialogs: a floating dialog's body stays inside the window when it grows (photocraft#16326)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:17:43 +01:00