Files
racket-webview/README.md
T
2026-08-03 16:50:36 +02:00

36 lines
1.4 KiB
Markdown

# racket-webview
Webview integration for Racket.
## Release v0.1.11
This release assigns explicit, file-prefixed Scribble tags to manual parts and sections. This prevents duplicate collected-information warnings for headings such as `Overview`, `Example`, `Conversion`, `Events`, and `racket-webview` during `raco setup`.
The process-interface changes from v0.1.10 remain unchanged.
### Process interface (introduced in v0.1.10)
This version replaces the FFI/shared-memory transport with a child-process
interface to racket-webview-qt v0.2.3:
- commands: JSON lines on child stdin
- results and events: JSON lines on child stdout
- backend diagnostics: child stderr
The public Racket procedures, command numbers, command payloads, result symbols,
and event JSON remain unchanged. Set `RKT_WEBVIEW_PRG` to an explicit locally
built backend executable during development.
## Previous Qt update
QtWebEngine select popup rendering issues were observed with older Qt 6.x. The
native HTML `<select>` popup could keep growing or repainting while open while
the QtWebEngine process remained busy. Upgrading to Qt 6.11.1 resolved this.
### Qt backend logging
Structured stderr records from `rktwebview_prg` are logged through `simple-log`
under the separate topic `webview-backend`. Ordinary Racket-side messages keep
the topic `webview`. Unstructured stderr lines are accepted and logged at debug
level under `webview-backend`.