allusion-app / Allusion

A free and open source desktop application for managing your visual library
GNU General Public License v3.0
680 stars 44 forks source link

Modify dates and dropbox #608

Open DashDot-Dash opened 1 year ago

DashDot-Dash commented 1 year ago

Describe the bug Include all file modification dates to get around dropbox sync behaviour and sorting images.

To Reproduce Steps to reproduce the behavior:

  1. put everything on dropbox
  2. allow to sync over multiple devices
  3. all additional devices use the download/sync date/time to the local device as create and change date (normal behaviour for new synced file) but it also keeps the original creation date in the modified date information
  4. Allusion uses imported/created and modified information but none of these reference the original file creation date and they all become the date and time the file was created via syncing.

I'd really like to be able to sort images chronologically over multiple device but the Modified field seems to be reading the Inode change time not the modified time.

Image file example File freshly synced by dropbox to another machine

Allusion info panel Imported: 05/10/2023 19:22 Created: 05/10/2023 19:22 Modified: 05/10/2023 19:22

File info via stat Access: 2023-10-05 19:22:47.363126747 +1100 Modify: 2023-08-12 23:28:40.000000000 +1000 <------want this one! Change: 2023-10-05 19:22:47.059129272 +1100 Birth: 2023-10-05 19:22:35.015231252 +1100

File info via exiftool File Modification Date/Time : 2023:08:12 23:28:40+10:00 <------want this one! File Access Date/Time : 2023:10:05 19:22:47+11:00 File Inode Change Date/Time : 2023:10:05 19:22:47+11:00

Allusion version

Desktop OS Ubuntu 22.04

Additional context I've learnt a lot about dropbox syncing and creation vs modification dates! But it would be great to be able to access the original creation date via the modification date on synced devices. Thanks for making allusion. i love it but was surprised when my secondary sync computers started organising the files strangely.

rafstahelin commented 1 year ago

Have you managed to sync tags across your devices?

DashDot-Dash commented 1 year ago

By uploading the tag info from allusion? I was a bit reluctant to because I wasn’t sure which other metadata it might wipe out. Is it just the keyword field used by Allusion. Or does it remove other metadata?