• Zizzy@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 hours ago

    No program or app should have any ability to alter or interfere with a screenshot. The “security feature,” to abuse copyright is a security flaw.

  • grue@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 hours ago

    If I’m taking a screenshot, it’s because I want to accurately preserve what I’m seeing. Doing anything, clever or not, to alter that is a breach of trust.

    Doing it for the purpose of branding/advertising, of all things, only adds insult to injury.

  • db2@lemmy.world
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 hours ago

    so I don’t expect it to be patched by Apple any time soon

    Why would they patch it? It’s working as expected.

  • Zarobi@aussie.zone
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    10
    ·
    6 hours ago

    This is exploiting an edge case behaviour of a security feature. At a programming level, this is bad code, and will break at some point, possibly in an ugly way. I also don’t like the idea of apps being sneaky and hiding behaviour from users.

    I use Voyager, and there’s a button “share as screenshot / image”, which allows you to include a watermark, and shows you exactly what the end result will look like. Just do something like that instead?

    • BassTurd@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      arrow-down
      1
      ·
      3 hours ago

      It’s not bad code, it’s just code you don’t like. Unless there is a major overhaul with the security package they are using, that could cause issues, but that’s not likely going to happen because huge security changes mean legitimate implementations break as well. As for hiding it from users, this is an open source app. The code is literally available for anyone to view. If someone is unable to parse it out, that’s on them.

      • Zarobi@aussie.zone
        link
        fedilink
        English
        arrow-up
        0
        ·
        18 minutes ago

        Did you actually look at how it’s implemented in the linked GitHub thread?

        How it works is it takes the child view, and stuffs it into the password field. iOS automatically hides the password content (the dots) in screenshots, so by stuffing the view into there it gets hidden in screenshots. I then added the logo, and absolutely positioned the follow button on top of it. when the button is hidden, the watermark is revealed!

        Absolute positioning layering hacks based on a quirk of how iOS currently handles child nodes of password fields when the dots would push content out of the parent node in screenshots. The filename of this feature is literally called “growth-hack”. I dunno what else to tell you man, but if you like it, I’m happy for you. But it’s clearly bad code.

        As for the second part of your comment; normal users don’t look at source code. That argument means nothing in this context.

      • Serinus@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 hours ago

        https://xkcd.com/1172/

        Is what he’s referring to. If they’re not using the feature in the intended way, it’s likely to break in the future. Though the consequences of it breaking are what, they don’t brand your screenshots?

        • Zarobi@aussie.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          26 minutes ago

          The consequences could be anything, that’s the problem with unintended usage of features. Could be an ugly black box drawn on screen. Could be nothing. Could something subtle like the follow button doesn’t work anymore because the invisible logo now blocks tap events.