Repository navigation
Closed
Labels
vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.
Description
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
- On an Android phone emulator paired to a host, open a thread.
- Attach two PNG images to a single message.
- Send the message.
- Wait until the message is delivered and both thumbnails appear.
- Tap the first thumbnail to open the full-screen gallery.
- Swipe left to the second image.
- 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.
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 stopWorkaround
No response
Metadata
Metadata
Assignees
Labels
vouch:trustedAuthor is trusted by repo permissions or the VOUCHED list.



Activity