memories
memories copied to clipboard
Inconsistency when editing date/time metadata of same 'opened' file multiple times
Describe the bug Editing date/time metadata of the same file multiple times results in editing the metadata of other files. I guess this happens because after changing the date/time metadata of a file, the order of the files is immediately changed, but apparently not in the 'slideshow' view?
To Reproduce
- Go to a folder with multiple photos
- Open the last photo
- Click on the 'i' in the top right to open the side panel
- In the side panel edit the date/time
- In the side panel edit the date/time again (you should see the date/time you entered in step 4, so this looks fine)
- In the side panel edit the date/time a third time (you now see the date/time of the new last photo in the folder; when you save it you have actually edited the metadata of this new last photo instead of the original photo that you openend and are still seeing on screen!)
Platform:
- OS: Ubuntu
- Browser: Firefox
- Memories Version: 7.3.1
- Nextcloud Version: 28.0.5
- PHP Version: 8.2.19
Additional info: A same kind of problem happens when you move to the next/previous photo after editing the date/time metadata and also start to edit its date/time metadata.
Fixing this is non-trivial but at least the displayed photo should be the correct one with https://github.com/pulsejet/memories/commit/bb1e8612ee3ced849b916ee1fb3fc2e825ef891a.