Helium314 / HeliBoard

Customizable and privacy-conscious open-source keyboard
Apache License 2.0
2.43k stars 97 forks source link

Gesture Typing Disallowed in Some Web Apps (PWAs) #1114

Open Andoriax opened 1 month ago

Andoriax commented 1 month ago

Bug Description Gesture typing is not usable in some web platforms, maybe only incompatible in certain web apps such as Reddit and Quora. Traces across the keyboard don't even initiate any gesture trail as usual.

To Reproduce This is apparent in the Quora web app and to mixed unpredictable extents in the Reddit and GitHub web apps. Quora completely disallows gesture typing. Reddit and GitHub's Subject text fields disallow the gesture typing.

In those cases, only pigeon typing is accepted.

Screenshots Video screen capture needed, but that's too much work to setup and edit for this simple report.

App Version Current release HeliBoard_2.2-release.apk (arm64-v8a) libjni_latinimegoogle.so (provided gesture typing library)

Device Model: Pixel 7 Pro OS: Graphene OS build number 2024090400, Android 14 based

Helium314 commented 1 month ago

Gesture typing is disabled when isTouchExplorationEnabled in Android settings, when you have no dictionary for the current language, or when the input field claims it's a password field (InputType.TYPE_TEXT_VARIATION_VISIBLE_PASSWORD, InputType.TYPE_TEXT_VARIATION_PASSWORD, InputType.TYPE_TEXT_VARIATION_WEB_PASSWORD).

My guess is that the web app claims it's some sort of password field. Does the keyboard switch to incognito mode when in such a field?

Andoriax commented 1 month ago

@Helium314 No, those incompatible text fields do not trigger the keyboard to switch to incognito mode.