On both the standard version and Firefox Focus (both from Play Store), when ever I try and select text to copy the page jumps around erratically. Sometimes it selects all the text on the screen, sometimes it jumps to the top of the page.

It’s become impossible to select any sections of text. Does anyone know if there is a fix for this?

thanks

  • jdnewmil@lemmy.ca
    link
    fedilink
    arrow-up
    4
    arrow-down
    3
    ·
    10 months ago

    How do you know it isn’t the web page layout? Have you tested the same page with a computer with a mouse?

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      6
      ·
      10 months ago

      This is a known problem and happens due to a combination of complex webpage layouts and using touch as input.

      The thing with touch input is that it’s not precise at all. Firefox routinely gets told coordinates which are not quite where the user intended. With normal taps, it looks around for the nearest interactive element and activates that. But with text selection, there is no interactive element to use for orientation.

      That’s not a problem when a webpage is structured like a document. Then the small imprecisions will just mean that one letter more or less is selected.
      But if the webpage is structured in such a way that elements, which are visually next to each other, are actually far away from each other in the HTML structure, that’s when it becomes a problem.
      The text selection follows this HTML structure, but the touch interpretation needs to follow the visual layout, since you may very well want to extend the selection into another HTML element.

      And so, because it’s not quite sure which pixel you’re touching, and there’s pixels next to each other which are miles away in the HTML structure, the text selection just jitters around like crazy.

      • jdnewmil@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        10 months ago

        tl;dr … it is the web page you are trying to copy from… and the operating system touch screen support… not the browser. You outta luck here… use a different OS or copy from a different web page.