feat: Add new swipe gestures #1923
Conversation
|
Should we collaborate on this in #1898? As it is basically the same addition. Happy to discuss any decisions or different approaches, etc. |
|
I think you should! Personally I don't need diagonal down swipes, but I can't see how this can't be an additional setting. And the same swipe functionality can be surely used for word corrections strip too. What I use in @ndom91 build sometimes is the swipe down to complete the word I'm typing. 90% of the time it uses the middle suggestion, but it may insert some other words (last time I checked "jaz" was replaced by "had", which wasn't even on a suggestion strip.) And there are times when such swipe down doesn't add a space after word. It would be great if you collaborated to iron out the suggestion autocompletion and the consistent selection of the middle word. |
|
Have you tried the build from my PR to see if that bug is present here also? I don't plan on working on this feature anymore as I have doubts it will even get merged as the maintainers don't seem that involved, I've implemented the changes I needed for my workflow, @ndom91, if you want to take any of the changes from my branch to yours, go ahead |
|
@kristijanribaric thanks for the transparency. I haven't tried a build from this branch, have you @magvag? More generally, I'm happy to push this feature through though and figure out any bugs together and ofc use any code from this branch if it's doing things better. Regarding the bug, what is the exact issue? Jaz->Had/has is also the next suggestion in the suggestion bar in futo keyboard by default. I'm assuming because the letters are so close to one another. If you can share any more info in my PR if you can repro again that'd be great 🙏 |
|
@ndom91 Nope, haven't tried this branch. Regarding the issue: it would be nice if swipe down always selected first the middle suggestion, then the left and right ones – a stable behaviour builds trust. Currently it works 90% of the time (I wonder if transformer LM gets in the way of classic autocorrection) Its hard to reproduce, since suggestions are personal, but I've captured the suggestion output right before jaz was replaced with had. Plus swiping down on an unfinished word doesn't add a space after it. |
Ohh interesting okay I think I misunderstood then. So it's not always the same order, in terms of how they're shown when looking at the auto suggest bar |

Additional gestures support
Every gesture can be individually turned on or off. Note that Swipe Typing needs to be turned off for gestures to work.