pulsejet / memories

Fast, modern and advanced photo management suite. Runs as a Nextcloud app.
https://memories.gallery
GNU Affero General Public License v3.0
3.21k stars 87 forks source link

Editing geolocation when identical file de-duplication is enabled only edits one image #1299

Open freundTech opened 2 months ago

freundTech commented 2 months ago

Describe the bug

When "De-duplicate identical images" is turned on and one tries to edit the geolocation of an image that has a duplicate only the geolocation of one of the copies is changed. This causes the image to still appear in the list of images without location.

Steps To Reproduce

  1. Go to Memories -> Settings
  2. Turn on "De-duplicate identical images"
  3. Upload a image without geolocation twice.
  4. Go to Memories -> Places -> Files without location
  5. The uploaded image should only be displayed once because de-duplication is enabled
  6. Select the image
  7. Go to ... -> Edit Metadata
  8. Set a geolocation
  9. Click "Save"
  10. The image still appears in Files without location
  11. Looking at the files in the file browser instead of the Memories app reveals that only one of the two images was tagged.

Platform

- OS: Fedora 40
- Browser: Firefox 130.0.1
- Memories Version: 7.4.1
- Nextcloud Version: Nextcloud Hub 8 (29.0.5)
- PHP Version: 8.2.22

Screenshots

No response

Additional context

No response