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.
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.
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).
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.
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).
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.
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.
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.
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.
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.
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).
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.
Dock area: upstream's specs/Arc workspace/memo rewrite with the port's top inset, rail footer,
IconicMode::Rail widths, group view room and title count/caption/command re-applied.
Form dialogs: upstream's held answer, preset sources and button place with the port's tabs,
read-only, Document layout, host notes, one action channel and preview pager; both
beside_previous and beside_next rows in one section_rows; SetOrClear carried into
PasswordFields as an opt-in clearable.
Preferences (L-312): upstream's PreferencesPage structure with a PreferencesLayout option,
Paged by default, Cards carrying the port's scrolling cards, segmented short choices and
match count; body.rs removed.
Pages: the port's page view keeps its pass (pre-draw tool callback, pager, GoTo, its picture stores) and takes
upstream's editor and inactive edits, snap and tool regions, rulers strips, picture reach with resident counts,
the zoom anchor and non-easing reflow, the thumb tip and Go To placement; PlacedPage::new takes upstream's
four arguments with showing() for the picture; page spacing is the theme insets for Creative and upstream's for
Productivity. Review: comment rows keep badges, lead and submit key beside upstream's balloon actions, body rows
and push buttons; a new lead keeps its own edit draft. Text: editor keeps holds_drafts with upstream's focus
scope. Module lists, stories and trials are the union.
Dialog: upstream's ButtonPlace replaces the port's side flag; the port's title note, title icon and close-unchanged stay.
Footer roles: upstream's Alternate and the port's Alternative are both kept, with one rank table.
Unsaved question: upstream's alert role, Alternate role and failure reason, with the port's wording options.
Docking: the port's group footer, titled header, tab marks and counts and caption go into upstream's memoized tab row;
the port's footer, rail footer and content hooks stay on DockPanels beside upstream's PanelSpecs; iconic rail mode on
upstream's bar; floating grip on upstream's chrome sizes. Tool rail edit icon in the memoized grid.
Start screen: upstream's Home and Greeting layouts, picture shape and recent_list split, with the port's pinned
folder listing, host sections, offers_new/offers_open, pinned title and section headings.
Tests: both sides' trials kept; port trials moved to Titles, Registry and the props-keyed CommandGate.