* theme: dark-mode accent buttons show a visible hover (wordcraft#7317 C7-14)
accent.strong_hover/pressed offset the rest fill by the ramp distance from accent.solid to
accent.hover/pressed. A light dark-mode seed leaves those ramp steps 0.01 OKLCH-L apart, so the
hover was invisible; and a fill near white or black clamped. The offset now has a floor
(hover 0.06, pressed 0.10) and flips toward the text when there is no room away from it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* theme: explain names the shift's floor and flip
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
* wordcraft#7317 C7-14: test that explaining the dark accent hover names its base and its lightness floor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FypgCZhHKRuRB5wZUiw6BE
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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.
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.
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.
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.
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.
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.
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.
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.
The dev-dependency rule covered egui alone; epaint_default_fonts slipped past
it. It now checks the egui crates every framework crate builds on (egui, epaint,
epaint_default_fonts, emath, ecolor): a feature a dev-dependency line asks of one
must also be asked by a normal line, feature-root's included.
craft-ui-contract's tests ask for them as a dev-dependency (their font oracle),
which gave cl test ui-contract its own epaint_default_fonts and so its own
egui and framework build. The feature only adds two byte constants; egui's emoji
fallback is epaint's own feature and stays off.