Skip to content

Test that an idle window draws no frames - #68

Merged
beetlebugorg merged 1 commit into
mainfrom
idle-no-frames
Nov 28, 2026
Merged

beetlebugorg merged 1 commit into
mainfrom
idle-no-frames

Conversation

@beetlebugorg

Copy link
Copy Markdown
Owner

Part of #67.

This PR adds the headless test that the issue asks for: "an idle window draws no frames in each view". It opens the workspace, Activity, and Apps views in turn. Each view must reach a full second with no frame (App.frames does not change) within 15 s, while the preview poll (33 ms), the audit poll (250 ms), and the file watcher poll (100 ms) run.

The test passes on Linux with the headless backend, so it does not reproduce the issue. I found no source of repeated frames on this backend. The details are in a comment on #67.

What I ran on Linux: zig build test-bin, then zig-out/bin/test: 29 passed, 3 skipped, 0 failed.

The test opens the workspace, Activity, and Apps views in turn. Each
view must reach a full second with no frame within 15 s, while the
preview, audit, and file watcher timers run.
@beetlebugorg
beetlebugorg merged commit 4da4c33 into main Nov 28, 2026
7 checks passed
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