Skip to content
Field notes

Engineering

Which window did the recorder actually capture?

A two-window color test reveals whether a recording follows the selected application when another window covers it.

AlphaSwarm Engineering1 min read
The target window changes between red and green six times. A blue window covered it during the test. All 61 frames in this silent clip show the target.

A screenshot of the right window and a playable video can tell two different stories. While qualifying the desktop recorder, we found earlier exports whose screenshots showed the selected application while parts of the video showed another surface. We needed a test where a wrong frame would be easy to recognize.

Give each window a distinct color

We made a target window alternate between red and green, then covered it with a blue window. The recorder requested fresh images of the target by its window ID and encoded them using the measured time between observations. If it picked up the covering window, blue would appear in the exported clip.

Play the recording and watch the background. We decoded all 61 frames. Twenty-nine were red, 32 were green, and none were blue. The six color changes also establish that the recorder followed the target over time. A frozen image of the correct window would have missed them.

Keep the reference with the clip

For the IDP capture report, each recording travels with a window screenshot and a manifest that identifies the media by digest. The screenshot lets a reviewer check the selected view. The digest lets another tool verify that it received the same clip. The overlap test shows what the recorder followed while the target was covered.