question

jameseasylog-5337 avatar image
0 Votes"
jameseasylog-5337 asked jameseasylog-5337 commented

Soft Keyboard on Xamarin Forms often shows double character on Lenovo M7

Odd problem and I just need some inspiration on what to check next.

The Xamarin Forms app involved, runs on Windows, Android and iOS and we recently discovered that on the Android Lenovo M7, sometimes a soft keyboard key tap produces a character on key down as well as key up.

I put in a renderer for the Entry control and a handler for text keys press. Sure enough, the extra character was already coming through at this point. The customer has several M7s and they all do it. We haven't observed this on any other device. However, just when I was blaming the M7s, we realised that no other app of ours causes this problem and soft keyboard works fine with all other apps on the tablet e.g. Chrome etc.

Things that have been tried:

I compiled and ran the app in different ways. Generally speaking the debug versions tended to have less of a problem with the double tap, but it didn’t go away.

I checked the problem on different screens and busier screens with more text entry boxes tended to be worse

I tried loading a different soft keyboard from Play Store – no difference

I attached a real keyboard to the USB port to use instead of the soft keyboard and that worked perfectly – no double tap problem at all

I ran the app ‘Touchscreen Calibration’ that I downloaded from Google Play. This appeared to make a difference but again, the problem didn't go away.

I need inspiration... Does anyone have any idea where I should go next.

dotnet-xamarin
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Additionally forgot to mention - also did a cut down app with one page from the main Forms app and nothing else but all of the same Nuget Packages built in and problem didn't exist, however on cutting out all functionality of Nuget packages on full app with all forms in place, problem did exist???

0 Votes 0 ·

0 Answers