markqvist/Sideband

Auto Correct not working on Samsung S24

liamcottle opened this issue · 3 comments

Describe the Bug

When writing messages in Sideband for Android, autocorrect is not working.

I saw this issue kivy/python-for-android#2692 that mentioned it was resolved in 2.26.0, although I only see a kivy dependency and not a python-for-android dependency in setup.py of Sideband.

According to this comment kivy/kivy#7337 (comment) it's suggested that input_type: text should be added to the TextInput. I do note that Sideband is using MDTextField, but I would assume this would get passed up the chain..?

I haven't attempted to build Sideband myself as I believe there's a lot of moving parts, but it would be awesome if you get a chance to look into this :)

To Reproduce

  • Install Sideband 0.9.1 on Android (Samsung S24, Android 14)
  • Open a conversation and start typing a message
  • Observe that there are no suggestions, nothing is auto corrected, and messages come out funky unless you type carefully.

Expected Behavior

Text is auto corrected when writing a message.

Logs & Screenshots

Screen_Recording_20240818_141248_Sideband.mp4

System Information

  • OS and version: Android 14 on Samsung S24
  • Python version: ?
  • Program version: 0.9.1

The problem with adding input_type: "text", is that backspace / deleting characters then stops working in the text field:

no_backspace.mp4

It's a super annoying and really hard to track down bug, and you have no idea how many hours I have spent on it already, and I haven't been able to find reliable solution that works across devices. If figure out something that actually works, I am very interested in hearing it! :)

same issue on Android 14

same issue on Android 14

Did you read the above? The relevant property on the text field is intentionally disabled so that deleting text will work.

There is an underlying bug in Kivy/KivyMD somwhere.