memories icon indicating copy to clipboard operation
memories copied to clipboard

Inconsistency when editing date/time metadata of same 'opened' file multiple times

Open siccovansas opened this issue 1 year ago • 1 comments

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

  1. Go to a folder with multiple photos
  2. Open the last photo
  3. Click on the 'i' in the top right to open the side panel
  4. In the side panel edit the date/time
  5. In the side panel edit the date/time again (you should see the date/time you entered in step 4, so this looks fine)
  6. 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.

siccovansas avatar May 16 '24 14:05 siccovansas

Fixing this is non-trivial but at least the displayed photo should be the correct one with https://github.com/pulsejet/memories/commit/bb1e8612ee3ced849b916ee1fb3fc2e825ef891a.

pulsejet avatar May 17 '24 21:05 pulsejet