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

previews broken for non-supported file types #14106

Closed
schiessle opened this issue Feb 11, 2015 · 8 comments · Fixed by #12546
Closed

previews broken for non-supported file types #14106

schiessle opened this issue Feb 11, 2015 · 8 comments · Fixed by #12546

Comments

@schiessle
Copy link
Contributor

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.

snapshot1

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?

@georgehrke
Copy link
Contributor

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.

I guess this will be fixed with @oparoz 's pr: #12546

concerning versions: can you please respond to #10559

@schiessle
Copy link
Contributor Author

@georgehrke great, sounds like the PR will fix the issue!

@schiessle
Copy link
Contributor Author

will be fixed with #12546

@PVince81
Copy link
Contributor

#12546 seems to have issues, so unlikely to be finished for 8.1.

Defer to 8.2 ?

@PVince81
Copy link
Contributor

issues as in "API-breaking issues" and might need a full rethink.

@oparoz
Copy link
Contributor

oparoz commented Jun 18, 2015

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.

@georgehrke
Copy link
Contributor

@oparoz Do you want to add the empty space around the actual preview?

@oparoz
Copy link
Contributor

oparoz commented Jun 18, 2015

Around the mime icon, yes, as a stop-gap measure. The only clients which will get them are the mobile clients.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
6 participants