Repository navigation
Recover mobile screenshot paste through an explicit clipboard action - #693
Merged
Merged
Conversation
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.
Android Gboard can reject a screenshot tile before Von receives a DOM paste event. The main composer now offers More actions (+) → Paste image, with Attach image as recovery when browser clipboard access fails. Both preserve the caption and reuse the existing session-bound upload/preview path. The existing items/files extractor and ordinary text paste remain unchanged.
Reuses the exact
initialiseImagePickerhelper from #658, whose native Android permission path is now verified. This PR delivers only that bounded recovery; #658's broader layout, upload-cancellation and PWA work remain separate. The original Gboard tile is still browser-limited. Diagnosis and native evidence provenance are recorded indocs/engineering/mobile_screenshot_paste_2026-09-14.md.Validation:
initializeChatTabfixture in Chromium 153 at 360/448/1440 pixels: real desktop clipboard upload with window-session header, preview/removal, denied-read recovery through file chooser, preserved captions and multiline text, no page errors or composer overflow. HTTP uploads are stubbed; native evidence is a separate capability trial.Merge decision: ready for the explicit recovery, at Tier 1. Physical Pixel/Chrome 152, full authenticated Von/PWA and public deployment remain unverified; this PR does not claim the Gboard toast is removed. No deployment requested.
Native task:
#V#task_agent_b61e77311c89e38adcf879ff20c995b1. Run evidence retained in.run/mobile-paste/; canonical task updates and requester reporting belong to the controller.