elementary / elementary/photos

Photo Viewer can't open certain panorama jpegs

Open
#562 0 comments 0 reactions 0 assignees View on GitHub
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
![Screenshot from 2020-04-10 00 09 47](https://user-images.githubusercontent.com/5802758/78945043-a5f72080-7abf-11ea-9dce-d00ed33d2781.png)

### 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
![Screenshot from 2020-04-10 00-19-47](https://user-images.githubusercontent.com/5802758/78945596-0044b100-7ac1-11ea-866b-5a152bc06451.png)

- [ ] 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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.