Part of #5622. On a Wayland session winit 0.30 receives no input from a
pen, so the app opens its window through XWayland when a pen is attached
(#4967). When it did not, the log said nothing, and a report could not
tell a pen that was not found from a session with no X display.
- On a Wayland session the log now says why the window opens on Wayland:
no pen in /proc/bus/input/devices, the device list could not be read,
VECTORCRAFT_NATIVE_WAYLAND is set, or there is no X display (DISPLAY is
unset, as in the Flatpak, which has --socket=fallback-x11). The
pen-found line names the pen, and the missing-libraries warning no
longer says Linux Display Server is X11 when a pen chose XWayland.
- Under X11 the tablet reader logs the pens the X server lists (for
example XWayland's "xwayland-tablet stylus:16"), again when that list
changes, and the first event from each pen.
- docs/development.md lists the new log lines, the Flatpak override that
gives it an X display, and that GDK_BACKEND=x11 does not move the
window to XWayland.
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.
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.
Expand…'s tooltip reads its check's answer from the rebuild's kept checks, which the row's state asked first, so the selection's appearance is still walked once.
With a number field focused, a wheel notch anywhere in the window stepped
that field. In Pattern Options at 220 by 320 points, with Width focused at
10 pt, a notch over Size Tile to Art changed Width to 9 pt.
`root_env` now turns on the framework's pointer-scoped field wheel
(`RootEnv::pointer_scoped_field_wheel`, storytold/craft-libs#3805). The
desktop and web hosts both take their root from it. A notch over the
focused field still steps it. Elsewhere the wheel scrolls what is under the
pointer, and an unfocused number field under the pointer is not stepped.
At the craft-libs pin this branch moves to, a panel shown in a dock flyout
runs its body twice in the release frame: first in the container's
invisible sizing pass, then in the real run. copy_shown read the release
in the sizing pass, where the readout has no area, and cleared the press
it had remembered, so the real run saw a release without a press and
copied nothing. Info's W, H and other readouts stopped copying
(panel_readout_copy: three tests failed with no copy).
copy_shown now returns before reading input or the remembered press in a
sizing pass.