Commit Graph
10 Commits
Author SHA1 Message Date
Rob CoenenandClaude Opus 5.5 24a2297fa6 fix(shell): closing the window no longer crashes on macOS
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>
2026-11-23 20:05:27 +01:00
Tanish Manku 0d94ec6b2d chore: merge main (APNG/WebP export, Check for Updates) into Test Movie window (M8) 2026-11-11 18:26:39 -07:00
Tanish Manku 4f10fa7939 docs: ADR 0040 interface languages, localisation guide, roadmap, changelog (M8) 2026-11-10 00:42:06 -07:00
Tanish Manku b5f3b5463e docs: audio decision record is ADR 0020, as assigned by the lead (M5) 2026-11-09 03:43:36 -07:00
Tanish Manku cf7e39c251 docs: audio decision record renumbered to ADR 0015 after the XFL text ADR took 0014 (M5) 2026-11-09 03:43:35 -07:00
Tanish Manku b7748949d1 docs: sound and audio layers (ADR 0014), roadmap, changelog, compliance, CI ALSA headers (M5)
Measured (release, 120 s 48 kHz stereo): decode WAV 129 ms, Ogg 147 ms,
MP3 99 ms; export_audio 95 ms at 48 kHz, 128 ms resampled to 44.1 kHz
(about 1000x real time).
2026-11-09 03:43:28 -07:00
Tanish Manku ef624e3761 chore: rebase on main (autosave); plug-ins ADR renumbered to 0017 (M6) 2026-11-09 03:32:06 -07:00
Tanish Manku e1e790fe79 docs: plug-in ABI v1 (docs/plugins.md), ADR 0014, roadmap, changelog, attribution and compliance (M6) 2026-11-09 03:31:56 -07:00
Tanish Manku 09d7158411 docs: ActionScript compatibility on the roadmap (ADR 0013); XFL import reports frame scripts
Keep scripts, then run the ActionScript 3 timeline subset through the shared
action IR (M6, low priority). The full language and SWF bytecode are not planned.
The XFL importer now counts dropped frame scripts in its report.
2026-11-08 17:04:20 -07:00
Tanish Manku e3913afa36 Initial commit v0.1.0 early alpha
AniCraft 0.1.0 (early alpha): milestones M0 and M1. Contributors are credited in AUTHORS.md.
2026-11-05 23:58:25 -07:00