nextcloud / nextcloud/viewer

Editor destroys all meta data of the picture

Open
#2,803 5 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature: editor
Dominant language
JavaScript
Stars
119
Forks
72
Avg merge
18h 42m
Merged PRs (30d)
24

Description

Describe the bug
Editing a photo and saving it with the embedded editor destroys all the meta data of the picture.

Same as https://github.com/pulsejet/memories/issues/174 where is was actually fixed.

To Reproduce
Steps to reproduce the behavior:

  1. Open a photo which was made with a smartphone
  2. See the meta data (time, aperture, location ...)
  3. Open the photo in the editor and just rotate is
  4. Save the photet
  5. Check the metadata again - they are all lost and only the dimensions are present.

Expected behavior
Editing a photo must not alter the meta data of the picture

Screenshots
Before editing:
image

After editing:
imagem.

Desktop (please complete the following information):
Irrelevant

Smartphone (please complete the following information):
Irrelevant

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the loss of metadata by rotating and saving a smartphone photo in the embedded editor, then trace the editor's save path. Done means edited photos retain metadata such as time, aperture, and location; the issue names no source file or test to start from.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.