elementary / elementary/photos
Photo Viewer can't open certain panorama jpegs
- Dominant language
- Vala
- Stars
- 104
- Forks
- 40
- Avg merge
- 2d 39m
- Merged PRs (30d)
- 1
Description
## Prerequisites
- [x] I have searched open and closed issues for duplicates.
## Describe the bug
When opening certain image files, the image pane stays black.
### To Reproduce
Steps to reproduce the behavior:
1. Download this photo: https://treescloud.online/s/doXKikA8eDSwPfw
2. Open with Photo Viewer
### Expected behavior
The image should be visible.
### Screenshots or screen recordings

### Logs
Can't provide any logs at this time since I don't even know which executable to run from the command line. :man_shrugging:
## 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
It seems most programs can't deal with this type of file. GIMP can do it though.
This might be helpful:
```sh
$ file 20180708_180524.jpg
20180708_180524.jpg: JPEG image data, Exif standard: [TIFF image data, little-endian, direntries=13, height=2128, manufacturer=samsung, model=SM-G935F, orientation=upper-left, xresolution=222, yresolution=230, resolutionunit=2, software=G935FXXU2ERE8, datetime=2018:07:08 18:05:24, GPS-Data, width=6368], baseline, precision 8, 6368x2128, frames 3
```
Contributor guide
Research direction
The issue names no source file, test, or executable. Start by reproducing the failure with the linked panorama JPEG and tracing the Photo Viewer image-loading entry point; done means the supplied file renders instead of showing a black pane and a regression test covers it.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100