Commit Graph
8557 Commits
Author SHA1 Message Date
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
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
David Mann ea00a61906 Merge pull request #3367 from davidmann4/fix/automation-unasked-line-one-write
automation: write the unasked-line test's line in one write so it stops failing with BrokenPipe
2026-11-24 18:27:38 +01:00
bflatastic 5ff920ca62 Merge remote-tracking branch 'origin/next' into fix/vc-ime-vanish 2026-11-24 23:57:04 +07: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
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
David Mann aa0bc3f20e Merge remote-tracking branch 'origin/next' into fix/lasso-cursor-arrow 2026-11-24 16:35:25 +01:00
bflatastic 2014d31f34 theme, dock grips: GripMark::Bar (shape.grip.mark "bar"), one level bar length long and width thick; a grip's length may reach 32; GripMarks paints it; VectorCraft's themes pin production's Tools grip, an 18 by 3 point bar. Trial; dumps updated 2026-11-24 22:21:52 +07:00
bflatastic c7ce7e5460 ui-widgets: ReferencePointLook::Squares fills the pick in the normal text ink and draws no sunken well or border, as production's locator; compact squares story 2026-11-24 22:21:42 +07: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
bflatastic 33774554c7 ui-panels: a titled Panel draws the rule under its header only for a weight that stands with one, as Section does for its rule above; an Inspector's Quiet kind line has none 2026-11-24 22:21:42 +07:00
David Mann c26752ab90 WIP: lasso cursors: an arrow on the hotspot with the tool icon beside it (photocraft#16671) 2026-11-24 16:20:29 +01: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
bflatastic a81bc6fe77 dock group: beside PanelTabLook::Pill tabs the panel menu button stands in the strip's middle, level with the pills, as production's ≡ is centred in its cell; plain tabs keep it at the strip's top. Story and trial 2026-11-24 22:14:05 +07:00
bflatastic b3b2eaac4f tabs: DocumentTabLook::Semibold shows VectorCraft's document tabs, whole titles as Whole with the title and its * in the label's semibold face (Span::strong), measured as painted; a Semibold story 2026-11-24 22:10:58 +07:00
Martin Ball f72d25338d Merge pull request #3156 from batistalucasv/test/7317-rtf-target-prefers-text-rtf
test(platform): restore rtf_target_prefers_text_rtf test (wordcraft#7317)
2026-11-24 15:05:29 +00: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
Martin Ball ee0d1795bb Merge pull request #3335 from batistalucasv/fix/fontpicker-skip-idle-stops
font-manager: skip building FontPicker stops on idle closed frames
2026-11-24 15:05:19 +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 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 ba2c36b306 SplitArea keeps the handle paths it declared for its dividers; trial for DockAreaOutput::sources 2026-11-24 09:55:36 -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 827c570d92 Merge pull request #3295 from aiongg/rc-handle-lock
draw: Shift locks a dragged Bezier handle to the nearest 45 degrees
2026-11-24 09:46:32 -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
David MannandClaude Opus 5.5 b0a8dcb385 automation: the unasked-line test writes its line in one write, so the client's close can't reset the newline (BrokenPipe on Linux CI)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 15:26:29 +01:00
aiongg 1f87e23547 Merge pull request #3290 from aiongg/rc-modal-stack
ui-contract: one modal stack across viewports
2026-11-24 09:25:08 -05:00
aiongg add5567f00 Merge pull request #3318 from aiongg/rc-actions-order
automation: the actions file keeps every set's order
2026-11-24 09:16:38 -05:00
aiongg 84d0cbfd45 Merge pull request #3292 from aiongg/rc-character-align
text: the Character panel's fields fill their columns
2026-11-24 09:16:24 -05: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
aiongg 6d61276ad8 Merge storytold next into rc-handle-lock 2026-11-24 13:26:58 +00:00
aiongg 367a0cb0c9 Merge storytold next into rc-actions-order 2026-11-24 13:26:58 +00: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
aiongg dd46094cb8 Merge storytold next into rc-character-align 2026-11-24 13:26:57 +00:00
batistalucasv 2d124f6a21 Merge remote-tracking branch 'upstream/next' into test/7317-rtf-target-prefers-text-rtf
# Conflicts:
#	crates/platform/src/clipboard/offer/tests.rs
2026-11-24 10:24:05 -03: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
Lucas Batista Vargas bec8d98a70 Merge branch 'next' into fix/fontpicker-skip-idle-stops 2026-11-24 10:12:54 -03:00
David MannandClaude Opus 5.5 481946905b WIP: a task bar whose anchor fills its area keeps its members (photocraft#16657)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 14:03:56 +01:00
bflatastic 2157b8afc8 Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a 2026-11-24 20:00:44 +07:00
bflatastic 34e96f9325 ui-panels footer: DialogButtonLook::Filled shows Cancel, Other, Alternate and Alternative as the filled neutral button (buttons::FILLED, now public: surface.control with no edge, state.hover under the pointer) beside the accented answer. Footer story and trial under Filled 2026-11-24 19:38:28 +07:00
bflatastic 7cb5edfda4 ui-widgets segmented: a picked segment follows ActiveLook; under ActiveLook::Pressed it takes state.pressed with text.normal at rest, under the pointer and pressed, as an icon button that is on does; ActiveLook::Accent, the default, keeps state.selected with text.on_selected. Segmented story under Pressed 2026-11-24 19:38:21 +07:00