News for hackers. Stuff that matters.
Re:Text editing on mobile isn’t ok by Wowfunhappy on Sunday September 24, 2023 @12:40PM (#37634656)
This is absolutely a problem. I'd have to try it to know for sure, but unfortunately I'm not convinced the author has found a solution. It still seems quite finicky from the description.

I think touch screens are just a bad interface for this. Mice provide an inherently wider range of actions: You can hover without clicking, left click, or right click. Adding in a keyboard merely expands the options further.

An iPhone is like a computer with a one-button mouse, in which software is not aware of the pointer's location until you actually click. Also, the cursor is abnormally large and in an irregular shape, and you're never sure which part of the cursor shape indicates what actually gets clicked on. Portions of the screen are blacked out when you move the mouse to certain positions, and the whole monitor is abnormally small to to boot. Oh, and you can only use your keyboard when you enable an on-screen overlay which takes up ~35% of your screen.

We don't need new software, we need new hardware.

Re:Text editing on mobile isn’t ok by asddubs on Sunday September 24, 2023 @03:28PM (#37636369)
well yeah, a touchscreen is never going to be a keyboard, but that doesn't mean things couldn't be better
Re:Text editing on mobile isn’t ok by RunSet on Monday September 25, 2023 @08:18AM (#37642523)
> a touchscreen is never going to be a keyboard, but that doesn't mean things couldn't be better

... they growled, struggling to pierce the sow's earlobe.

Re:Text editing on mobile isn’t ok by jimkoen on Sunday September 24, 2023 @04:07PM (#37636656)
> This is a hardware problem, not a software problem.

This is a UI validation problem.

Apple proved in 2007 that you can port tons of applications over to the smartphone. They had to invent their own language for interactions though ("pinch-to-zoom" etc) and it took them two weeks of focus with all their software development staff involved to fix keyboards on capacitive touch.

It may not be possible to reach the same kind of flexibility on a mobile device when it comes to rich text editing, but it's certainly possible to port over a lot of functionality from the desktop.

Re:Text editing on mobile isn’t ok by Y_Y on Sunday September 24, 2023 @04:27PM (#37636817)
Do you really think Apple invented pinch-to-zoom? CMU Sensor Lab had it back in ’85. Steve Jobs coincidentally visited soon after and later claimed to have patented the technology for the iPhone. That was shown not to be true in the big Apple vs. Samsung patent case.

References available upon request.

Re:Text editing on mobile isn’t ok by erydo on Monday September 25, 2023 @04:41AM (#37640973)
Not to imply any specific doubts—I’m aware of the narratives—but if you have references, I’m interested! Request, request.
Re:Text editing on mobile isn’t ok by Y_Y on Monday September 25, 2023 @06:34AM (#37641650)
Re:Text editing on mobile isn’t ok by jimkoen on Monday September 25, 2023 @02:23PM (#37648337)
No, I don't think they invented multitouch, I was referring to the name of the gesture. "Pinch to zoom" is afaik their invention, as opposed to "two or more input points applied to the touch-sensitive display that are interpreted as the gesture operation", as the article mentions.

The issue is about naming and communicating UI in an intuitive manner. Which should be solved by acceptance testing.

Re:Text editing on mobile isn’t ok by akdor1154 on Sunday September 24, 2023 @04:19PM (#37636743)
The first gen or so of Android phones had an optical 'trackpad' below the screen, some were terrible but some were really good, allowing far more precise cursor movement than a touchscreen. I wish this feature had survived, it was awesome for text editing.
Re:Text editing on mobile isn’t ok by wffurr on Sunday September 24, 2023 @04:39PM (#37636953)
Some had a trackball which was fairly precise.
Re:Text editing on mobile isn’t ok by chris37879 on Sunday September 24, 2023 @09:42PM (#37638824)
It did in a fashion, on my Fold 5, for instance, I can half fold it and get a trackpad on the bottom half of the screen, which is great! I wish that was just a general toggle between "direct touch" and "screen as trackpad with a cursor" that'd be just grand.
Re:Text editing on mobile isn’t ok by Y_Y on Sunday September 24, 2023 @04:19PM (#37636751)
I agree, but note that a lot of this is solved by having a pen with buttons.
Re:Text editing on mobile isn’t ok by Wowfunhappy on Sunday September 24, 2023 @04:30PM (#37636854)
I agree, styluses are great! Placing the cursor and highlighting text on e.g. the Nintendo DS is a lot easier than on an iPhone. (Everything else about typing sucked of course, but it's not like Nintendo put substantial effort into this.)

I do find that e.g. the Apple Pencil doesn't have a small enough tip for this to work well, it's really made for drawing.

Re:Text editing on mobile isn’t ok by Y_Y on Sunday September 24, 2023 @04:34PM (#37636897)
(just to add, the Latin plural of or "stylus" is "stylī", so in English we can use "styli" or "styluses")
Re:Text editing on mobile isn’t ok by hutzlibu on Sunday September 24, 2023 @04:24PM (#37636796)
"A smartphone is like a computer with a one-button mouse "

Not quite. A touchscreen can detect many fingures that can do many gestures.

The problem is, exept zooming (pinching with 2 fingers) and moving aeound (swiping with 2 fingers) the potential is pretty much unused.

Re:Text editing on mobile isn’t ok by Wowfunhappy on Sunday September 24, 2023 @04:35PM (#37636909)
It's a good point, but I'm not sure how to use those gestures for text entry. TFA didn't go down the multi-touch route either in their proposal. But it's possible I'm not being creative enough!
Re:Text editing on mobile isn’t ok by waterproof on Monday September 25, 2023 @01:20AM (#37639902)
iOS already has three-finger pinch to copy/paste, and three-finger swipe to undo/redo. But I find that these gestures are too unreliable for regular use, the gestures almost always activate some other click target plus my other fingers are busy holding the phone.
Re:Text editing on mobile isn’t ok by xp84 on Monday September 25, 2023 @01:28AM (#37639938)
If you forced me to implement something without doing any research, I’d suggest:

First, (iOS perspective but it’s not that different than Android) to convert the suggestions row to a row of function keys anytime Shift was held down. No annoying delays or extra taps waiting for the menu pop-up. So now you can use two fingers to cut copy paste undo instead of using several seconds and a popup that can appear anywhere onscreen. Next, arrow keys. Heck, use the same Shift hack and, when Shifted, replace the space bar and the dead useless area below it with a big inverted T. Our phones have gotten much bigger and yet especially on iOS the keyboard hasn’t grown a pixel since what, iOS 5? Case in point: no number row still for Apple, even as an option. Wtf.

Re:Text editing on mobile isn’t ok by TheFlyingFish on Sunday September 24, 2023 @07:55PM (#37638281)
I have trouble imagining that more than 2-3 fingers can be realistically used for input at once. For one, you normally have to use one hand to hold the phone, which uses up 3-4 fingers. And to enable frequent multi-touch gestures you'd have to hover your hand awkwardly over the phone, which is fine for the occasional pinch-to-zoom but not if you have to do it all the time.
Re:Text editing on mobile isn’t ok by hutzlibu on Monday September 25, 2023 @04:33AM (#37640925)
But with 2-3 fingers you already have lots of combinations. 2 thumbs are enough. I have been toying with some ideas for a game and thought about the potential for normal use cases.

Intuitive (like swiping and pinching) is none of it though and it can only be useful once muscle memory kicks in. So I guess this is the reason, we do not have a global standard for anything advanced multitouch.

Re:Text editing on mobile isn’t ok by dundarious on Monday September 25, 2023 @11:09AM (#37645111)
Given 2 finger pinch-spread is already taken for zoomout-zoomin, what are the remaining useful combinations for 3 fingers? It can't detect which finger you're using. It should support one-handed operation, so the 3 finger gesture should be possible with one hand. You'll likely have to use middle and ring fingers, which are mechanically connected, so relative motion would be difficult.

I think you're wrong. There are very few combinations available for things like text editing.

Re:Text editing on mobile isn’t ok by hutzlibu on Monday September 25, 2023 @04:05PM (#37649815)
"You'll likely have to use middle and ring fingers"

Well, people who played the violin or alike can do this, but yeah, it was hard work to learn and cannot be expected of the general user.

So yes, it cannot be anything complicated.

One of my ideas is to use the position of the fingers and the timing they touch. No matter which finger, what matters is the position they touch down relative to each other. So 2 (or 3) touches, like double click, but with 2 fingers and you evaluate the positions.

Simple variant: "pointing finger", "middle finger" -> one action (one touching point, then another touching point shortly afterwards left of the first touching point)

"middle finger", "pointing finger" -> another action (first touching point, then the other touching point to the left of the first one)

Or you can use the 2 thumbs, or thumb and pointing finger. And use up and down as well. So you have "middle" "up"; "middle" "down"; ...

And the actions could be anything, like "middle" "left" could select the next word to the left or go to the beginning of the line.

But my main thinking evolved around game actions, but it is the same principle.

And then you could also advance it with "middle" "left" "middle", the only limit are the coordination skills of your average user.

And ... the hardware limits. I have never really implemented those ideas, because I got frustrated very quickly(some years ago) with how the native touch handling of the OS got in the way, and some unprecise sensor input. But if you keep it simple, it should be doable. I guess I am now motivated to give this experimentation another shot real soon ..

Re:Text editing on mobile isn’t ok by dundarious on Monday September 25, 2023 @07:39PM (#37652282)
I like playing music and enjoyed the multitouch puzzle game posted on HN a while back, so for a game like the one you're suggesting, fair enough.

For text editing, I don't think the cardinality of the set of gesture-based solutions is very large.

Re:Text editing on mobile isn’t ok by sznio on Tuesday September 26, 2023 @04:42AM (#37656276)
>exept zooming (pinching with 2 fingers)

2 fingers is already too much. Maybe I could've done it with 2010 smartphones, but new ones are so large that I switched to double-tap then drag ages ago. It's annoying having to involve a second hand just to zoom something, and trying to do it with a single hand is just a recipe for destroying your phone.

Re:Text editing on mobile isn’t ok by n8cpdx on Sunday September 24, 2023 @04:56PM (#37637119)
3D touch solves some problems for touch interfaces, but sadly Apple killed it (everywhere except Magic Trackpad, for some reason).
Re:Text editing on mobile isn’t ok by earthboundkid on Sunday September 24, 2023 @06:47PM (#37637907)
It never worked though. It would just pop in randomly at unexpected times. It sucked.
Re:Text editing on mobile isn’t ok by xp84 on Monday September 25, 2023 @01:31AM (#37639951)
Hmm. It worked fabulously for me, and spared me from waiting a beat every. Single. Time. that I want to get what we now know as a long-press menu.
Re:Text editing on mobile isn’t ok by withinboredom on Monday September 25, 2023 @03:37AM (#37640627)
How did you get it to work on bumpy car rides, or while jogging?
Re:Text editing on mobile isn’t ok by xp84 on Monday September 25, 2023 @12:55PM (#37646962)
There's your problem. I never exercise (JK).

But seriously, I suppose I just never use enough pressure when I'm "just" regular-tapping to inadvertently activate force touch under any circumstances, so I never had any ambiguous inputs.

Re:Text editing on mobile isn’t ok by earthboundkid on Monday September 25, 2023 @10:04AM (#37643979)
The problem was they made deep press and long press do different things, so it chose the wrong one regularly. I don't know why they ever thought that was a good idea. It was obvious that deep press should have just been "faster long press".
Re:Text editing on mobile isn’t ok by boxed on Monday September 25, 2023 @08:11AM (#37642466)
I LOVED it. I could move the text cursor with precision AND do text selection with the same precision and FAST. In some situations faster and with more precision than I would have been able to do with a mouse even.

Such a great loss that they dumped it.

Re:Text editing on mobile isn’t ok by tuetuopay on Tuesday September 26, 2023 @08:26AM (#37658264)
cursor move is still available with a long press of the spacebar, but I dearly miss the selection. that was the killer application of 3d touch I think.
Re:Text editing on mobile isn’t ok by BugWatch on Monday September 25, 2023 @01:18AM (#37639889)
Why not something akin to "fixed-offset cursor"? Actual cursor/pointer is always a centimeter above the finger position (thus always visible [bottom of the screen to be handled as a special case]), and finger movements manipulate position, while hold duration accesses alternate modes.

For a somewhat similar implementation (touchscreen is essentially handled as touchpad) look at how Teamviewer handles remote sessions to Windows desktop from smartphones.

I would really like any/all of those as a toggle-on mode for use on Android itself... selecting text with arthritis fingers is a pain – literally and figuratively.

Re:Text editing on mobile isn’t ok by madebythejus on Monday September 25, 2023 @08:42AM (#37642791)
Try out the app Quick Cursor[1] it does a lot of what you describe. Pretty intuitive too, you build muscle memory for it quickly. 1: https://play.google.com/store/apps/details?id=com.quickcurso...
Re:Text editing on mobile isn’t ok by kffekfko on Wednesday September 27, 2023 @07:26AM (#37673110)
As far as clicking and basic functions, is a two button mouse really that different from tapping + short holding to open a menu wheel? There's a lot of pain points to me when comparing a touch screen to a PC setup but the mouse isn't one of them.