Commit Graph
7438 Commits
Author SHA1 Message Date
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
David MannandClaude Opus 5.5 e75b255e63 About: set the About tab's blocks apart and centre the button and links (photocraft#16325)
The centred layout drew the blurb, version, community button, link row and
built-with line in one stack at the row gap, and its rows were only as wide
as their content, so nothing was centred and no block stood apart. The
blocks now sit apart by the section gap, and the body and the About tab
take the dialog's width, so the button and the link row centre in it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:16:23 +01:00
bflatastic 3aba5a108c ColorRequest::on_swatches opens the colour picker on its Color Swatches view 2026-11-22 05:15:08 +07:00
bflatastic 7ed64e69cb ui-patterns: HostedListManager, the list manager on the dialog host; take_choice hands over actions that keep it open 2026-11-22 05:11:01 +07:00
David Mann b572143761 WIP: Docking: grips as the reference's upright ticks; a grip under the toolbar's header (photocraft#16332, photocraft#16333) 2026-11-21 23:02:39 +01:00
David MannandClaude Opus 5.5 0712064ab1 Canvas scroll bars: pasteboard range, thumb stays under the pointer (photocraft#16328, photocraft#16329)
With Overscroll on, the bars' range takes in the pasteboard: at either end
of a track 100 screen points of the document stay in view at the opposite
edge, at any zoom and for documents larger or smaller than the window, as
measured in the reference application. Overscroll off is unchanged.

A thumb drag keeps the range the bar had at the press and maps the
pointer's movement from the press onto it, so the thumb stays under the
pointer: past a track's end the view waits, and moving back moves it again
in the same drag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 23:02:38 +01:00
bflatastic a930e20256 font-catalog: Catalog::set_confined_dirs; a link in a confined folder is followed only inside one 2026-11-22 05:02:04 +07:00
David Mann ca3d21835d WIP: Canvas scroll bars: pasteboard range and a thumb that stays under the pointer (photocraft#16328, photocraft#16329) 2026-11-21 23:00:28 +01:00
bflatastic e2dca317ec ui-patterns: WorkspaceSwitcher::commands replaces the switcher's header menu rows 2026-11-22 05:00:26 +07:00
David Mann c1a34f7d8d WIP: menu bar: Space on the focused bar leaves it and reaches the Hand (photocraft#16327) 2026-11-21 22:58:36 +01:00
bflatastic d059b92889 ui-widgets: Radio::detail shows a muted line after the radio's label through the label step; form radio rows use it 2026-11-22 04:57:37 +07:00
David MannandClaude Opus 5.5 7843e29364 Layers panel: a hidden layer's eye box stays empty under the pointer (photocraft#16321)
A list toggle cell drew its off icon under the pointer, so hiding a layer showed a crossed-out eye in its box until
the pointer left. The reference application leaves a hidden layer's box empty in every state. ToggleCell gains
`empty_off()`, which never draws the off icon, and the Layers panel's layer and sub-row eye cells use it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:50:45 +01:00
David MannandClaude Opus 5.5 d9686ea983 WIP: About: set the About tab's blocks apart and centre the button and links (photocraft#16325)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:49:56 +01:00
bflatastic ecb5efdebd ui-canvas: ToolInput::clicks injects a double or triple click through the window host's click injection 2026-11-22 04:47:22 +07:00
bflatastic a7a3b72eb0 Length fields: LengthUnits::bare_in reads bare numbers in another unit; a length row honours Param::codec 2026-11-22 04:43:11 +07:00
bflatastic 3269303dce ui-panels: StandardPrompt readers for the title, message, paragraphs and buttons it shows under a host 2026-11-22 04:38:26 +07:00
bflatastic 2f27abb014 layers: LayersEvent::rename builds a committed rename outside the crate 2026-11-22 04:34:28 +07:00
bflatastic aa44f62c8b ui-patterns: re-export the palette's RESULTS from patterns::panels 2026-11-22 04:33:34 +07:00
bflatastic 9da354739d automation: ActionList::set_options replaces an action's app options 2026-11-22 04:32:42 +07:00
bflatastic f8910e8773 ui-widgets: SearchIndex::for_host builds the command index without a Ui 2026-11-22 04:31:14 +07:00
bflatastic f8176040a0 menu: summary::text_for writes the shortcut summary without a Ui, in the host's language 2026-11-22 04:31:12 +07:00
bflatastic e13c89f2f7 host: Host::words and Host::language_code, the language a scope under the host reads, for code without a Ui 2026-11-22 04:31:10 +07:00
David Mann 6e5490edc3 WIP: Layers panel: a hidden layer's eye box stays empty under the pointer (photocraft#16321) 2026-11-21 22:23:59 +01:00
bflatastic d0e5b48039 ui-patterns: a custom row's CustomContext::request_action reaches HostedParamDialog::take_actions 2026-11-22 04:20:30 +07:00
bflatastic 547deb28b6 ui-patterns: Param::on_set runs a custom row's set-time rule; enabled_above, enabled_when_differs and disabled_value 2026-11-22 04:19:48 +07:00
bflatastic a48f67a91f automation: ControlClient::call_until stops waiting when cancelled; connect and replies honour CONNECT_TIMEOUT and MAX_REPLY_BYTES 2026-11-22 04:03:10 +07:00
bflatastic 27795829f9 Merge remote-tracking branch 'origin/next' into sync/next 2026-11-22 03:54:10 +07:00