With the claimed-digit fix in craft-libs, a keypad digit types its Alt
code also when the Type tool claims Alt with that digit: Alt with keypad
0233 types é while type is edited, and Alt with the top-row 2 still
types ™. Every craft-libs rev is pinned to that fix's head, 12b6fa3c27.
The pinned winit reports the character Windows composes for an Alt code
as a key press after Alt's release, and egui types it. The Windows hook
also typed the WM_CHAR that follows Alt's release, so each code typed its
character twice. The hook now only takes the keypad digits out of the
frame and tells the framework the Alt hold had digits typed in it.
egui reports a keypad digit as the same logical key as the top-row
digit, so the hook matches the keypad digits it takes out by their
physical keys (Numpad0 to Numpad9, with NumLock on or off). A top-row Alt
and digit in the same frame stays in the frame for the shortcuts.
The app's root values set `AltCodeKeys::Keypad`, so on Windows and Linux
only the numeric keypad types an Alt code. Alt with a top-row digit stays
a key press and reaches its shortcut (the Type tool's Alt+2 and a
user-set Alt+5 included). macOS has no Alt codes and is unchanged.
The Windows key-message hook now calls `alt_code_digits_taken` when it
takes a keypad code's digits out of the frame, so releasing Alt after the
code is not read as a lone Alt: no menu bar focus, no Alt tap and no
alert in a field.
Every craft-libs rev moves to storytold/craft-libs#4453's head
(1ccea91875) for these two calls, `xtask/src/pdf_deps.rs` included. With
that pin:
- Info panel readouts copied nothing on click: since craft-libs #4320 a
dock group's measuring run uses the ids of its real run, and
`copy_shown` took the saved press there. It now returns early in a
sizing pass.
- `applying_a_dialog_preview_reads_the_menus` waits for the angle field
to give up the keys and counts the second menu send, as on #10195.
The walk-count test now checks that Object › Expand…, dimmed with
nothing selected, shows the general reason as its tooltip, as on main,
instead of only checking that the tooltip is not the appearance one.
After a move, the check that a view can move the selection's marks
instead of building them again looked each moved object up by id three
times: the object, its parent's id and the parent. With 10,000 objects
selected that was 30,000 lookups after the edit. The check now keeps
each object's place from the transform and reads the object and its
parent there, so the move looks each object up once, as before.
craft-libs main at 2680a3b3f adds #4364 (its egui pin moves to
07c20531, which VectorCraft's egui lines now match), #4425, #4409, #4414,
#4406, #4349, #4393, #4392, #4398, #4415, #4411, #4402, #4400, #4417,
#4399, #4407, #4375, #4428 and #4451. winit stays at 0dfcec0e, the rev
craft-libs pins. craft-nightly and craft-web-api move with the other
craft-libs crates, and xtask pdf-deps checks the new rev. Cargo.lock:
epaint_default_fonts now depends on brotli 9.1.3 and brotli-decompressor
6.3.2.