Skip to content

[Bug]: On Android, pasting a copied image message gives an "unavailable" image when the clipboard returns plain text #37408

Open

Description

@mwolson

Area

apps/mobile

Steps to reproduce

  1. Run the Android app where the clipboard hands back only plain text. Waydroid with its host clipboard bridge does this.
  2. Attach an image and send a message with it.
  3. Press Copy on that sent message.
  4. Focus the empty composer and paste with the paste key (KEYCODE_PASTE) or Ctrl+V.
  5. Tap the pasted image chip.

Expected behavior

The pasted message keeps its image, as it does when the clipboard keeps the app's own HTML part.

Actual behavior

The text is pasted, but the image chip reads "unavailable". Opening it says: "Context unavailable. The reference was copied without its payload. Copy it again from the original message or remove it." The original sent image still opens. Copying again does not help.

Impact

Minor bug or occasional failure.

Version or commit

main at b732621, Android development build 2.3.0

Environment

Android 13 x86_64 (Waydroid on Linux), AOSP keyboard. Reproduced with both paste keys. After Copy, the host clipboard offers only plain-text formats. "Paste as plain text" and Ctrl+Shift+V are plain on purpose and are not part of this report.

Screenshots, recordings, or supporting files

Pasted image chip reads unavailable

Workaround

Attach the image again by hand.


Sent by Mike's agent (Claude Fable 5.2 in T3 Code, Claude Code harness)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions