• pseudonym@monyet.cc
    link
    fedilink
    arrow-up
    83
    ·
    2 months ago

    Is that cursed? Seems like the right privacy-focused default behavior and good design to me

      • teawrecks@sopuli.xyz
        link
        fedilink
        arrow-up
        26
        ·
        2 months ago

        It’s cursed because it happens silently, such that you might accidentally be deleting gps data you wanted to keep without noticing, for a reason that you probably wouldn’t think to check, probably instead erroneously filing a bug on the app for doing it.

        • JackbyDev@programming.dev
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 months ago

          Unless I’m uploading pictures to cloud storage I want GPS data filed off. I’d rather have some unnecessary bug reports targeting the wrong things then stalkers showing up at my door.

          • teawrecks@sopuli.xyz
            link
            fedilink
            arrow-up
            5
            ·
            2 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
              link
              fedilink
              arrow-up
              1
              ·
              2 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
                ·
                2 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
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  2 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

    • Jolteon@lemmy.zip
      link
      fedilink
      arrow-up
      4
      ·
      2 months ago

      It’s the silently part that is the problem. If you want your personal pictures to be stored on your personal cloud, you’re a lot more likely to want location tags attached. If it just told you that it was stripping the tags, then you could disable it for certain apps, Rather than not noticing until you already deleted the original images from the phone.

  • AbraNidoran@beehaw.org
    link
    fedilink
    arrow-up
    26
    ·
    2 months ago

    So if I download an image from the web with GPS data, and then open it in an app that just reads images (so it doesn’t need location permissions)… That app (on some phones) gets a modified version of the file?

    Which could make me think that the image doesn’t have location information.

    Which could result in me uploading that file using a browser (that does have location permission turned on) to a website, and I think it’s safe to share because there’s no private information in the image, but my phone has conspired to mislead me.

    Yes, that is cursed.

    • Michal@programming.dev
      link
      fedilink
      arrow-up
      14
      ·
      2 months ago

      I’m also worried that this is why gallery apps would require GPS location just for viewing photos (and their Metadata). Once gallery app has the permission, it can track your location in real time. It’s like this should be a separate permission rather than bundled together.

      • GenderNeutralBro@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        I agree completely.

        I understand the motivation here — apps that lack location permission shouldn’t be able to get backdoor access to your location via your camera roll. That makes sense, because you know damn well every spyware social media company would be doing that if they could.

        But the reverse is also true: apps that legitimately need to read photos and access all their metadata shouldn’t need to be granted full location access.

        • intensely_human
          link
          fedilink
          arrow-up
          1
          ·
          2 months ago

          Ooh that’s a good point. Any recent image’s location would give a probabilistic location for the user.

      • intensely_human
        link
        fedilink
        arrow-up
        1
        ·
        2 months ago

        Yes. The System’s current location is very much a different scope than a particular asset’s location tag.

        In real life I mean. They should totally be separated in terms of permissions.