this post was submitted on 30 Aug 2023
3 points (100.0% liked)

Android

16888 readers
241 users here now

The new home of /r/Android on Lemmy and the Fediverse!

Android news, reviews, tips, and discussions about rooting, tutorials, and apps.

🔗Universal Link: [email protected]


💡Content Philosophy:

Content which benefits the community (news, rumours, and discussions) is generally allowed and is valued over content which benefits only the individual (technical questions, help buying/selling, rants, self-promotion, etc.) which will be removed if it's in violation of the rules.


Support, technical, or app related questions belong in: [email protected]

For fresh communities, lemmy apps, and instance updates: [email protected]

💬Matrix Chat

💬Telegram channels / chats

📰Our communities below


Rules

  1. Stay on topic: All posts should be related to the Android OS or ecosystem.

  2. No support questions, recommendation requests, rants, or bug reports: Posts must benefit the community rather than the individual. Please post to [email protected].

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos. Post memes to [email protected].

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy or unverified APKs: Do not share links or direct people to pirated content or unverified APKs, which may contain malicious code.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No offensive or low-effort content: Don't post offensive or unhelpful content. Keep it civil and friendly!

  10. No affiliate links: Posting affiliate links is not allowed.

Quick Links

Our Communities

Lemmy App List

Chat and More


founded 1 year ago
MODERATORS
 

Using Chrome, Firefox, Brave, Samsungs 'Internet' app, and every other browser I've used/tried on Android:

I'll go to select some text on a page by long-pressing on it and it'll select the word I'm touching as well as expand that selection to a somewhat random amount of additional text (usually not following any structure such as selecting a whole sentence for example).

I'll then go to adjust that selection by grabbing one of the two tabs on either end of it and the moment I do, the opposite tab jumps to a completely random spot on the page vastly expanding the selection, then the whole page scrolls to an entirely different section; Leaving me holding one end of the selection unable to see what was originally selected. I can't scroll to where I was, and If I let go and just click copy I've now copied 90%of the page to my clipboard.... Attempting to modify the selection any further yields the same lack of control and just makes things worse.

This doesn't happen everywhere, but I get these results far far more often than a successful copy+paste. Like just now trying to copy an address from a local transit guide.

I end up having to drop the paste into a notepad app, reselect the bit I actually wanted (if it even made it into the pile of garbage I was forced to grab) then delete the note once I'm done.

This is fucking stupid and I hate it. Rant over. Thank you for listening.

/edit: I don't have the power to pin a comment, but [email protected] has a great solution: Use the rectangle select tool in androids 'Edge Panel' (must be enabled in settings), then press the 'T' button to copy text from the area you've selected.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 10 months ago (1 children)

All I can say is that it is kinda cathartic that someone other than me is experiencing this nightmare.

Also, this pages where it is impossible to select any text at all.

[–] [email protected] 1 points 10 months ago (1 children)

Also, this pages where it is impossible to select any text at all.

On android, you can still select text on those pages from the switch apps screen (swipe up from the bottom, hold, then release on Pixels). Found that workaround on accident lol

[–] [email protected] 1 points 10 months ago

That seems to be OCR based though. Sometimes when I do it like that I get complete gibberish

[–] [email protected] 1 points 10 months ago
  1. Phones are imprecise. There's a reason Google recommends 48x48 pixels[1] as a touch target. Text on a page is much smaller than that.
  2. Web pages are funky. You can write text as <p>It's gonna be hot today!</p> but in Modern™ Reactive™ Web Frameworks, you'll end up with <div><div><p><span>It's gonna be</span><span>hot</span><span>today!</span></p></div></div>. Things get much worse when images get involved, or when (SVG) icons get inserted, or when panels start floating over each other, or when someone uses ::before or :;after to add units. Browsers try to make all of this flow like a single block of text, but it's not easy.
  3. It's very difficult to detect if you intend to select a floating block to the left, or if you accidentally dragged the selection knob too far over. As far as the browser is concerned, both contain text, even if that text is probably hidden.
  4. Articles get broken up with non-flowing blocks all the time, mostly because of ads.
  5. Have you subscribed to our newsletter yet? Well, regardless, there's this floating block of HTML that's ready to strike as soon as you've scrolled more than 30% down. No, the browser doesn't know it's hidden, that would make it too easy to block!

My personal solution: drag the text up into view, then swipe up for the task switcher, then use the Google Lens style text selection that's built into the task switcher to select the text. It's using OCR rather than browser parsing and that's generally more reliable (though it makes mistakes with some fonts and is quite suboptimal for battery life).

[1]: the exact pixel count depends on the DPI of you phone, these are "CSS pixels"