Skip to content

Known Limitations

This page lists gaps and sharp edges that are architectural or not yet implemented — things to know before committing to the engine.

App UI (html-ui, world-space OSR panels) renders to GPU textures — there is no DOM and therefore no accessibility tree. Screen readers, focus traversal for assistive tech, and OS-level text-input services (IME on some paths) are not wired. Keyboard/controller navigation inside documents exists (html-ui-kit nav router, virtual cursor, OSK), but AT-SPI/UIA/NSAccessibility integration is a known gap with no current implementation.

Only wasm and quickjs plugin formats are hard-isolated. worker-js plugins run as ordinary worker threads in the host JS runtime — globals are stripped on a best-effort basis, but plugin code can still reach node:fs, FFI, and the network unless the runtime itself is launched restricted. See Plugins for the full model.

  • CI typechecks/lints/tests on Linux; native cdylibs are built for linux/win/mac (+android) by native.yml on release tags, and PR CI runs a cross-platform smoke suite (cli args, MCP transport, persistence) on Windows and macOS runners.
  • The full packaging matrix (dir/deb/appimage/flatpak × bun/node/deno) is exercised on Linux; node/deno embedded-runtime packaging is Linux-only today — win/mac compile to Bun binaries.
  • Web UI backends: cef is the desktop default; wpe targets Linux/Android.

The desktop surface (windows, menus, tray, dialogs, settings — see Desktop Applications) has these known edges:

  • Linux app menus render in-window. muda’s GTK backend needs a gtk::Window our winit surface can’t provide, so downdraft.setMenu returns "inwindow" on Linux and the app renders the html-ui kit MenuBar instead. Menu item ids land on the same onMenuAction channel either way.
  • Tray needs a StatusNotifierItem watcher on Linux. The ksni backend is pure DBus (no GTK install needed), but a session without an SNI watcher (bare WM, minimal DE) makes tray.create return false. Flatpak packages need --talk-name=org.kde.StatusNotifierWatcher.
  • Single primary window. AppWindow.create opens secondary windows, but the singleton primary boot path means document-style multi-window apps (one OS window per document) aren’t a first-class shape yet.
  • No taskbar progress / dock badge, no file-association or URL-scheme registration in the packaging pipeline yet.
  • IME is commit-only — editable focus arms native text input and anchors the candidate window, but preedit/marked text isn’t rendered.

Claims of “tens of megabytes” refer to Bun-compiled builds. A Node-embedded package carries a ~100MB-class libnode/binary pair, roughly double the Bun footprint. Android APKs embed libnode similarly.

  • Swapchain frame retention: on the native host, getCurrentTexture() is not idempotent — acquiring fabricates a frame and defeats dirty-tracking (blank-swapchain flashes). Renderers should use the renderer’s getFrameSurfaceTexture()/peekCurrentTexture() path to join an in-flight frame rather than start one.
  • Rapier .free() ordering: world.free(), collider/body .free(), and query-result .free() must happen in dependency order and never while a world.step() is pending on the same objects — the WASM instance traps (“Unreachable code”) otherwise. rapier-backend.ts owns the correct ordering; prefer engine APIs over calling Rapier directly.
  • Shared WASM state in tests: bun test must run with --isolate — without it, module/GC state shared across spec files corrupts the rapier WASM instance mid-step (this is why bun run test sets it).
  • Deprecated command removals: draft build|dist|export|mobile| build-apps are removed — use draft release stages (see CLI reference).