mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-20 19:18:41 +00:00
Found in review of the right-clicks 4b routes: - With Edit text, a right-click on a picture under a link went to the link, which Edit text doesn't follow: the page menu opened and the picture was unselected. A right-click counts links only for the tools that reach them (Select; the Link tool). - Edit text's paragraphs have no menu, and give way to the picture under them (the user's ruling): text over a picture, an OCR'd scan's among it, no longer hides the picture's menu. - With a Prepare field tool, or while a table is set up, Prepare's hit leaves fields out, so a right-click on the selected field opened the page menu. A right-click reaches fields whatever the field tool. - In crop mode, a right-click off the crop went to crop mode's whole-page hit and unselected every picture. Only one on the picture being cropped, its box or its grips is the crop's (#5900's area), which opens no menu; elsewhere it goes to what lies there, as without crop mode: another picture is selected for its menu. - Under a held press, the menu was the page's on anything but a link. It is the routed owner's when that owner is the one selected (the held press leaves the selections alone), the page's otherwise. `DocView.menu_for` is `pub(in crate::canvas)`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>