Skip to content

[Bug] PDF viewer fails to render on Chrome mobile (Android) — shows download prompt instead of preview #2298

@z0rg0n

Description

@z0rg0n

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

The built-in pdf-viewer app fails to render PDFs on Chrome for Android. Instead of displaying the PDF inline, it shows a UUID-style filename and an "Open" button that triggers a download.

The same PDFs render correctly in:

  • Firefox on the same Android device
  • Chrome on desktop
  • Firefox on desktop

I've tested it on multiple pdfs with text and images.
Android version 16

#1896 — Similar report (PDF preview broken), but was closed. The mobile Chrome case does not appear to have been addressed.

Reproduction Steps

  1. Open the OpenCloud web UI in Chrome on Android version 16
  2. Navigate to any PDF file
  3. Click to open the PDF — the pdf-viewer app loads
  4. Instead of rendering, a UUID and "Open" button are shown

Expected Outcome

PDF renders inline in the pdf-viewer, as it does on desktop browsers and Firefox mobile.

Actual Outcome

PDF does not render. A blob UUID is displayed with a button that triggers a download.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions