Files
pdfcraft/docs/port-known-gaps.md
codeiouandClaude Opus 5.5 806b7721f6 fix(ui): the command palette runs what is picked in it
Since the craft framework port, Find tools and commands (Ctrl+K) listed every row
disabled, so Enter and clicks ran nothing. The open palette counted as a modal in the
app's command gate (menus::gated), and craft-libs applies that gate to the palette's own
rows, which it resolves and fires as the window under the palette has them.

- The command gate counts dialogs and prompts only. While the palette is open its modal
  layer still keeps the keys and the controls under it from the commands; menus::gated
  keeps the palette for the menu bar's keys and the native menu, as 0.22.0's menu gate did.
- The palette's tool rows fire tool.group with the group in a parameter, which nothing
  handled; run_catalog_command now opens the named tool, as it does for tools.<id>.
- split_view_render::a_late_edit_turns_the_page_in_both_panes opens the palette with
  Ctrl+K and types its query, and runs again; its row leaves docs/port-known-gaps.md.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 04:19:23 +10:00

1.1 KiB

Known gaps of the egui-to-craft port

Status: 10 app tests remain ignored after the port's test phase (2026-11-20). Remove the #[ignore] when its gap is fixed. Framework items (F-n) are in the port workspace's follow-up list.

Test How it fails Likely cause
comments::a_double_click_on_a_replace_text_opens_its_one_window the group's window doesn't open on the double-click the comment part receives the first press and release; the second press reaches the comment canvas tool with click count two
editing::paragraph_edges_and_frames_are_caught_without_aiming_for_the_hairline a click off the text doesn't apply the typing F-115 follow-up: the edge band and the click-off rule overlap
marks::the_preview_shows_the_page_the_range_selects_under_the_marks the stamp preview doesn't show the selected page F-161: the preview overlay's clip is inverted and its geometry a pass behind
panel_snapshots::every_panel_matches_its_snapshot all 11 accessibility-tree snapshots differ after updating the dock queries L-298 defers pixel snapshots; these text snapshots need separate review