Repository navigation
Show Whiteboard while its canvas is opening - #2000
Draft
simonvanlaak wants to merge 1 commit into
Draft
simonvanlaak wants to merge 1 commit into
simonvanlaak wants to merge 1 commit into
Conversation
simonvanlaak
marked this pull request as draft
November 25, 2026 17:23
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
The built Electron window passed four Whiteboard smoke tests under an isolated Xvfb display. A fifth diagnostic deliberately withheld the renderer and verified that the child exited at its readiness deadline. The rendered opening and drawing states were inspected at 720×540 and 320×280 in both color schemes. The tests cover keyboard focus and Escape, rejection of edits before readiness, exact retained paper, and real pointer input with parent-acknowledged ink and the practice lesson.
Matched local replays used main control
72a73a91b92e, Electron 45.2.1, the same staged coach/runtime and fixtures, and control/candidate/candidate/control order. The intervening main update did not touch the measured Whiteboard or coach inputs. A 60 Hz X11 framebuffer observer sampled title and loading pixels. The canvas checkpoint uses the collector's painted-canvas observation. Each result required trusted Electron pointer events and exact stroke coordinates acknowledged by the fixture parent and painted by the renderer. Record starts the child on admitted Open, as the recording path does. The native capture coordinator and media device are fixture boundaries here.Raw observations in milliseconds, in trial order:
The held-renderer candidate also painted the specific “Opening Whiteboard…” status at 321.4 and 282.5 ms. Ordinary trials did not resolve that transient status at 60 Hz. The held-renderer test verifies the earlier acknowledgement and shows the exact stroke remains gated on readiness. In these ordinary trials, mean Open → verified stroke increased 44.6 ms in cold onboarding and 32.1 ms in resumed onboarding. Record was faster on average, with a 95.4 ms spread between its controls. These small samples and shared host variance do not establish a general latency gain. In the held case, the title appeared 262.1 ms earlier on average while mean verified-stroke time was within 0.4 ms.
The prior hosted run 45631268614 was same-build v2 calibration. Earlier local prewarm experiments changed the launch point and had uneven first-media timings. These provided attribution context. The comparison here uses the current launch point and leaves the official v2 observer and scoring unchanged.
The candidate hosted run built both exact revisions. Both same-build calibration variants failed the existing 5% full-I/O-pressure guard, with some samples above 13% and a peak of 26.08%. The workflow stopped before candidate comparison and issued no candidate v2 score.
Local ordinary trials recorded peak process RSS of 153,632–155,220 KiB on control and 153,756–154,500 KiB on candidate. This is the existing per-process measure. The change reuses the existing Electron child.
The evidence above covers Linux Electron on Xvfb. Installed macOS or Linux compositor focus, placement, and native capture are unverified.
Issues
Refs #1997