Inconsistent shadow behaviour for some documents and images
- Dominant language
- Vala
- Stars
- 365
- Forks
- 82
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 3
Description
## Prerequisites
- [x] I have searched open and closed issues for duplicates.
## Describe the bug
Some document and image formats exhibit inconsistent behaviour in regard to dropping shadows in Files view. The odd formats include: DJVU, EPS, ODG, XCF.
The particular issues I found:
- Djvu documents drop shadows with generic icon, with checkerboard background underneath.
- EPS images/documents(?) drop shadows, but they don't render image, just show a generic icon. Checkerboard background depends on transparency (I think).
- ODG image (LibreOffice Draw project) renders image but doesn't drop shadow.
- XCF image (GIMP project) drops shadow with checkerboard background, but shows icon instead of rendering image.
This is regardless of the view - columns, list, and icon views all have this problem. PDF or postscript (PS) documents don't do this. Note that encapsulated PS, aka EPS, do drop shadows, but they are mostly used as image format, not document format, particularly for vector graphics, so I guess the shadow is fine. But it would be better if it rendered the image instead of showing generic icon.
### To Reproduce
Steps to reproduce the behavior:
1. Navigate to folder with any DJVU document or EPS image in Files.
2. There!
### Expected behavior
- DJVU documents don't drop shadows nor checkerboard background.
- EPS images should render images instead of generic icon, or shouldn't drop shadow with checkerboard background.
- ODG should drop shadow.
- XCF should either render image or not drop shadow & checkerboard.
### Screenshots or screen recordings

## Platform Information

- [ ] I'm using the latest version from git that I've manually compiled
- [x] I'm using the latest released stable version
## Additional context
Note that these formats by default open in Evince as documents: PDF, DJVU, PS, EPS. First three are considered document formats while EPS is mostly used for vector graphics. PDF and PS are also sometimes used for graphics. I have never seen DJVU file be anything else than ebook though.
Related bug reports: https://github.com/elementary/files/issues/570 and https://github.com/elementary/switchboard-plug-pantheon-shell/issues/131
Contributor guide
Assessment
This issue has not been assessed yet.