Helium314 / HeliBoard

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

Input text becomes centered #514

Closed Doomnometron closed 8 months ago

Doomnometron commented 8 months ago

Describe the bug When I enter a text, the text input is centered after the first word in the input field. If I then delete the entered text, the input cursor remains centered. This affects all apps (e.g. Signal, Firefox). The input cursor is only left-aligned again when I exit the input mode (e.g. by selecting another Signal contact).

To Reproduce Just enter a sentence.

Expected behavior The input cursor is and remains aligned to the left.

Screenshots

signal-2024-02-20-081623_002 signal-2024-02-20-081623_003 signal-2024-02-20-081623_004

App version 1.0-alpha1 (installed via F-Droid via manual added IzzyOnDroid F-Droid Repo) and additional installed swypelibs library.

Device (please complete the following information):

Additional context --/--

Doomnometron commented 8 months ago

Additional information: As soon as the text is centered and approx. 10 words are entered, the performance of the text input drops drastically. Words entered by swiping take several seconds to be displayed, the letters appear individually at one-second intervals.

Helium314 commented 8 months ago

I have no idea what would cause this. I wasn't even aware that a keyboard is allowed to set text alignment; the input field should be owned by the app...

Can you try with suggestions and autocorrect disabled? Or even better, can you provide log files (in about screen)?

Doomnometron commented 8 months ago

Sorry, I forgot to mention that the bug no longer occurs. Settings were not changed, maybe rebooting the smartphone helped (but I'm not quite sure anymore).

Doomnometron commented 8 months ago

Closed

Helium314 commented 8 months ago

In case you encounter the issue again, you could also try switching to anyother keyboard and check whether the text remains centered.

Doomnometron commented 8 months ago

Check.