Capture oversized screenshots instead of dropping them #6

Merged
ilia merged 1 commits from fix/oversized-screenshot-capture into main 2026-07-19 10:16:47 -05:00
Owner

Summary

  • Stop silently skipping clipboard images over the RGBA size cap (typical Retina screenshots).
  • Downscale via prepare_clipboard_image, store PNG + thumbnail, never drop.
  • Add regression tests (Retina fixture, DB list thumb, stub path, UI truncated thumb).

Test plan

  • cargo test --lib (65 passed)
  • ClipboardList vitest
  • Manual: large screenshot appears in maCopy list after deploy
  • CI green on this PR
## Summary - Stop silently skipping clipboard images over the RGBA size cap (typical Retina screenshots). - Downscale via `prepare_clipboard_image`, store PNG + thumbnail, never drop. - Add regression tests (Retina fixture, DB list thumb, stub path, UI truncated thumb). ## Test plan - [x] `cargo test --lib` (65 passed) - [x] ClipboardList vitest - [ ] Manual: large screenshot appears in maCopy list after deploy - [ ] CI green on this PR
ilia added 1 commit 2026-07-19 10:14:19 -05:00
Capture oversized screenshots instead of dropping them.
All checks were successful
CI / skip-ci-check (pull_request) Successful in 9s
CI / secret-scan (pull_request) Successful in 8s
CI / node-ci (pull_request) Successful in 26s
656045c4b4
Retina clipboard images over the RGBA size cap were silently skipped; downscale and store a thumbnail so they still appear in history, with regression tests.
ilia changed title from Fix/Oversized Screenshot Capture to Capture oversized screenshots instead of dropping them 2026-07-19 10:14:30 -05:00
ilia scheduled this pull request to auto merge when all checks succeed 2026-07-19 10:14:45 -05:00
ilia merged commit 82c04da445 into main 2026-07-19 10:16:47 -05:00
ilia deleted branch fix/oversized-screenshot-capture 2026-07-19 10:16:47 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ilia/maCopy#6
No description provided.