• Immich always asks for confirmation when deleting an image on android. How can I disable that behavior?
  • why is there no delete button for images/videos that are not yet uploaded? It’s annoyng to upload a huge video just to delete it. Why does the UI change dependent on the local/server status?

OS: grapheneos

      • AcornTickler@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        6
        ·
        4 days ago

        Oh, right, sorry. I didn’t want to delete the app and reinstall it to find out which permission it was, so I just guessed from its existing permissions.

        On my device the relevant toggle is located in Apps > Special app access > Media management apps.

          • AcornTickler@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            4
            ·
            4 days ago

            Weird. When I disabled that setting Immich started asking twice for deleting images. I turned it back on and it went back to normal.

            Edit: I think I misunderstood your original question. Do you want Immich to not ask for confirmation at all when deleting things?

            • illusionist@lemmy.zipOP
              link
              fedilink
              English
              arrow-up
              3
              ·
              4 days ago

              Yes! There is a trash in case I need an image back. At leats it should only ask once per session, not for every single image.

  • Homelabista@mastodon.social
    link
    fedilink
    arrow-up
    4
    ·
    4 days ago

    @illusionist Went digging in their repo instead of guessing.

    Immich’s AndroidManifest caps READ_EXTERNAL_STORAGE at maxSdkVersion=32. Android’s own MANAGE_MEDIA docs list that permission as one you have to declare for the no-prompt path, and on 13+ it’s never granted.

    Their string for the permission also says it’s for “moving assets to the trash and restoring them”. Trash, not delete. Between those two, I’d stop expecting that toggle to do anything.

    • illusionist@lemmy.zipOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 days ago

      Wow, thank you! Although I’m not sure about the conclusion. I guess the devs are fully aware of the situation since they also use immich themselves. Maybe they always upload their images immediately so that they don’t focus on the situation in which the media is unsynced.

      • Homelabista@mastodon.social
        link
        fedilink
        arrow-up
        3
        ·
        3 days ago

        @illusionist Maybe it’s not that they don’t notice. Android’s own doc says an app on 11+ that isn’t the default gallery has to show that dialog every single time, and the one way out asks for MANAGE_MEDIA and READ_EXTERNAL_STORAGE together. From 13 onward you request READ_MEDIA_IMAGES/VIDEO instead of READ_EXTERNAL_STORAGE, and Immich’s manifest caps that one at maxSdkVersion 32. On GrapheneOS the pair can’t exist. Nothing the devs can do.