https://www.justice.gov/epstein/files/DataSet 9/EFTA01249734.pdf

This link drove me nuts last night, until I stopped tapping the link in Jerboa and instead copy/pasted the link directly into Fennec web browser.

If this bug has been resolved in a newer version of Jerboa, well just let me know and I’ll make a point to update later.

  • Binette@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    3 hours ago

    Jerboa doesn’t handle PDF URIs directly. It only handles links related to Lemmy. It offloads that responsibility to your browser. It could have something to do with your android settings.

    For more context, here is the file that has the functions that handles link opening in the github source code: https://github.com/LemmyNet/jerboa/blob/main/app/src/main/java/com/jerboa/Utils.kt

    The functions of interest are openLink and openLinkRaw.

  • Telex@sopuli.xyz
    link
    fedilink
    arrow-up
    1
    ·
    3 hours ago

    Jerboa seems to be so many kinds of broken and hasn’t released an update in months. It’s not looking good.

  • Dessalines@lemmy.mlM
    link
    fedilink
    arrow-up
    3
    ·
    14 hours ago

    This is an issue with android file handling, not jerboa. You linked something that has a pdf uri, but isn’t actually a pdf.

      • Dessalines@lemmy.mlM
        link
        fedilink
        arrow-up
        3
        ·
        13 hours ago

        Go to android settings > default apps > opening links > and unclick wps office or whatever it’s opening in

          • Binette@lemmy.ml
            link
            fedilink
            arrow-up
            1
            ·
            2 hours ago

            It might be a little different. Try Settings-> Apps & Notifications -> Advanced -> Default apps

            • over_clox@lemmy.worldOP
              link
              fedilink
              arrow-up
              1
              ·
              50 minutes ago

              On my Android 11 devices, I don’t have any overall Default Apps menu, I get ‘Open By Default’ in the individual app settings on a per-app basis. So yeah that makes configuring apps extra fun ya know… /s

              Either way, Fennec is configured as my default browser, and WPS Office isn’t configured for default anything. Hell, I don’t even use WPS Office, the app is just there as it came with my tablet.

    • over_clox@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      13 hours ago

      Ok. When I copy and paste the link outside of Jerboa, it works just fine and exactly as expected.

      But to tap the link here in Jerboa, it finds their HTML redirect shit to ask if I’m 18 or over, but since it’s not actually a PDF document, it errors out and says Invalid Format.

      This is NOT an Android issue, this is indeed a Jerboa issue, as I can simply copy/paste the link into a web browser and it just works, as expected.

      But tapping the link within Jerboa tries to force-feed an HTML age verification page through a PDF link, which apparently messes up the whole show…

  • einkorn@feddit.org
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    15 hours ago

    Are you sure this is an actual issue with Jerboa?

    Cause clicking a link in the app opens your default app for this type of link. An HTTP(S) link is typically handled by your default browser. Which browser have you selected in your phone’s Settings > Apps > Default Apps > Browser?

    Edit: Almost forgot: I can’t reproduce the error. Clicking the link in the app opens my browser correctly.

    • over_clox@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      15 hours ago

      My default web browser app indeed is already set to Fennec. But that’s not what Jerboa tries to open for web links ending in .PDF

      Jerboa is apparently using WPS Office to try to open it, which isn’t even set as a default app for anything in the first place 🤷

      • einkorn@feddit.org
        link
        fedilink
        arrow-up
        5
        ·
        15 hours ago

        Well, this certainly sounds like an issue with how your phone handles links to PDFs and not Jerboa itself.

        In the Default Apps settings is a sub menu called Opening Links which lists apps which are able and/or allowed to open specific types of links. See if there is an entry for WPS Office and check for something like *.pdf. Next check if there is a setting in Fennec for how to handle PDFs.

        • over_clox@lemmy.worldOP
          link
          fedilink
          arrow-up
          2
          ·
          14 hours ago

          Been there, tried that. No dice, WPS Office isn’t set to default open anything.

          Jerboa is apparently forcing that itself.

  • mannycalavera@feddit.uk
    link
    fedilink
    arrow-up
    4
    ·
    17 hours ago

    I’m not sure I understand your issue. You’ve linked a PDF. Why wouldn’t Jerboa open a PDF as… you know… a PDF?

        • trashcan@sh.itjust.works
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          15 hours ago

          That is fascinating and if I was more paranoid I would say it’s also suspicious lol. I’m joking. I’m sure numatic and dessalines are overall more happy that so many tools have popped up over the past few years.

          Edit: also, this totally reaffirms my decision to go through the effort to make it an instance agnostic link.

          • over_clox@lemmy.worldOP
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            15 hours ago

            Yeah, I’m long past any Google paranoid suspicions, it’s gotta be within Jerboa and not necessarily recognizing the true document type before proceeding… 🤷

            At least I figured out loosely what’s up and a workaround for now. Others suggest I just jump ship and start using a different Lemmy app, but I actually appreciate trying to help spot and report errors and glitches so other devs can improve their own projects, including Jerboa.

            An unreported issue is an issue that might likely never get discovered or fixed…

    • over_clox@lemmy.worldOP
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      16 hours ago

      It doesn’t start off as a PDF, it first links to an HTML page to ask if the reader is 18 or older. Only after that does it load the PDF.

      Go ahead, download the file in the link above and try to open it. It’s not at first a PDF, it’s at first an HTML, but with PDF ‘extension’

      The page has to be loaded via a web browser, not a PDF reader. But Jerboa is blindly loading the page as a PDF. When loaded via a PDF reader, all I get is ‘Invalid Format’

        • over_clox@lemmy.worldOP
          link
          fedilink
          arrow-up
          1
          ·
          13 hours ago

          I’m making an educated guess that your setup must be already logged in and taking your data cookie to confirm you’re 18+…

          I don’t really fully know though 🤷

          • rammer@sopuli.xyz
            link
            fedilink
            arrow-up
            3
            ·
            10 hours ago

            This would be wrong. When I clicked the link I got an in-app firefox window asking for age verification.

            • over_clox@lemmy.worldOP
              link
              fedilink
              arrow-up
              2
              ·
              9 hours ago

              Okay. Well please explain why Jerboa is trying to force the link into WPS Office, when it’s not the default app for anything to begin with?

              WPS isn’t my default app for anything, Fennec is my default browser. But it appears to me that Jerboa just blindly sees PDF in the URL and automatically jumps to the last registered PDF specific app, without even asking the user what app to open the link with.

                • over_clox@lemmy.worldOP
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  56 minutes ago

                  Yes I did, and WPS Office isn’t configured as default app for anything.

                  Note that today I’m gonna be on my phone for much of the day, my initial post was from my tablet, so my results and findings could possibly be different here, but I’ll duly note anything here and double check both on my phone and tablet once I get back home.