Text duplicates in KDE Connects renaming popup
Describe the bug When entering text in the "Device Name" popup of the KDE Connect app, using both HeliBoard and the AOSP keyboard, the text is duplicated as in the video attached. This weirdly does not occur when using the Samsung keyboard so I am unsure where the issue lies.
To Reproduce Use HeliBoard to enter a name for a device in KDE Connect.
Screenshots https://github.com/user-attachments/assets/6fbb3674-ae91-491f-8889-60d7a1568ad1
App version HeliBoard 2.2, KDE Connect 1.32.2
Device:
- Model: Samsung Tab S9 FE and Oneplus 6T
- OS: Android 14 (One UI 6? / Lineage OS 21)
Related KDE Connect bug report: https://bugs.kde.org/show_bug.cgi?id=494110
There are a bunch of similar issues if you use the search functionality. Such problems are common to many keyboards due to how the Android input connection works with composing text (the underlined text).
This seems to happen in all keyboards I tested that show suggestions in this field, and it's because the input field removes the "composing region" (the underlined word) when you enter something. In principle it's possible to just reset/reload the composing region in that case, but I remember that I already tested something very similar and it triggered unwanted effects. Not sure what it was though, need to investigate a little.