• teawrecks@sopuli.xyz
    link
    fedilink
    arrow-up
    5
    ·
    4 months ago

    Immich is a self-hosted photo hosting service. They’re listing this in their docs because people are trying to upload photos with GPS data, hitting this cursed behavior because they didn’t give immich Location access (because why would you?), and then filing unnecessary bug reports on them about their disappearing data.

    To be clear, no one is against stripping GPS data, that’s not what anyone takes issue with, it’s the silently part that is unexpected behavior.

    • flashgnash@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      I think all apps should have those explanation screens of what’s not going to work if you deny X permission and why, especially in the case of an issue like this

      It should request location access, and if it’s denied tell the user that it won’t be able to get the location data from images and give them a button to have it ask permission again

      • teawrecks@sopuli.xyz
        link
        fedilink
        arrow-up
        1
        ·
        3 months ago

        I find it to be a bit sketchy in general, because it means the OS is actually parsing and editing the actual bytes of the file contextually when an app tries to access it. Probably making a shadow copy somewhere without the GPS exif data.

        But yeah, I agree, at a minimum the OS should pop up a notification that “By default, GPS data will be stripped from the file due to inadequate location permissions” until the user either changes their preference or says “that’s fine, don’t remind me for this app”. Having it happen silently just isn’t good.

        • flashgnash@lemm.ee
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          You’re probably right but it wouldn’t be a clean implementation for the os to do it. If it was more universal and better documented app devs could just put notices in themselves

          • teawrecks@sopuli.xyz
            link
            fedilink
            arrow-up
            1
            ·
            3 months ago

            I assume it’s part of the security for the app to not even know whether the GPS data was ever there.

              • teawrecks@sopuli.xyz
                link
                fedilink
                arrow-up
                1
                ·
                3 months ago

                Yeah that’s true. Not always ideal, though. I’d prefer the option to spoof a location to the app, just to avoid dealing with apps that unnecessarily block features when you deny them location permissions.