Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix thumbnails for new files made while client open #4428

Merged
merged 1 commit into from
Apr 19, 2022

Conversation

claucambra
Copy link
Collaborator

@claucambra claucambra commented Apr 11, 2022

Previously, we would try to pull thumbnails for local changes made while the client was open. If this change was the creation of a new file, we would try to pull the thumbnail from the server before the thumbnail had been created there, leaving us with a blank square rather than the icon that we want.

This PR fixes this behaviour, ensuring that new files get an icon instead of a blank square

@mgallien
Copy link
Collaborator

/rebase

Signed-off-by: Claudio Cambra <claudio.cambra@gmail.com>
@nextcloud-desktop-bot
Copy link

AppImage file: Nextcloud-PR-4428-7b65c1ceedd70efa4e8e6af24ee9727d3b4d4a5e-x86_64.AppImage

To test this change/fix you can simply download above AppImage file and test it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarcloud
Copy link

sonarcloud bot commented Apr 19, 2022

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

76.7% 76.7% Coverage
0.0% 0.0% Duplication

@claucambra claucambra merged commit ad161f9 into master Apr 19, 2022
@claucambra claucambra deleted the bugfix/new-thumbnails branch April 19, 2022 09:03
@mgallien mgallien added this to the 3.5.0 milestone Apr 29, 2022
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.

4 participants