Skip to content

[Bug]: Swiping to the next sent image hides its share menu on Android #41017

Closed

Description

@StiensWout

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/mobile

Steps to reproduce

  1. On an Android phone emulator paired to a host, open a thread.
  2. Attach two PNG images to a single message.
  3. Send the message.
  4. Wait until the message is delivered and both thumbnails appear.
  5. Tap the first thumbnail to open the full-screen gallery.
  6. Swipe left to the second image.
  7. Check the gallery header beside the close button.

Expected behavior

The second image has the same Media actions menu as the first image, including Share.

Actual behavior

The second image opens, but its Media actions button disappears. Closing the gallery and tapping that same image's thumbnail brings the button back.

First image with Media actions

Second image after swiping

Second image reopened from its thumbnail

Share after reopening the second image

Recording of attachment and gallery flow

Impact

Major degradation or frequent failure. Android users lose the share controls whenever they reach another delivered image attachment by swiping instead of opening its thumbnail.

Version or commit

main at bc13afaa3c. The cause is at apps/mobile/src/features/threads/messageImageGallery.ts:18.

Environment

Pixel_9_API_37, Android 17.0, Android Emulator on Linux x64.

Logs or stack traces

Commands that reproduce it on the device
agent-device press 'role=button label="New thread"' --settle
agent-device snapshot -i --force-full
agent-device press @e10 --settle
agent-device snapshot -i --force-full
agent-device record start "$PWD/captures/gallery-swipe.mp4" --scope device --hide-touches
agent-device press 'role=button label="Add attachment"' --settle
agent-device snapshot -i --force-full
agent-device press @e2 --settle
agent-device snapshot -i --force-full
agent-device snapshot -i --force-full
agent-device press @e8 --settle
agent-device snapshot -i --force-full
agent-device press @e11 --settle
agent-device snapshot -i --force-full
agent-device press @e18 --settle
agent-device snapshot -i --force-full
agent-device press 'role=button label="Send"' --settle
agent-device snapshot -i --force-full
agent-device snapshot -i --force-full
agent-device press 'role=button label="Open 271.png"' --settle
agent-device snapshot -i --force-full
agent-device screenshot "$PWD/captures/first-image.png"
agent-device swipe 900 1212 200 1212
agent-device snapshot -i --force-full
agent-device screenshot "$PWD/captures/second-image-after-swipe.png"
agent-device press 'role=button label="Close image"' --settle
agent-device press 'role=button label="Open 272.png"' --settle
agent-device screenshot "$PWD/captures/second-image-reopened.png"
agent-device press 'role=button label="Media actions"' --settle
agent-device snapshot -i --force-full
agent-device screenshot "$PWD/captures/second-image-share-menu.png"
agent-device record stop

Workaround

No response

Activity

  1. added
    vouch:trusted
    on Nov 22, 2026
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:trusted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions