Commit Graph
7789 Commits
Author SHA1 Message Date
Dylan M. TaylorandClaude 346f5ac9fe fw sync: PageRangeChoices::Line, ParamDialog::caption_column, Param::short_slider (Slider/SliderField::short)
Trials line_page_range_options_stand_on_one_line_with_no_page_count, a_caption_column_puts_a_group_caption_beside_its_group_and_lines_the_controls_up, a_short_slider_row_is_as_wide_as_its_content.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-23 12:24:54 -05:00
Dylan M. TaylorandClaude e93d468b76 fw sync: floating window bodies keep to the window's rounded corners (frame_surfaces, FloatingGroup::rounded_body, DockConfig::floating_rounded_body); CaptionColumn env value for inline forms
Trial a_rounded_window_body_keeps_its_surfaces_inside_the_rounded_corners (ui-patterns docking/floating_rail.rs).

Co-Authored-By: Claude <noreply@anthropic.com>
2026-11-23 12:24:54 -05:00
Dylan M. Taylor 40442e2f69 Merge branch 'pdf-port/sync' into pdf-port/sync-look 2026-11-23 11:09:46 -05: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 6df2644a0e Merge branch 'pdf-port/sync' into pdf-port/sync-post 2026-11-23 09:22:42 -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 9b12c19603 fw sync: Param::stacked_options and Param::under_option (production's Split and Background option rows); a document-dialog group under a heading of its name shows the name once 2026-11-23 08:56:16 -05:00
Dylan M. Taylor 02e29c4e56 fw sync: NoteReplyLook::Flat opt-in: the note pop-up's Reply as production's small flat rectangle 2026-11-23 08:56:16 -05:00
Dylan M. Taylor 9850b031cf fw sync: FormatText paragraph_spacing_presets and paragraph_spacing_range (default stays the Paragraph dialog's 0-1296 pt); trial paragraph_spacing_takes_the_hosts_presets_and_range_on_the_line_spacing_row 2026-11-23 08:27:17 -05:00
Dylan M. Taylor be5e97ea49 fw sync: F-R1: Param::select_on_focus for text rows (Rename opens on the name selected); trial a_text_row_that_selects_on_focus_is_replaced_by_typing 2026-11-23 08:27:17 -05:00
Dylan M. Taylor 874efb4576 fw sync: F-P4: PrintPanel/PrintDialog/HostedPrint printer_search opt-in (Search printers field, No printers match., Save as PDF kept, 430 pt list); Select search_label, no_matches, search_kept, list_width; trials printer_picker_filters_a_large_fleet_without_changing_the_selection, printer_picker_keeps_save_as_pdf_available_when_the_filter_matches_nothing, printer_picker_scrolls_long_names_without_losing_the_search_or_pdf_choice 2026-11-23 08:27:17 -05:00
Dylan M. Taylor 10c2dc7ced fw sync: F-P3: TextEditor Shift-clicks after a double press extend from the whole word both ways, a key move or Select All ends the word anchor; trials a_double_press_on_a_one_letter_word_selects_only_that_word, shift_clicks_after_a_word_selection_extend_from_the_whole_word, a_key_move_ends_the_word_anchor (production 439401188) 2026-11-23 08:27:17 -05:00
Dylan M. Taylor fb99ed9076 fw sync: F-P2 / L-315: macOS title bar follows the traffic lights at the right (craft-window reads windowTitlebarLayoutDirection; MacInset::lights_right; the lights' room moves to their side; AppShell::title_follows_lights mirrors the title slot's flow, tabs and overflow included; Overrides::flow); trials a_title_that_follows_the_lights_mirrors_when_they_are_at_the_right, the_lights_room_follows_the_lights_without_mirroring_the_bar (production 4448ee940) 2026-11-23 08:27:17 -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 090f7c0c23 fw sync: CommentComposer::fixed_rows keeps the card one size
The composer's field grows with its text, but the card is measured before the text wraps, so a card near
the bottom of the window was placed shorter than it laid out and clipped Post. fixed_rows (off by default)
keeps the field at its three rows and scrolls the rest, so the card's buttons stay inside it.
Trial: note_popup::a_composer_with_fixed_rows_keeps_post_inside_its_card_near_the_bottom.
2026-11-23 07:43:54 -05:00
Dylan M. Taylor 05260a58d1 fw sync: PageView::fill_screen has no scroll bars
Full screen's edge-to-edge view showed the canvas scroll bars, whose band along the window's bottom and
end edges took presses meant for the page. Production's full screen has none.
Trial: views::full_screen_shows_no_scroll_bars.
2026-11-23 07:43:54 -05:00
Dylan M. Taylor fb3a6a6362 fw sync: opt-in platform paste for a fired Paste (CommandInput::paste_reads_clipboard)
App commands a menu row fires reach the app in the next frame's FrameOutput, so an app that answers Edit
> Paste by asking the platform for the clipboard asked a frame late. With paste_reads_clipboard (off by
default) the board asks the platform in the pass that fires the library Paste at the app (not from a key)
and delivers the command with the clipboard's content, as a point paste does.
Trial: menu::openers::a_menu_paste_reads_the_clipboard_when_the_app_asks.
2026-11-23 07:43:54 -05:00
Dylan M. Taylor 4854e2cff6 fw sync: a search field's Clear shows the empty text in the pass of its click
Upstream 819753137 answers injected input with the pass that ran it. The clear part empties the value in
update, after the text part showed the old text, so the reply's tree still read it. The click now reruns
the pass (discard_pass), and the rerun's tree reads empty.
Trial: text::text_field::the_clear_part_empties_the_field_in_the_pass_of_its_click.
2026-11-23 07:43:54 -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
Dylan M. Taylor 15e8ac8058 fw sync: a dialog can keep a field's typing on Escape (FocusPolicy::escape_keeps_typing, Dialog::escape_keeps_typing, PreferencesWindow::escape_keeps_typing)
Upstream's one Escape in a modal dialog cancels the focused field's typing with the dialog. A Live
Preferences window applies each row as it changes, so that Escape wrote the start value back and
Live mode applied it: PdfCraft's Preferences lost what was typed. The new opt-in (off by default,
upstream's rule kept) commits the draft as leaving the field does and lets the dialog close.
Trials: preferences::live::escape_cancels_a_live_windows_typing_by_default,
escape_keeps_a_live_windows_typing_when_asked.
2026-11-23 07:43:54 -05:00
Dylan M. Taylor 238d922e15 fw sync: L-316: copied files are a Files primary in the clipboard offer plan (arboard's file list); trial a_file_list_is_written_as_files 2026-11-23 07:42:32 -05:00
Dylan M. Taylor 84216d12cb Merge branch 'pdf-port/sync-forms' into pdf-port/sync 2026-11-23 07:13:06 -05: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
Dylan M. Taylor f2e83cd928 fw sync: a focus request for a part waits for that part instead of landing on a sibling
A component's stops register after update, so a part first declared in the pass its
owner asks for it (PdfCraft's Tab onto a field on a page just scrolled in) was not
found, and the request fell back to the component's first stop: Tab reached the first
field. A Part request now lands on its part or awaits it (the stop that registers later
in the pass takes the focus); an Id request keeps the fallback.
Trial: a_part_asked_for_in_the_pass_it_appears_takes_the_focus_not_a_sibling.
2026-11-23 07:12:37 -05:00
Dylan M. Taylor d132f01012 fw sync: TextEditor::returns_focus (on by default): an editor its caller opens from a part can leave the opener alone
Upstream's editor runs in a restoring focus scope (FocusPolicy::TAB_LAYER), so an ended
session hands focus back to the stop it came from. A form field's editor takes focus
from the field's own page part, and focus arriving back there opens the field again:
Esc, Enter and picks no longer closed PdfCraft's fields. Component::focus_scope (default
FOCUS_SCOPE) lets an instance choose its scope; returns_focus(false) opens none.
Upstream's default is unchanged. Trial: an_editor_that_does_not_return_focus_leaves_its_opener_alone.
2026-11-23 07:12:37 -05:00
Dylan M. Taylor 6e619265e0 fw sync: cargo fmt (review note_popup trial from fbd0bd096) 2026-11-23 07:02:55 -05:00
Dylan M. Taylor fbd0bd096c fw sync: an edit comment composer opens with the caret after the text (TextField::keep_caret_on_open)
Upstream's photocraft#15540 selects a text field's whole text when a layer opens on it, so the
port's edit composer (ComposerDraft::Edit / EditVerbatim, port-only kinds) replaced the comment
being edited with the first key typed; production appends ("Original" + " edited").
TextOptions::keep_caret_on_open (TextField::keep_caret_on_open, off by default) leaves the codec's
caret on open; the composer sets it for edits only, so a new comment and every other field keep
upstream's rule. The popover call landed with 5abaa7360; this adds the option it uses.
Trial: note_popup::an_edit_composer_opens_with_the_caret_after_the_text (New still selects all).
2026-11-23 03:49:07 -05: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 3b78a10197 Merge branch 'pdf-port/sync-optin' into pdf-port/sync-int
# Conflicts:
#	crates/pages/src/ui/view/pictures.rs
#	crates/review/src/ui/comments.rs
#	crates/review/src/ui/comments/row.rs
2026-11-23 02:57:51 -05:00
Dylan M. Taylor 08e5ee8ebf fw sync: L-324/L-314: PageInsets::Theme (the port's inset spacing, opt-in; the theme side-margin trial opts in), PageView::go_to_place(GoToPlace::GapAbove) for production's Go To, PageView::fill_screen for full screen edge to edge 2026-11-23 02:57:02 -05:00
Dylan M. Taylor 85659945c3 fw sync: L-323: StandardPrompt::alternate_role (production's order), DialogButtonLook::Quiet (ghost Cancel and Don't Save), StartScreen::heading_sections and pinned_first, ToolbarDrawer::grouped_tools_drag opt-in; tab marks resolve outside the memoized tab row and join its key; a grip floating window keeps no title-rule band 2026-11-23 02:57:02 -05:00
Dylan M. Taylor e9d0bb0267 fw sync: L-322: the filled dropdown triangle (DropdownArrow::Triangle) and PdfCraft's document tabs (DocumentTabLook::Shrinking: shrink, inline gap, marker dot for modified, 22-digit name cap) become opt-in env values; upstream's chevron, whole touching tabs and '*' stay the default 2026-11-23 02:57:02 -05:00
Dylan M. Taylor bfe51c7622 fw sync: L-320: parts_group takes the nested case: a part group registered under the body group keeps its own group, for the header's hosted cells as for the parts 2026-11-23 02:57:01 -05:00
Dylan M. Taylor cd72739407 fw sync: a key whose bindings are all disabled is still declined to the app
Upstream passes a disabled binding's chord to the next binding (Matcher::press_where),
so a press whose only binding is state-disabled matched nothing and the port's decline
(FrameOutput::declined) never ran. Both kept: with no enabled binding the board matches
the press once more without the filter and declines that command when only the app's
own state disables it (gate, modal rule and instance state still not declined).
2026-11-23 02:56:08 -05:00
Dylan M. Taylor 5d812cfefb fw sync: command-search story chord off Cmd+K, which upstream's menu-row trial binds
The port's story command set (registered with the stories in the test binary) bound
Cmd+K, so the trial's Find command lost its chord and its row showed none. The story's
chord moves to Cmd+Shift+F; the trial is upstream's and unchanged.
2026-11-23 02:49:50 -05:00
Dylan M. Taylor ed7d648f69 Merge branch 'pdf-port/sync' into pdf-port/sync-int
# Conflicts:
#	crates/review/src/ui/comments.rs
2026-11-23 02:47:55 -05:00
Dylan M. Taylor 6a748831cb Merge branch 'pdf-port/sync-beh2' into pdf-port/sync-int
# Conflicts:
#	crates/review/src/ui/comments.rs
#	crates/review/src/ui/comments/row.rs
2026-11-23 02:43:38 -05:00
Dylan M. Taylor dd35b1e887 fw sync: resting-pointer popup trial names its list (upstream's PopupList::list)
Upstream routes an opener's list keys only to the list the popup names
(PopupList::list / Overlay::list); the port found the first type-ahead stop in the
layer. Upstream's mechanism wins; the trial's fixture names its list, its check stands.
2026-11-23 02:42:51 -05:00
Dylan M. Taylor 33d7e8d65e fw sync: unsaved question long-text trial finds the question as an alert dialog
Upstream made the unsaved question Role::ALERT_DIALOG; the port trial looked it up as
Role::DIALOG. Only the lookup changes; the check that the text stays inside stands.
2026-11-23 02:42:51 -05:00
Dylan M. Taylor a0035430e5 fw sync: L-72 hint-alone tooltip becomes opt-in (CommandState::hint_alone)
Upstream shows a hinted command's label and chord over the hint even when the label
shows whole; the port showed the hint alone (L-72). Upstream's default kept; the port's
look is the opt-in CommandState::hint_alone(true), carried as ResolvedCommand::hint_alone.
The trial asserts both.
2026-11-23 02:42:50 -05:00
Dylan M. Taylor 24f40451a8 fw sync: L-318: Escape over a draft in a modeless window reverts the field first
Upstream's one-Escape dialog cancel (focus::escape_closes_dialog) now counts modal
dialogs only, as the port's focus_in_modal_dialog does: a modeless window's edits belong
to the app, so Escape ends one thing at a time (field, then window). Modal dialogs keep
upstream's one Escape.
2026-11-23 02:42:50 -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 df81ec186a fw sync: L-324 Creative page spacing back to upstream's default (section gap, roomy margin, rail side); the port's inset spacing is left for the opt-in variant (fwg-optin), whose trial a_page_fitted_to_the_width_keeps_the_theme_side_margin must opt in 2026-11-23 02:40:33 -05:00
Dylan M. Taylor 9c2d4522b7 fw sync: L-324 comment rows keep upstream's one editor-focus mechanism (EditShown); each card menu opens once per pass (duplicate stage ids) 2026-11-23 02:40:33 -05:00
Dylan M. Taylor 321dbe667e fw sync: L-324 Creative page spacing back to upstream's default (section gap, roomy margin, rail side); the port's inset spacing is left for the opt-in variant (fwg-optin), whose trial a_page_fitted_to_the_width_keeps_the_theme_side_margin must opt in 2026-11-23 02:39:55 -05:00