immich-app / immich

High performance self-hosted photo and video management solution.
https://immich.app
GNU Affero General Public License v3.0
51.42k stars 2.72k forks source link

bug(mobile): Immich doesn't respect file datetime of images outside default gallery folder #12782

Open waclaw66 opened 1 month ago

waclaw66 commented 1 month ago

The bug

I've migrated to a new android phone using Samsung SmartSwith. All images were successfuly transfered to a new phone, however Immich shows all images outside default /DCIM/Camera folder under a single date bucket of the current date. Those are from /DCIM/Screenshots, /Pictures, /Snapseed, etc. Backup is disabled, and backup album selected to Recent.

The OS that Immich Server is running on

Fedora 40

Version of Immich Server

v1.115.0

Version of Immich Mobile App

v1.115.0

Platform with the issue

Your docker-compose.yml content

not relevant

Your .env content

not relevant

Reproduction steps

1. 2. 3. ...

Relevant log output

No response

Additional information

No response

alextran1502 commented 1 month ago

Interesting, can you export a sample file and attached it here?

waclaw66 commented 1 month ago

I don't think it's caused by file content, but attributes, probably file creation date in the filesystem. I can reproduce this issue, I've deleted all app data and set it up again and those images appear in the same date bucket (yesterday). The next thing is why those are shown anyway? I thought that only assets from selected backup folders should be shown. Wasn't the behaviour changed recently?

20230615_060945.zip

Screenshot_20240919_083514