Repository navigation
fix(desktop): restore fresh human background screenshots - #22335
Quicksaver wants to merge 1 commit into
Conversation
ApprovabilityVerdict: Needs Human Approval Macroscope's review found this PR requires human approval — This restores fresh background screenshots by adding compositor paint probing, a discarded warmup capture, and independent rendering leases around the existing production screenshot path. Because it changes throttling, debugger coordination, timing, and overlap behavior across screenshot, recording, and picture-in-picture flows, the runtime impact merits human review. You can add or adjust custom eligibility rules. Learn more. |
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
96715e4 to
cb74756
Compare
|
@coderabbitai full review |
✅ Action performed
|
cb74756 to
7a2b3e9
Compare
afa93bf to
19fb1df
Compare
|
@coderabbitai review |
|
|
@coderabbitai full review |
✅ Action performed
|
19fb1df to
f75f20b
Compare
|
@coderabbitai full review |
✅ Action performed
|
f75f20b to
8c45433
Compare
|
@coderabbitai full review |
✅ Action performed
|
06da759 to
dd42c67
Compare
|
In response to the description warning, the PR now uses the template's Problem, Change, Scope and approval, and Verification sections. Scope and approval retains Julius's re-landing directive. Existing proof and its limitations are unchanged. Human approval, current-head source review and native acceptance on Electron 44.10.1 remain outstanding. The native proof covers historical revisions; this correction does not claim a passing description check.
|
e420339 to
7f2083e
Compare
2725136 to
685999b
Compare
deecac8 to
f5e06b7
Compare
Keep each human capture rendering through a bounded paint probe and warmup, then save the final native pixels. Let overlapping probes progress independently while retaining recording and PiP ownership. Co-authored-by: Julius Marminge <julius0216@outlook.com> > 🤖 Generated by GPT 6.1 Sol in Codex via T3 Code.
f5e06b7 to
068596e
Compare
Summary
The human Screenshot action can save stale pixels or fail to save an image when Electron stops presenting a background preview, including when the desktop app is hidden. Each capture now keeps rendering active through a paint probe and discarded warmup, then saves the final native readback.
This restores the human native screenshot path from #19931 on Windows, macOS and Linux Electron desktops. Julius requested a fresh PR with before/after evidence on every affected platform. Human approval remains outstanding.
What changed
Validation
Exact-head source checks, upstream control and remaining acceptance
068596e60020aa5b71a34f3e2ea196b8a9643ac1is one customization commit directly above fixed boundaryae142932d07c0596cf0497dd28cfee07ae7c0722. Both customized source files match the prior published revision byte-for-byte. Author, author date, coauthorship, complete commit message and attribution are preserved.vp run check:changed ae142932d07c0596cf0497dd28cfee07ae7c0722 --concurrency 1passed with exit zero under managed Node 26.12.1, pnpm 12.14.0 and at most two Vitest workers. Formatting, lint, both uncached Knip passes, uncached desktop/scripts typechecks at package concurrency one, and all 76 Manager cases passed. Typechecking emitted advisory Effect suggestions. Scripts typechecking was not cached because it modified its inputs; those inputs were not independently identified. The overall gate was not cached because files changed during the run. Final tracked source stayed clean. This passing gate does not erase the focused/control failure.8c45433f7a5b3a5320593a95954b285e4cae445d. The submitted COMMENTED review covers685999b7969a8e875161148f74b3e05de4a3cde8, without merge approval. Current-head source review, human runtime approval and native acceptance remain outstanding. CodeRabbit's scope/approval warning and Macroscope's human approval gate remain open. Passing description checks and historical security assessments supply neither approval nor an exemption. The multi-model review attribution below applies only to the historical AFTER revision.Proof
Historical before/after PNGs and reproduction evidence
8eafe058ca7720219e9466e9c6ed8e59a2276deewith AFTER2e619fae61e66ecd85dd8494a431668920d06af2.vp run build:desktopon Windows 11 x64, macOS 27.0.1 ARM64 and Debian 12 x64 with Electron 44.4.5. Complete unpackaged apps contained imported conversation history. Tests used the human Screenshot control through production IPC/Manager and independently decoded the saved PNGs.Windows/macOS proof package and Linux proof package include saved images, failed requests, pixel checks, hashes, reproduction drivers and limitations. Uploads were downloaded and hash-verified.
Hidden app, requested epoch 4:
The macOS originals are byte-identical and the upload service deduplicated them. Missing before images reflect failed captures. The Linux observation window is not an application timeout guarantee.