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
bflatastic
2157b8afc8
Merge remote-tracking branch 'origin/next' into fix/vc-highlights-a
2026-11-24 20:00:44 +07:00
David Mann
5bbeb937e9
Merge pull request #3288 from aiongg/next-ci-reds
...
Make next's own CI green on Linux
2026-11-24 12:33:08 +01:00
bflatastic
327fcaa906
canvas, pasteboard: Pasteboard::artboard_edge chooses ArtboardEdge::Plain, which edges the active artboard in black at stroke.thin and the others in grey 120 at a hairline, data colours that read against the paper; Accent stays the default
2026-11-24 18:31:59 +07:00
bflatastic
0e41edc671
Merge remote-tracking branch 'origin/next' into fix/vc-chips-headers
2026-11-24 14:31:44 +07:00
aiongg
50a9ed02ae
Right-click on guides, rulers and the transform box is theirs again; percent fields keep the caller's decimals; a mixed font family shows an empty field
...
- Guides and the rulers' strips and corner sense CONTEXT_CLICK, so a right-click opens their menu instead of reaching the tool host (the press machine gives a secondary press only to CONTEXT_CLICK shapes since 21e77e2b58 ).
- TransformBox::own_context_menu: the caller hangs a context menu on the box, and every part takes the right-click. TransformOverlay sets it for the whole-box reach, where it opens the mode menu.
- NumberField: a percent field's one-decimal default yields to the caller's fixed or maximum decimals, and shows none with commit_decimals(0) ("10%").
- FontPicker: a selection of several families leaves the family field empty, on screen and in its accessible value, as the reference applications do.
2026-11-24 07:25:06 +00:00
aiongg
eadfc623d3
Merge remote-tracking branch 'upstream/next' into next-ci-reds
...
# Conflicts:
# crates/ui-contract/src/testing/key_trials.rs
2026-11-24 07:17:18 +00:00
bflatastic
1a17a4963c
ui-canvas: TaskBar::hang_gap(TaskBarHang::ClearOfHandles) hangs the bar the handle ring and a section gap from its anchor
2026-11-24 13:06:08 +07:00
bflatastic
0d8d3f9c9a
ui-canvas: TaskBar::member_gap(Gap) spaces the bar's members, through a new Bar::gap
2026-11-24 12:59:49 +07:00
bflatastic
361012ff9f
ui-canvas: TaskBar::grip(TaskBarGrip::Bar), one rounded bar lit under the pointer and while the bar moves (BodyCx::moving)
2026-11-24 12:56:14 +07:00
bflatastic
51eaf9fd25
ui-contract: a page key the keymap binds to a command that runs now runs it ahead of the document canvas's page scroll, focused or not; an unbound one still pages
2026-11-24 12:19:01 +07:00
bflatastic
48d19d2810
ui-contract: a command fired from a button runs as a command; only a menu's or the palette's fire stands for the key a component claims
2026-11-24 12:08:24 +07:00
skylartaylor
52503acd71
Fix the macOS test failures next picked up from the PdfCraft framework sync ( #3232 )
...
- atomic: a file the user may write but not read (mode 0200) saves again on macOS; its extended
attributes can't be read, so there are none to keep.
- menu, ui-shell, pages, ui-contract, ui-canvas tests: follow the macOS conventions the code already has. The
in-window bar test pins its target as the other bar tests do; macOS has no Menu key and no Cmd+Home/End move;
its platform copy key is Option; a press with Control there is a secondary click, so Control comes after the press.
2026-11-24 04:48:57 +00:00
Dylan M. Taylor
b138b533fe
Merge remote-tracking branch 'upstream/next' into pr-2809-merge
...
# Conflicts:
# crates/automation/Cargo.toml
# crates/automation/src/access.rs
# crates/automation/src/synthetic.rs
# crates/automation/tests/it/access.rs
# crates/automation/tests/it/synthetic.rs
# crates/behavior/src/codec.rs
# crates/behavior/src/edit_history.rs
# crates/behavior/src/lib.rs
# crates/behavior/src/wheel.rs
# crates/color-ui/src/ui/paint_chip.rs
# crates/color-ui/src/ui/pair.rs
# crates/color-ui/src/ui/palette.rs
# crates/color-ui/src/ui/palette/stories.rs
# crates/dialogs/src/service.rs
# crates/draw/src/ui/transform/transform_box.rs
# crates/draw/src/ui/transform/transform_box/stories.rs
# crates/draw/tests/it/transform_box.rs
# crates/font-manager/src/glyphs.rs
# crates/font-manager/src/picker.rs
# crates/font-manager/src/picker/rank.rs
# crates/font-manager/src/picker/rows.rs
# crates/font-manager/src/picker/stories.rs
# crates/font-manager/tests/it/picker.rs
# crates/host/src/lib.rs
# crates/menu/src/context.rs
# crates/menu/src/mac.rs
# crates/menu/src/model.rs
# crates/pages/src/ui/view.rs
# crates/platform/README.md
# crates/platform/src/browser_files.rs
# crates/print/src/ui/dialog.rs
# crates/print/src/ui/mod.rs
# crates/print/src/ui/panel.rs
# crates/print/src/ui/stories.rs
# crates/print/tests/it/dialog.rs
# crates/text/src/ui/character.rs
# crates/text/src/ui/character/rows.rs
# crates/text/src/ui/editor.rs
# crates/text/tests/it/editor.rs
# crates/text/tests/it/main.rs
# crates/ui-canvas/src/canvas/mod.rs
# crates/ui-canvas/src/canvas/split/stories.rs
# crates/ui-canvas/src/canvas/tool_host.rs
# crates/ui-canvas/src/canvas_controls/outline/mod.rs
# crates/ui-canvas/src/canvas_controls/task_bar.rs
# crates/ui-canvas/src/canvas_controls/task_bar/stories.rs
# crates/ui-canvas/tests/it/canvas/navigate.rs
# crates/ui-canvas/tests/it/canvas/tool_keys.rs
# crates/ui-canvas/tests/it/canvas_controls/task_bar.rs
# crates/ui-contract/src/contract/collection/props.rs
# crates/ui-contract/src/contract/cx/pointer.rs
# crates/ui-contract/src/contract/items/access.rs
# crates/ui-contract/src/contract/items/drag.rs
# crates/ui-contract/src/contract/items/lead.rs
# crates/ui-contract/src/contract/label.rs
# crates/ui-contract/src/contract/mod.rs
# crates/ui-contract/src/contract/run.rs
# crates/ui-contract/src/contract/steps/report.rs
# crates/ui-contract/src/contract/steps/update.rs
# crates/ui-contract/src/primitives/mod.rs
# crates/ui-contract/src/primitives/sensing.rs
# crates/ui-contract/src/primitives/text_adapter.rs
# crates/ui-contract/src/primitives/text_input.rs
# crates/ui-contract/src/runtime/access/emit.rs
# crates/ui-contract/src/runtime/access/text.rs
# crates/ui-contract/src/runtime/commands/board.rs
# crates/ui-contract/src/runtime/commands/mod.rs
# crates/ui-contract/src/runtime/drag.rs
# crates/ui-contract/src/runtime/egui/access.rs
# crates/ui-contract/src/runtime/egui/access/tree.rs
# crates/ui-contract/src/runtime/egui/input.rs
# crates/ui-contract/src/runtime/env.rs
# crates/ui-contract/src/runtime/focus/nav.rs
# crates/ui-contract/src/runtime/frame.rs
# crates/ui-contract/src/runtime/keys.rs
# crates/ui-contract/src/runtime/keys/claims.rs
# crates/ui-contract/src/runtime/keys/input.rs
# crates/ui-contract/src/runtime/keys/route.rs
# crates/ui-contract/src/runtime/pointer.rs
# crates/ui-contract/src/runtime/windows.rs
# crates/ui-contract/src/testing/fixture.rs
# crates/ui-contract/src/testing/host_key_trials.rs
# crates/ui-contract/tests/it/collection/rows.rs
# crates/ui-contract/tests/it/drag/mod.rs
# crates/ui-contract/tests/it/runtime/wheel.rs
# crates/ui-macros/src/props.rs
# crates/ui-panels/src/dialog/mod.rs
# crates/ui-panels/src/dialog/prompts.rs
# crates/ui-panels/src/dialog/recovery.rs
# crates/ui-panels/src/dialog/trials.rs
# crates/ui-panels/src/dialog/words.rs
# crates/ui-panels/src/rails/drawer.rs
# crates/ui-panels/src/rails/drawer/stories.rs
# crates/ui-panels/src/rails/tool/trials.rs
# crates/ui-panels/src/sections/footer.rs
# crates/ui-panels/tests/it/rails/drawer.rs
# crates/ui-patterns/src/patterns/dock/area.rs
# crates/ui-patterns/src/patterns/form_dialogs/about.rs
# crates/ui-patterns/src/patterns/form_dialogs/dialog.rs
# crates/ui-patterns/src/patterns/form_dialogs/dialog/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/host_requests.rs
# crates/ui-patterns/src/patterns/form_dialogs/mod.rs
# crates/ui-patterns/src/patterns/form_dialogs/param.rs
# crates/ui-patterns/src/patterns/form_dialogs/properties.rs
# crates/ui-patterns/src/patterns/form_dialogs/properties/stories.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows.rs
# crates/ui-patterns/src/patterns/form_dialogs/rows/stories.rs
# crates/ui-patterns/src/patterns/panels/history.rs
# crates/ui-patterns/src/patterns/preferences/document/model.rs
# crates/ui-patterns/src/patterns/preferences/model.rs
# crates/ui-patterns/src/patterns/preferences/page.rs
# crates/ui-patterns/src/patterns/preferences/rows.rs
# crates/ui-patterns/src/patterns/preferences/window.rs
# crates/ui-patterns/src/patterns/preferences/window/stories.rs
# crates/ui-patterns/src/patterns/presets/browser.rs
# crates/ui-patterns/tests/it/docking/group_view.rs
# crates/ui-patterns/tests/it/form_dialogs/dialog.rs
# crates/ui-patterns/tests/it/form_dialogs/params.rs
# crates/ui-patterns/tests/it/preferences/model.rs
# crates/ui-shell/src/shell/start.rs
# crates/ui-shell/src/shell/start/stories.rs
# crates/ui-widgets/src/buttons/icon_button.rs
# crates/ui-widgets/src/buttons/mod.rs
# crates/ui-widgets/src/buttons/stories.rs
# crates/ui-widgets/src/choice/swatch.rs
# crates/ui-widgets/src/choice/swatch_table.rs
# crates/ui-widgets/src/display/text.rs
# crates/ui-widgets/src/form/slider_field.rs
# crates/ui-widgets/src/layout_components/mod.rs
# crates/ui-widgets/src/list/mod.rs
# crates/ui-widgets/src/list/row/paint.rs
# crates/ui-widgets/src/list/row/show.rs
# crates/ui-widgets/src/list/stories.rs
# crates/ui-widgets/src/list/view.rs
# crates/ui-widgets/src/list/view_stories.rs
# crates/ui-widgets/src/menu/mod.rs
# crates/ui-widgets/src/menu/stories.rs
# crates/ui-widgets/src/pickers/select.rs
# crates/ui-widgets/src/tabs/document.rs
# crates/ui-widgets/src/text/number.rs
# crates/ui-widgets/src/text/zoom_field.rs
# crates/ui-widgets/src/tile_grid/grid.rs
# crates/ui-widgets/src/tile_grid/grid/stories.rs
# crates/ui-widgets/src/tile_grid/mod.rs
# crates/ui-widgets/tests/it/label/tooltip.rs
# crates/ui-widgets/tests/it/popover/popup.rs
# crates/ui-widgets/tests/it/tabs.rs
# crates/ui-widgets/tests/it/text/mod.rs
# crates/ui-widgets/tests/it/text/number.rs
# crates/ui-widgets/tests/it/tile_grid/grid.rs
# crates/window/Cargo.toml
# docs/components-index.md
# docs/porting.md
2026-11-23 19:01:32 -05:00
bflatastic
0726c0f87d
ui-contract, ui-canvas: KeyUse::command_keys and Canvas::editor_command_keys: a canvas editor that has the keys leaves chords with the platform's command modifier and function keys to the app's commands under any typing rule, its text editing chords kept; off by default: under TypingRule::AllWait a type tool's editor ran none of the app's Cmd chords or function keys
2026-11-24 00:58:13 +07:00
Dylan M. Taylor
cd4704b357
Merge branch 'pdf-port/sync' into pdf-port/sync-look
2026-11-23 09:35:58 -05:00
Dylan M. Taylor
d0a0cf671e
fw sync: a compact TaskBar takes a popup's smaller corners and shadow
2026-11-23 08:56:29 -05:00
Dylan M. Taylor
05f6b87d41
fw sync: TaskBar::compact opt-in (small members in a tight frame, Pad::Tight, Bar::compact) for PdfCraft's text box Done/Discard bar
2026-11-23 08:23:45 -05:00
Dylan M. Taylor
c170a41385
fw sync: clippy clean: the eased wheel zoom's payment is its own function (settle's cognitive complexity)
...
Trial: canvas::navigate::an_eased_wheel_zoom_spreads_a_notch_over_the_frames_after_it_and_lands_where_the_plain_one_jumps (passes).
2026-11-23 08:06:05 -05:00
Dylan M. Taylor
0eed29dcc2
Merge branch 'pdf-port/sync' into pdf-port/sync-rest
2026-11-23 07:44:04 -05:00
Dylan M. Taylor
efe4040927
fw sync: opt-in eased wheel zoom on the canvas (NavigationOptions::eased_wheel_zoom)
...
Upstream bd3641bf3 reads the pass's zoom from its own events, and the canvas applies a Cmd/Ctrl-wheel
notch at once. Production eased a notch over the frames after it (egui's wheel smoothing), and its
find-during-zoom behaviour relies on that. With eased_wheel_zoom (off by default) a zoom-modifier wheel
notch is owed and paid by the pass clock as egui eases a wheel (90% in a tenth of a second); a pinch, a
trackpad and steps under 8 points zoom at once; a press, a key move or a view command drops what is owed.
Trial: canvas::navigate::an_eased_wheel_zoom_spreads_a_notch_over_the_frames_after_it_and_lands_where_the_plain_one_jumps.
2026-11-23 07:43:54 -05:00
bflatastic
f8714b2374
ui-canvas: ToolHost::navigates: a press the host says navigates (a finger once a pen has been seen) runs the momentary Hand, latched for its gesture
2026-11-23 19:35:36 +07:00
bflatastic
95e4ec879e
behavior, ui-canvas: RulerUnits::with_labels(TickLabels::Signed) writes ruler ticks signed with only the decimals they need (-2.5, 0.3, 1), VectorCraft's form; TickLabels::Distance stays the default
2026-11-23 19:35:36 +07:00
Dylan M. Taylor
cfd3adbe6c
fw sync: L-321: MiddleAutoscrollFeel::Reader opt-in (production's speed, short-hold latch, ends on canvas blur)
...
NavigationOptions::middle_autoscroll, Edge (upstream's Autoscroll::step on the offset
past the dead zone, a release after a drag ends the run) by default. Reader is the
port's MiddleScroll feel PdfCraft's production tests pin: speed |d|^2.2 x 0.04 pt/s
from the whole distance, a release ends the run only after two stepped held passes past
the dead zone, and the run ends when the canvas loses the focus with the button up.
Trial: a_reader_autoscroll_keeps_a_short_hold_and_speeds_up_with_the_whole_distance.
2026-11-23 07:12:37 -05:00
bflatastic
0c633a83cd
ui-canvas: a rulers corner drag lands at its release only while its edit is open: after the host cancelled it, the release proposed and committed again and moved the zero point
2026-11-23 18:05:09 +07:00
bflatastic
503ccd4cd9
Merge branch 'sync/next' into sync/delta11
2026-11-23 17:32:13 +07:00
bflatastic
fd80adccc0
ui-contract: a press of a key that is down already is a repeat, as egui reads it: egui-winit sends every press as no repeat and leaves egui to tell, so the key stage's repeat rules (shortcuts, Escape, Tab) never saw a held key's repeats; the trials that pressed one key twice release it between
2026-11-23 17:28:02 +07:00
bflatastic
879b8f82a8
ui-canvas: Fit Artboard on Screen leaves 30 pt around the board on every side
2026-11-23 17:11:22 +07:00
Dylan M. Taylor
5abaa7360e
fw sync: clippy clean over the merged sync (all targets, all features)
...
Real fixes, no allows: split long functions (portal first reads, canvas wheel read, text editor input pass, list row toggle parts, notice action rows, thumbnails grid aspect and edit rules, comments row entries), boxed the large Entry item row, type aliases for complex types, a StatusMeasure for the status cell's measures, double #[must_use] removed where the type is #[must_use], Copy clones and useless conversions dropped, struct-update syntax in place of field reassignment, a split press-pass test.
2026-11-23 03:42:16 -05:00
Dylan M. Taylor
173d63d915
fw sync: cargo fmt --all (including drift that predates the sync)
2026-11-23 03:04:16 -05:00
Dylan M. Taylor
32fae648a6
Merge branch 'pdf-port/sync-beh1' into pdf-port/sync-int
2026-11-23 02:57:51 -05:00
Dylan M. Taylor
ea9e4e3bea
fw sync: L-321: the merged middle autoscroll ends on the window's blur event
...
The port's latch ended on PassPointer::focus_lost and a PointerGone event; upstream's
MiddleAutoscroll read egui's focus flag only, which a blur event does not change in its
pass. The port's addition kept on top of upstream's autoscroll (L-321).
2026-11-23 02:42:50 -05:00
Dylan M. Taylor
6a7488ad73
fw sync: task bar writes its place from the drop's Commit (upstream wins)
...
Upstream reports a layer move once, on the Commit, at the rect the layer already shows
at; the port's filter that dropped a move ending where the bar shows threw that report
away, so a drag never wrote the place. A click reports no move upstream, so the filter
is redundant: removed. Fixes the three task bar trials.
2026-11-23 02:42:50 -05:00
Dylan M. Taylor
6a89835982
fw sync: design lint clean (107 findings to 0): non_exhaustive or closed list, #[prop] setters, layer imports moved down (begin hook, line-break chord, scroll move targets), session memory, story consts, marker exceptions with reasons
2026-11-23 02:10:46 -05:00
bflatastic
a29bfe866b
ui-canvas: the rulers' corner drag proposes where it lands at its start and its release, so a drag of one move sets the zero point
2026-11-23 13:37:04 +07:00
Dylan M. Taylor
438ae3da78
fw sync: review/pages/draw/text compile: comment selection and status fields, note popup scope, story binds, memoized-view preview trial, trials registered
2026-11-22 23:31:49 -05:00
Dylan M. Taylor
a297595c4a
fw sync: automation dock_method takes PanelSpecs; platform BrowserFiles writes to an embedding page (page_saves) before downloading, web-host's page_save feeds it (L-317); compile fixes in canvas/patterns trials
2026-11-22 23:30:13 -05:00
Dylan M. Taylor
8a620b3d6e
fw sync: ui-canvas and ui-patterns libs compile: WheelScheme::Document arm, one scroll-bar same_value (both tolerances), region drop mark for a split, memo props on env values, story binds, unused imports
2026-11-22 23:26:27 -05:00
Dylan M. Taylor
a48cd842f4
fw sync: apply the areas' owed lines (platform/web-host files, clipboard cfg, tooltip, canvas, stories gating, balloons selection, recent list, specimen, preferences re-export)
2026-11-22 23:13:52 -05:00
Dylan M. Taylor
0228bb2569
fw-canvas: resolve the origin/next sync conflicts (canvas autoscroll, wheel schemes, rulers, editor part, crop scope, task bar kinds, transform box handles; trials and stories)
2026-11-22 23:00:58 -05:00
Dylan M. Taylor
cb3101725c
sync skeleton: origin/next 118f1d2ff9 into pdf-port/gaps ea77c1676f, markers left
...
257 conflicted files staged with their conflict markers (630 hunks). The one
modify/delete, crates/ui-patterns/src/patterns/preferences/body.rs (deleted
upstream, modified by the port), keeps the port's file for its area to carry
into upstream's preferences/page.rs. Plan: landing/fw-sync-plan.md.
2026-11-22 22:42:09 -05:00
bflatastic
8242da0a92
ui-canvas: Space moves the Zoom tool's rectangle while held, once let go since the press, and the release zooms to the moved rectangle
2026-11-23 09:26:44 +07:00
bflatastic
6468047eab
ui-contract: a key the key stage takes from egui (a claimed chord, the canvas's Space) stirs the pass, so a held pointer drags and hovers again when it goes down or up
2026-11-23 09:03:28 +07:00
bflatastic
0e9af5befe
Merge remote-tracking branch 'origin/next' into sync/next
...
# Conflicts:
# crates/ui-panels/src/docking/group.rs
2026-11-23 08:00:44 +07:00
bflatastic
3c9bd2e48e
ui-contract: a drag carries any number of extra payloads, one per type; PresetBrowser and SwatchesPanel take a host drag payload beside their own
2026-11-23 06:27:06 +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
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
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
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
David Mann and Claude Opus 5.5
269c33ea55
Crop: a move of a turned document crop may take the frame past its bounds
...
A turned frame stopped at the image's edge on a move (photocraft#16460);
the reference application lets it go past and fills the area there, as for
an upright frame (photocraft#16404). Only the turn itself still keeps the
frame inside the turned image (photocraft#10869).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-22 22:25:17 +01:00