-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
previews broken for non-supported file types #14106
Comments
@georgehrke great, sounds like the PR will fix the issue! |
will be fixed with #12546 |
#12546 seems to have issues, so unlikely to be finished for 8.1. Defer to 8.2 ? |
issues as in "API-breaking issues" and might need a full rethink. |
No, no, no, it's the mobile clients who have issues and don't check what they're receiving ;). This could one day play tricks on them, but I'm going to be nice and modify the PR in order to please every one. |
@oparoz Do you want to add the empty space around the actual preview? |
Around the mime icon, yes, as a stop-gap measure. The only clients which will get them are the mobile clients. |
Affected: owncloud 7, ownCloud 8 and master
I tried this with the versions drop-down but it affects all previews we create.
The versions drop down shows previews for all supported files. But if you open the version dop-down for a file for which we can't create a preview, e.g. a odt file, the preview will be broken.
I think the preview lib should always return a useful image and fall-back to the mime-icon if it can't create a preview from the file content.
@georgehrke what do you think? Can you have a look at it?
The text was updated successfully, but these errors were encountered: