top | item 47005106

(no title)

bobbylarrybobby | 16 days ago

Select all always appears if you have no text selected and never appears if you have some text selected. Insane UI decision by apple but that's how it is.

discuss

order

thehappyfellow|16 days ago

Which means you can't select all on text which isn't editable - insane!

odysseus|16 days ago

I have a JavaScript share sheet shortcut that forces a select all on any page. Really useful.

Something like this:

var result = [];

body = document.body;

sel = window.getSelection(); range = document.createRange(); range.selectNodeContents(body); sel.removeAllRanges(); sel.addRange(range);

selString = sel.toString();

// Call completion to finish completion(selString);

leptons|16 days ago

It honestly doesn't surprise me. Apple is not some bastion of good design. They are mediocre at best, always have been.

It was pretty hilarious to me that for so many years the keyboard on iOS only had CAPITAL letters. No matter the state of the shift key, the letters on the keyboard just stayed the same. After many years they finally figured it out, but it's one example of many about how Apple just doesn't have the great UX people claim they do.

hbn|16 days ago

In editable text fields you can tap a word a few times and it'll select the whole paragraph, if that's any help.

What drives me insane though, is double tapping a word is supposed to select that word. But I think starting in iOS 18 it started selecting the word and a random amount of surrounding words, but only about half the time. I couldn't tell you what it could possibly be trying to do but it's maddening.

OkGoDoIt|16 days ago

It’s using AI to try and determine if it’s a proper noun or other scenario where multiple words are really one semantic term. Except it’s really really bad at it and it’s almost never the behavior I want, but there’s no way to turn it off. (I vaguely remember there was a WWDC talk sometime a couple years ago where they went into how this works)

spockz|16 days ago

Just keeping my finger on the word works for me every time to select it. Double tap works only works in the edit fields. Also works reliable for me here in the hacker news post editor, as long as I do it in the middle of the word.