On macOS 26 the app aborted when its window closed (the end of a
`--screenshot` run, and the same close path that quitting and the close
button take) with NSRangeException: "Cannot remove an observer
<_NSTouchBarFinderObservation> for the key path "nextResponder" from
<WinitView> because it is not registered as an observer", exit 134.
Cause: accesskit_macos 0.26 subclasses winit's view at runtime and, when
the adapter drops, sets the view's class back. By then AppKit's Touch Bar
finder has observed the view with KVO, which gave it a class of its own;
putting the old class back breaks that observation, and AppKit throws
when it removes it on the next display cycle. Fixed upstream in
accesskit_macos 0.27.2 (AccessKit/accesskit#835), which only eframe and
egui 0.37 can use (egui-winit 0.37 -> accesskit_winit 0.34).
Measured on macOS 26.5 (M1), display awake:
- `anicraft --screenshot`: main 3/3 exit 134, this branch 5/5 exit 0,
same picture.
- A bare eframe window closed with ViewportCommand::Close: eframe 0.36
with accesskit 6/8 crashed, without accesskit 0/8, eframe 0.37 with
accesskit 0/10.
The bump, by egui 0.37's migration notes:
- WidgetType is Role (SelectableLabel -> Button, Checkbox -> CheckBox,
CollapsingHeader -> DisclosureTriangle, ColorButton -> ColorWell);
Id::new -> Id::unique; Ui::id -> Ui::scope_id.
- Screenshots come back through a callback (Context::request_screenshot)
instead of an Event::Screenshot; MouseWheel events carry a source.
- egui now names its own panel and window resize handles for screen
readers, and hands a tooltip to them as the control's description: the
pseudo-locale tests list egui's names with its close button, and count
file paths and open documents' names as data.
wgpu stays at 30. New crates (Linux clipboard: wl-clipboard-rs and its
dependencies; accesskit_ios) are MIT or MIT OR Apache-2.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Main's automation roots (ADR 0124) list every command whose parameters name a path; text on a
path made path.move_points mention one. It edits vector points, so it goes in NOT_FILES.
Inter, JetBrains Mono and egui's own fonts have no Japanese, Chinese, Korean,
Arabic, Thai or Indic letters, so text in them showed as empty boxes in the Movie
Explorer, the timeline, the Library and Properties, while the stage drew it.
Each frame the painted text is checked for characters no interface font has; a
background thread then finds an installed face that has them (the system's own
interface faces first, ordered by the system's language for Han characters) and
it is added after every other font. Nothing loads until such text is shown; at
most 6 faces of at most 48 MB, each character looked up once.
Also adds the docsettings screenshot state.
Fixes#482
0.2.1 asked zune-jpeg for RGBA from CMYK files and got scrambled pixels. Since
JPEG decoding moved to craft-image-codecs, CMYK and YCCK files are decoded as CMYK
and converted, so they import correctly; this pins it with a 16 x 16 picture in
quarters of cyan, magenta, yellow and grey.
Fixes#447
A fill or stroke dragged onto another cut it the moment the mouse was let go,
while still selected. In Animate it cuts nothing until the selection lets go of
it, so it can be moved on, or back. The editor now floats a moved selection
(draw.float: whole, on top, as a paste already was) and the drawing takes it in
when it is deselected; undo takes back the move and the cut together. draw.drop
stays for scripts. ADR 0122 amends ADR 0031.
Also regenerates the guide's command and shortcut reference (draw.float,
Ctrl+J for Document Settings, all_layers on Remove Frame and Clear Keyframe).
Fixes#487