mirror of
https://github.com/storytold/soundcraft.git
synced 2026-10-30 05:26:52 -06:00
A MIDI file whose track name was a million characters long imported fine, and the next frame crashed the app: drawing that name needed a 320 MB vertex buffer, past wgpu's 256 MB limit, and the panic comes from painting, outside anything that catches it. Saved, the session crashed again on every open. A 4 MB status line in ui.json did the same at every launch. Names read from files are now cut to 256 characters and comments to 4096: everything Session::sanitize repairs on load (session, track, playlist, clip, marker, bus, output, group, source, video and key names), MIDI track names on import and clip names from clip group files. The status bar draws at most 1024 characters.