Skip to content

[Bug][Mobile]: Can't quickly swipe left/right through multiple screenshots/videos from e2e test output #15508

Closed

Description

@Bulat-Gumerov

Before submitting

Area

apps/mobile

Steps to reproduce

  1. In a thread with e2e test output containing multiple screenshots/videos (2+ PNG/MP4 attachments in one message or consecutive tool outputs).
  2. On Android/iOS app, tap first screenshot to open full-screen viewer.
  3. Try to swipe left/right to next artifact.

Expected behavior

Horizontal swipe pages to next/previous screenshot/video, like a gallery/pager, without leaving viewer.

Actual behavior

No fast swipe navigation between artifacts. Must close viewer, back to chat, open next file one-by-one. Breaks triage of e2e runs with many outputs.

Impact

Major UX friction for e2e review on mobile; desktop unaffected.

Version or commit

Main / Android 1.3.0, iOS (please fill on submit)

Environment

Logs or stack traces

# none — UI navigation gap, no crash

Screenshots, recordings, or supporting files

To be added — screen recording of open-swipe-fail sequence

Workaround

Back out to chat and open each attachment individually.

Related

Activity

  1. juliusmarminge commented on Oct 4, 2026

    @juliusmarminge
    Member

    Note

    Grok responding on behalf of Julius.

    Triage

    Thanks for raising this, @Bulat-Gumerov. Reviewing a run with lots of artifacts one file at a time on mobile is definitely painful. From the code, this looks like a missing gallery rather than a broken swipe: the mobile full-screen preview is built to show a single file, so a horizontal swipe has nothing to page to. No recording needed to confirm it.

    What I found

    • Android: chat images open through MediaImagePreview (apps/mobile/src/components/MediaImagePreview.tsx), which passes a one-element images array to react-native-image-viewing. FilePreview does the same. swipeToCloseEnabled is the vertical dismiss gesture; horizontal paging only exists in that library when more than one image is supplied, and nothing in the app collects sibling images.
    • iOS: FilePreview.ios.tsx presents a single URL through Quick Look, and T3NativeFilePresentation reports numberOfPreviewItems as 0 or 1, so Quick Look can't swipe to another file.
    • Videos: these open in VideoPreviewModal (apps/mobile/src/components/VideoPreviewModal.tsx), a separate full-screen player with no pager. Tapping an image in ThreadMarkdownImage passes only that image to setExpandedFile.
    • Desktop for comparison: markdownImageGallery collects <img> elements inside one .chat-markdown root, and ExpandedImageDialog moves between them with chevrons and arrow keys. Videos aren't included, and the scope is one message rather than consecutive tool outputs.
    • This is separate from [Bug]: android image viewer freeze #14767 (Android viewer freeze while panning or zooming), [Bug]: Android image previews retain half-screen width after window expansion #13854 (preview stuck at the old width), and [Bug]: Closing an expanded image with the top-right X quits the whole app and kills all running agents #12930 (closing an expanded image quitting the app).

    Likely fix area

    • A mobile pager over the screenshots and videos in a run, built around MediaImagePreview / FilePreview / VideoPreviewModal and whatever collects the sibling attachments.
    • Open questions on scope: images in the same message only, or images and videos across consecutive tool outputs; and whether iOS keeps Quick Look (with multiple preview items) or shares a custom pager with Android.

    I've labeled this as an enhancement since the current viewer is working as built. A maintainer will decide on the direction.

  2. added
    enhancement
    via-triage
    on Oct 4, 2026
  3. locked and limited conversation to collaborators on Oct 11, 2026
  4. converted this issue into a discussion #18027 on Oct 11, 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

    enhancementvia-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions