Skip to content

fix(thumbnail): pending files - #18154

Open
daniele-verducci wants to merge 1 commit into
masterfrom
fix/wrong-thumbnail-remote-operation
Open

daniele-verducci wants to merge 1 commit into
masterfrom
fix/wrong-thumbnail-remote-operation

Conversation

@daniele-verducci

@daniele-verducci daniele-verducci commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Repro:

  • Use a folder with different file kinds inside (like image, external storage...)
  • Turn off the internet
  • Upload a non-image file into it (like a text file)
  • Icon is from one of the other files (e.g. an image thumbnail or an external storage icon)

Rationale:
For pending operation files the icon was set only if it's an image, so for e.g. text files, if the view was recycled, you saw the older icon from the previously displayed file.

🖼️ Screenshots

🏚️ Before 🏡 After
Screenshot_20261127_110641 image

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI (N/A)

Signed-off-by: daniele-verducci <daniele.verducci@nextcloud.com>
@daniele-verducci daniele-verducci added this to the Nextcloud App 35.2.0 milestone Nov 27, 2026
@codecov

codecov Bot commented Nov 27, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 1 line in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...extcloud/utils/thumbnail/FileThumbnailGenerator.kt 66.66% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@github-actions

Copy link
Copy Markdown

📱 QA build

Download app-qa-debug.apk
QR code Open the QR code for this download
Commit 6ff0012
Version 18154
Available until 7 days after this build

The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.

Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.

@github-actions

Copy link
Copy Markdown

SpotBugs

CategoryBaseNew
Bad practice2222
Correctness4040
Dodgy code106106
Experimental11
Malicious code vulnerability11
Multithreaded correctness1313
Performance1717
Security1515
Total215215

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant