Commit Graph
1619 Commits
Author SHA1 Message Date
skylartaylor 924d305bb1 Menu::tab_exits: Shift+Tab and a Tab after Escape go on from the opener
Shift+Tab out of a tab-exits menu landed on its opener, and a Tab pressed while the
menu played its exit after an Escape landed in the fading menu, whose close then
handed the focus back to the opener. A Tab from inside a menu that traps nothing
now goes on from the menu's opener, with the menu's own rows no entries, so Tab
reaches the stop after the opener and Shift+Tab the stop before it; and a layer
playing its exit is no Tab entry. Trials for both.
2026-11-25 03:47:35 +01:00
skylartaylor fddf524d09 Merge origin/next 2026-11-24 22:45:42 +01:00
aiongg 357f332549 Merge pull request #3396 from aiongg/test-speed-1124
Tests: gate-sized samples and inputs for the slowest tests and the UI suite
2026-11-24 16:32:00 -05:00
skylartaylor f8cff0c926 Merge origin/next 2026-11-24 21:38:35 +01:00
aiongg 146a95ed43 Merge storytold next into next-host-input 2026-11-24 20:18:12 +00:00
aiongg 56e0824f2c Merge remote-tracking branch 'upstream/next' into test-speed-1124 2026-11-24 20:00:50 +00:00
aiongg d56ee32e1e ui-contract suite: sample repeated parts and node sets under the gate fraction
Under CRAFT_HOSTILE_DIVISOR above 1 the cases that build a fixture per repeated
part or per declared node action check the first, middle and last member of each
set; the nightly run checks every member. each_part_activates_once reads the
paths a part has from the settled base fixture, the hit-area case skips parts the
base shows no pressable piece of, and access_focus_focuses skips stories with no
enabled Focus node, all before building a fixture.
2026-11-24 19:55:30 +00:00
aiongg 30770cf864 Merge pull request #3300 from aiongg/next-sync-1124
Merge storytold main into next (24 Nov sync)
2026-11-24 14:48:09 -05:00
aiongg 44260259bf ui-contract: access state through runtime::egui::memory; mark the host-key trial's TextEdit read 2026-11-24 19:27:43 +00:00
aiongg 73b31f60ca Merge storytold next into next-host-input 2026-11-24 18:28:22 +00:00
David Mann db14409326 Merge pull request #3344 from davidmann4/fix/16658-16659-full-window-title-liquify-labels
Full-window dialogs keep their title clear of the window buttons; Liquify labels its View Options choices (photocraft#16658, photocraft#16659)
2026-11-24 19:20:58 +01:00
Dylan M. Taylor 9daf905a29 Merge pull request #3316 from dylanmtaylor/filmcraft/float-grip-names
ui-panels: a floating window's resize grips carry the accessible name Resize panel window
2026-11-24 12:52:47 -05:00
Dylan M. Taylor 7904a3f24b Merge pull request #3314 from dylanmtaylor/filmcraft/keys-host-widget
keys: the app's own widget, focused or the window's canvas, keeps its keys in egui again
2026-11-24 12:52:43 -05:00
Dylan M. Taylor 8216bc95fa Merge pull request #3312 from dylanmtaylor/filmcraft/foreign-press
A press on an app's own egui widget in a container body is not a press on the container's surface
2026-11-24 12:52:36 -05:00
Dylan M. Taylor a34623b884 Merge pull request #3311 from dylanmtaylor/filmcraft/viewport-input-hook
ui-contract: a host's window-input policy reaches every OS window the runtime hosts
2026-11-24 12:52:33 -05:00
Dylan M. Taylor a668cda8f0 Merge pull request #3310 from dylanmtaylor/filmcraft/dock-gesture-sources
dock: DockArea reports the gesture sources it drew
2026-11-24 12:52:29 -05:00
aiongg 859d801189 A float opened from a listed layer stacks above it
Floating windows stay out of the overlay's egui order so they stack with the
app's own egui windows, but a listed layer goes above every unlisted one: a
panel floated from a full-window container went beneath the container. A
float whose parent is listed is listed too, above its parent.
2026-11-24 17:34:55 +00:00
David Mann 518f3c7775 Merge pull request #3359 from davidmann4/fix/lasso-cursor-arrow
Lasso cursors: an arrow on the hotspot with the tool icon beside it (photocraft#16671)
2026-11-24 18:27:56 +01:00
bflatastic 5ff920ca62 Merge remote-tracking branch 'origin/next' into fix/vc-ime-vanish 2026-11-24 23:57:04 +07:00
David MannandClaude Opus 5.5 85245ecc41 Merge next into fix/16658-16659-full-window-title-liquify-labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 17:37:57 +01:00
aiongg 77ce502547 fonts::load records the facts of the definitions it installs
`StackFacts` (system face, semibold family, line ratio) come from one function,
`record_facts`, which `fonts::load` runs on every definitions it gives egui; a
stack's install loads through it with its own providers. Definitions an app
loads without the `semibold` family draw framework titles in the proportional
family.
2026-11-24 16:34:04 +00:00
aiongg ef7239a97b A host canvas holding egui focus keeps Escape and its clipboard in egui
A focused `Stop::host` (`focus::host_canvas`), whether the framework or the
app's own egui request focused it, is the app's own widget for Escape and its
edit set: Escape, the clipboard events and the edit chords of its edit set stay
in egui's input, as they do for the canvas with nothing focused, instead of
arriving as its `Intent::Cancel` and `Intent::Edit`. egui keeps its focus over
the Escape, and a menu's edit command is the app's. Tab, the arrows and F6
still follow its `KeyUse`.
2026-11-24 16:34:04 +00:00
David Mann 8166f05c21 Merge pull request #3269 from davidmann4/fix/photocraft-16595-own-window-shrink
A full-window container's own window keeps its size (photocraft#16595)
2026-11-24 17:29:13 +01:00
aiongg 2f8d73e7cf Merge storytold next into next-host-input
Conflicts resolved so that next's changes and this branch's fixes both hold:
- keys: next's unfocused-canvas state claims join the key stage's framework claims; the canvas's
  declared claims stay the host's (egui keeps their presses).
- overlay: the app's own modal (`FrameInput::app_modal`) joins next's modal stack at the frame it
  first showed in.
- docking: the tab-pick trial moves key focus into the group with Tab, since a click on a dock tab
  leaves key focus where it is.
2026-11-24 15:37:34 +00:00
bflatastic b84413d7ba Merge remote-tracking branch 'origin/next' into fix/vc-look-r9 2026-11-24 22:37:03 +07:00
David MannandClaude Opus 5.5 5b190db66a Lasso cursors: an arrow on the hotspot with the tool icon beside it (photocraft#16671)
The Lasso, Polygonal Lasso and Magnetic Lasso showed only their icon, with
the icon box's empty top-left corner on the pointer, so the outline started
at a blank spot beside the lasso. They now show the solid arrow with its tip
on the pointer and the tool's icon below right of it, as the reference
application does and as the Paint Bucket and Ruler pointers already do.

PaintedCursor::PointerTool gains an optional badge, drawn at the icon's lower
right, so the add / subtract / intersect mark stays; pointer_tool_badged
builds it. pointer_tool keeps its signature.

Tests: the three lassos show the arrow with their icon and the operation's
badge (fails on next: the lasso returned PaintedCursor::Tool); a badged arrow
pointer keeps ink on its hotspot at 1x, 1.25x and 2x with the badge at the
icon's lower right.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 16:35:25 +01:00
bflatastic 747dad4c1c ui-contract: CaptionInk, an env style value for the ink of a side label's name: Muted (default) or Normal, VectorCraft's field labels as production drew them; Field story field_caption_ink 2026-11-24 22:21:42 +07:00
David Mann 9ee84b9dd8 Merge pull request #3343 from davidmann4/fix/16657-task-bar-fills-view
ui-canvas: a task bar whose anchor fills its area keeps its members (photocraft#16657)
2026-11-24 16:16:57 +01:00
Martin Ball baa4013f0b Merge pull request #3259 from batistalucasv/fix/sync-egui-text-color-transfer
ui-contract: sync egui font color transfer function with resolved theme mode
2026-11-24 15:05:24 +00:00
bflatastic d1f00545ea ui-contract: an IME owner that is not shown loses the IME in that pass, so its interrupt is not a frame late 2026-11-24 22:01:37 +07:00
Dylan M. Taylor 16c2e06ced ui-panels: a floating window's resize grips carry the accessible name Resize panel window 2026-11-24 09:56:02 -05:00
Dylan M. Taylor dba4b84b22 keys: the app's own widget, focused or the window's canvas, keeps its keys in egui again 2026-11-24 09:56:02 -05:00
Dylan M. Taylor b961098d05 A press on an app's own egui widget in a container body is not a press on the container's surface
BodyHooks::surface_press counted a press as on the surface when no shape won it, and find_under gives no winner exactly where egui's click target is a raw egui widget. A dock group then moved focus to its tab stop on a click on an app's text field or canvas in its body. The press now leaves the surface alone when its click target is such a widget (pointer::foreign_target), for every container that senses Sense::SURFACE.
2026-11-24 09:56:02 -05:00
Dylan M. Taylor badd2a8822 ui-contract: a host's window-input policy reaches every OS window the runtime hosts
FrameInput::window_input(WindowInput::Dropped) drops a hosted window's own
events and OS files in the input filter, before injected input joins, so an
agent-driven session's floated panels take only injected input. eframe runs
raw_input_hook for the main window only; the root's input stays the host's.
The test kit's Windows takes the policy; trials cover the drop and a macOS
Control+Click in a hosted window.
2026-11-24 09:55:46 -05:00
Dylan M. Taylor 393282d783 DockArea reports the gesture sources it drew: tabs, group bars, window grips and resize grips, dividers, each with its rect, OS window and node id 2026-11-24 09:55:36 -05:00
aiongg 7762aab37b Merge pull request #3319 from aiongg/rc-next-regressions
Right-click on guides, rulers and the transform box; percent fields keep the caller's decimals; empty mixed font family
2026-11-24 09:48:54 -05:00
aiongg 64cec6a26a Merge pull request #3293 from aiongg/rc-dock-drag
Docking: one drop mark, the panel's name in the drop region, and Tile All in docked cells
2026-11-24 09:46:18 -05:00
aiongg ca6f3d1599 Merge pull request #3291 from aiongg/rc-tooltips-shake
Tooltip width in inspector cells, click-dismissed tooltips, no modal shake on a sampled press
2026-11-24 09:46:03 -05:00
David MannandClaude Opus 5.5 b43aa12593 ui-canvas: a full-window dialog's own window is at least OWN_WINDOW_MIN_SIZE (640 x 480), so a placement saved while it shrank opens usable
A placement saved while photocraft#16595 shrank RAW Develop's window could be 1 pt wide. place() raised it only to the
full-window overlay's minimum, 0 x 0, and since the window now keeps its size nothing grew it again. The minimum reaches
the OS window's min size and the floor a restored placement is fitted to.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:41:10 +01:00
skylartaylor 91b56463c7 Merge origin/next
# Conflicts:
#	crates/ui-contract/src/contract/overlay/props.rs
2026-11-24 14:52:04 +01:00
David MannandClaude Opus 5.5 ac416949be ui-canvas: a task bar whose anchor fills its area keeps its members (photocraft#16657)
A task bar hangs below its anchor inside its area. When the anchor (a crop
frame on a document zoomed past the view) leaves no room above or below,
the overlay host gave the layer's body no room, so the bar showed as an
empty surface pushed to the top of the area.

ui-contract: Place::covering_anchor() lets an anchored layer that fits on
neither side keep its size and slide over its anchor inside its bounds,
the rule menus already had. The task, fixed and selection bars use it, so
such a bar sits on its side's edge of the area with all its members.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 14:35:51 +01:00
aiongg f6290898c4 Merge remote-tracking branch 'upstream/next' into rc-next-regressions
# Conflicts:
#	crates/ui-contract/src/layout/mod.rs
#	crates/ui-shell/tests/it/shell/title_bar.rs
2026-11-24 13:35:21 +00:00
David MannandClaude Opus 5.5 9b897a57a5 Full-window dialogs keep their title clear of the window buttons; Liquify labels its View Options choices (photocraft#16658, photocraft#16659)
- `WindowHost::lights_room`: the room the macOS traffic lights take over the content (inset frame, not in full screen).
- `FullWindowDialog`'s title row starts after that room where the header lies under it, as the shell's title bar does.
- Liquify's `Rows::choose` shows each select in a `Field`, so Mesh Size, Use and Mode are drawn beside their selects.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 14:29:27 +01:00
aiongg 290415fd4f Merge storytold next into rc-dock-drag 2026-11-24 13:26:57 +00:00
aiongg 00a3c21452 Merge storytold next into rc-tooltips-shake 2026-11-24 13:26:57 +00:00
aiongg 692ea17f1e Merge storytold next into rc-modal-stack 2026-11-24 13:26:57 +00:00
batistalucasv bbd1528843 Merge remote-tracking branch 'upstream/next' into fix/sync-egui-text-color-transfer
# Conflicts:
#	crates/ui-contract/src/runtime/frame.rs
2026-11-24 10:22:23 -03:00
bflatastic 2157b8afc8 Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a 2026-11-24 20:00:44 +07:00
bflatastic 09650e1d3d ui-contract style: TrackFill, a root style value; under TrackFill::Accent a slider's and a range slider's track fill the value's part in accent.solid (disabled text.disabled) on a line.outline groove; TrackFill::Muted, the default, keeps text.muted on line.control_edge. Slider story under Accent 2026-11-24 19:38:11 +07:00
David Mann c96af9eb13 Merge remote-tracking branch 'origin/next' into fix/photocraft-16595-own-window-shrink 2026-11-24 13:24:34 +01:00