Skip to content

Android: uploaded JPG screenshots show only a narrow strip at the top #18083

Open

Description

@beingkha3

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

  1. Have automatic upload enabled for screenshots, with the destination set to /InstantUpload/Screenshots.
  2. Take a screenshot.
  3. Allow the Nextcloud Android app to upload it.
  4. Open the uploaded JPG in Nextcloud and check whether the full image is visible.

This has happened with multiple screenshots over the past few days.

Expected behaviour

The uploaded JPG should display the complete screenshot and match the original file on the phone.

Actual behaviour

Some uploaded JPGs show only a narrow strip at the top. The rest of the image appears as a solid gray area, so the screenshot cannot be viewed normally.

Screenshot_2026-11-19-14-17-10-339_com nextcloud client

I have seen this with multiple screenshot files.

Android version

Android 16 (build BP2A.250605.031.A3; security update 2026-10-01)

Device brand and model

Xiaomi Poco X7 Pro (model 2412DPC0AI)

Stock or custom OS?

Stock

Nextcloud android app version

35.1.0

Nextcloud server version

33.0.11

Using a reverse proxy?

Yes

Android logs

logcatOutput-redacted.txt

Server error logs

Additional information

During the capture, several screenshot auto-upload operations completed with HTTP 204 and UPLOAD_SUCCEEDED. One retry was skipped because of a sync conflict. The log also shows repeated dataSync foreground-service time-limit exceptions and image-decoder “unimplemented” messages. It contains no explicit report of a truncated or corrupt JPEG, so it does not identify the cause of the image corruption.

Activity

  1. alperozturk96 commented on Nov 19, 2026

    @alperozturk96
    Collaborator

    @beingkha3 Hey,

    I created a PR #18085 could you please try with QA APK and share the logs?

  2. beingkha3 commented on Nov 19, 2026

    @beingkha3
    Author

    The uploaded image downloads and displays correctly, but its server-side preview or thumbnail appears obfuscated.

    I'm sorry I am a bit reluctant on sharing the logs.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions