syphon-org / syphon

⚗️ a privacy centric matrix client
https://syphon.org
GNU Affero General Public License v3.0
1.04k stars 72 forks source link

Fleksy keyboard "undo correction" gesture not working in input field #603

Open limelier opened 2 years ago

limelier commented 2 years ago

This issue seems to be very similar to this other issue in FluffyChat. Perhaps a joint solution could be found?

Seeing how the other issue is identical, I will quote its description, making the necessary modifications:

Description

The Fleksy keyboard app for Android features a number of gestures for easy typing. One of these, the swipe-up gesture for undoing automatic correction, does not work in Syphon. I have found no other app where this happens.

To be precise, swiping up and down on the keyboard in Fleksy after typing a word will switch left or right between the suggestions displayed at the top. After a correction, the second leftmost option will be the uncorrected word. The leftmost option will always be a switch to forget a learned word if a correction did not occur, or learn a new one if it did.

Specifically, the way the issue seems to work is that after inputting a word that gets corrected, Fleksy seems to forget that it corrected anything, and just acts as if you've typed the word directly, which means the swipe-up gesture switches to the "forget" option directly.

To Reproduce

  1. Download Fleksy
  2. Set it up as a keyboard
  3. Try to type a word that's almost spelled correctly, but not quite, in another app - it will be automatically corrected
  4. Swipe up on the keyboard to undo the correction
  5. Try to type the same word in Syphon
  6. Swipe up on the keyboard, Fleksy will instead forget the word that it corrected to

Additional information:

EdGeraghty commented 2 years ago

My guess is it's not respecting the request...

gabrc52 commented 1 year ago

It's probably a flutter issue. Can you download Flutter gallery and go to Material > textfields and see if the bug happens there? If so, file an issue in https://github.com/flutter/flutter/issues