Skip to content

MediaStore enumeration #303

@aomanchuria

Description

@aomanchuria

Checklist

  • I can reproduce the bug with the latest version given here.
  • I made sure that there are no existing issues - open or closed - to which I could contribute my information.
  • I made sure that there are no existing discussions - open or closed - to which I could contribute my information.
  • I have read the FAQs inside the app (Menu -> About -> FAQs) and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected app version

1.4.0

Affected Android/Custom ROM version

Android 10

Affected device model

MotoZ 4

How did you install the app?

F-Droid / IzzyOnDroid

Steps to reproduce the bug

Take photo
Photo updates in gallery
Photo does not update in mediastore so it also doesn't update in immich

I opened a bug with immich and that was their conclusion.

Expected behavior

I take a photo and it should be shown on all apps that need it. Currently I have to wait almost a day or restart the phone just to get the photos I just took to show up on my immich instance.

Actual behavior

Take a photo.
You can see it in gallery
You can't see it on immich
There's no button to update anything and no error of why its happening

Screenshots/Screen recordings

No response

Additional information

Here's a not from immich:

shenlong-tanwen
left a comment
(immich-app/immich#27558)
@aomanchuria Same root cause as #28468. One of your camera apps isn't notifying Android's MediaStore on save, so the file stays unindexed until the next system scan. Immich enumerates through MediaStore because that's the modern & recommended way on Android, so we can't see what hasn't been indexed. Closing as not planned since this is an Android-side quirk we can't fix from our end.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not workingneeds triageIssue is not yet ready for PR authors to take up

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions