Skip to content

docs: note how to verify take_screenshot results by renderer - #13371

Open
tilladam wants to merge 1 commit into
slint-ui:masterfrom
tilladam:docs/mcp-screenshot-renderer-verification
Open

tilladam wants to merge 1 commit into
slint-ui:masterfrom
tilladam:docs/mcp-screenshot-renderer-verification

Conversation

@tilladam

Copy link
Copy Markdown
Collaborator

`SLINT_BACKEND` selects a renderer by name (e.g. `winit-skia`), but an unavailable renderer falls back silently instead of erroring — a binary built without `renderer-skia` compiled in still accepts `SLINT_BACKEND=winit-skia` and renders with whatever it does have, with no indication a fallback happened.

Adds a short section to `docs/development/mcp-server.md` covering the `nm -gU | grep -c i_slint_renderer_skia` check to confirm which renderer actually linked, and a reminder to confirm the state change under test actually reached the application before treating "no pixel diff" as a rendering bug.

Test plan

  • Docs-only change; no build/test impact

SLINT_BACKEND selects a renderer by name, but an unavailable renderer
falls back silently instead of erroring, so a screenshot can come from
a different renderer than the one requested without any indication.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant