BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hello,
I have had multiple issues after upgrading Syncfusion Xamarin Forms from version 19.4.0.48 to version 20.3.0.58.
There is too much lag when typing text in SfRichTextEditor after upgrading. Please fix as soon as possible as my customers are complaining.
Thanks.
On analyzing with the
provided detail and ensured the sample with RichTextEditor NuGet version (v19.4.0.48) and the
upgraded version(v20.3.0.58), we were unable, to reproduce the reported issue, but it is
working properly.
We have created a sample
based on the provided information and the sample and videoa can be downloaded
from the below link.
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/GettingStarted965306151
Video Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTEControl-133119557
Kindly provide the following details to investigate further on this issue.
The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.
Thanks a lot Hemalatha. Did you try it on a physical device or an emulator?
I don't see the issue on emulator. But definitely there is a significant lag when typing in physical device.
Already minimum 3 customers have complained about the same. They find it annoying and are waiting for the fix.
Customer 1:
There is one problem in the android app, which persists after the last update in December. I found that, after the December update, the app become sloppy, there is a lag in every single letters input. Such problem persists, even I delete and reinstall the app several times.
Today 4th customer complained about the slow typing in RTE. It happens on physical device. It happens when you keep typing. Initially the characters will appear fast. But after few words the speed will decrease and there will lot of lag when typing. This is urgent. This issue didn't exist in builds 19.4.0.48
We were unable to reproduce the reported issue in our side. Currently we are tried to reproduce the reported issue with below Physical devices, but it’s working fine as we expected.
Device details:
Google Pixel XL (Android 10 – API 29)
Xiaomi (Android 11 – API 30)
Please find the sample link and video link (Google Pixel XL (Android 10 – API 29)) from below,
Sample link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/GettingStarted965306151
Video link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTE-168002043
Kindly provide the following details to investigate further on this issue.
The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.
I tried your sample and I am seeing the same lag on Xiaomi (Android 10, API 29). Note that you will not see the lag immediately. Just play around a bit in debug mode. Type something, hit back so that the app goes to sleep mode and open again from the app icon and type again. See the paragraph that I have typed... play around for 4-5 minutes, you will find out.
We were unable to reproduce the issue your mentioned behavior. Could you please confirm whether you mentioned that the app goes to sleep mode and open again from the app icon? like as below video example.
Video Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video-551893402
If our understanding is
different from your requirement, could you please explain elaborately your
requirement? Kindly provide the issue reproducing video example. It will be
useful for us to investigate further on this and assist you with a better
solution at the earliest.
Thanks Hemalatha for your patience and support. You may close this ticket as the issue seemed to my device. I tried my wife's phone and the typing speed was proper. Then I did a factory reset on my phone which fixed the issue. Wish you the best!
Thank you for your update.
We are proceeding to mark the forum as solved. Please get back to us if need any other assistance.
I would like to re-open this for your investigation as we have found the root cause of this issue.
Android has another system app called "Android System Webview". The slow typing described above after the recent update of this system component.
The Syncfusion RichTextEditor is using this webview component directly or indirectly.
If we downgrade the version of "Android System Webview" to older version then the typing speed comes back to normal. My phone has an option to downgrade to version 84 which works well. But the latest version 110 has the slow typing issue. I don't know which version of "Android System Webview" introduced this issue.
Please check if SfRichTextEditor can do modified to workaround this issue. Thanks.
Regards,
Gautam Jain
We implemented RichTextEditor control based on the Content Editable div element. We tried to reproduce the reported issue with Hybrid Web View in the XForms android platform, but it’s working properly. Please find the simple Hybrid WebView sample
Sample Link: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Hybrid_(1)-515952408
Note: Could you please run the above Hybrid WebView sample and confirm whether the same issue occurs in your Android device with latest version?
Kindly provide the following details to investigate further on this issue.
The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest.
Thanks Hemalata,
I installed the Hybrid Webview sample on my phone.
I updated the Android System Webview app to version 110. Then tried my app and also the above sample for couple of days. The speed of typing was proper for first couple of days. But today, the typing speed slowed down in my app. However, the typing speed is fast enough in the sample you provided.
Let me know how I should proceed in order to fix this. Many customers are annoyed with this issue. Some customers downgraded Android System Webview app and were able to get the typing speed back to normal.
Thanks.
We are upgraded the Android System Webview app to version 111.0.5563.58. We are able to reproduce the issue ”Typing text is slow in RichTextEditor” after upgraded the Android System Webview version.
Could you please confirm us whether the Typing text is very slow in RichTextEditor” like below video example? If yes, Currently, we are validating this issue and we will update the further details on March 27, 2023.
Sample Link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/GettingStarted1170568922
Video Link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/RTEVideo1824362808
Yes the video depicts exactly the same issue as I had conveyed. You notice that the characters appear late after a lag of half or one second. Multiple characters are drawn together after a lag.
Thanks. Finally you were able to see the issue.
If I downgrade to Android System Webview version 87 then the speed is faster. Later versions after 87 also may be faster. I don't know exact version of Android System Webview from when the problem started.
Thank you for the update. As mentioned earlier, we are validating this issue ”Typing text is slow in RichTextEditor android platform” and we will update the further details on March 27, 2023.
One of our customers did some research and found some related links. This may be useful information for your dev team.
https://forums.ivanti.com/s/article/Velocity-Slow-Key-input-webview-got-automatically-upgraded?language=en_US
https://chromium.googlesource.com/chromium/src/+/HEAD/android_webview/docs/software_draw_deprecated.md
We have confirmed that the issue with "Typing text is slow in RichTextEditor android platform". is a defect and have logged a defect report for this issue. The fix for the issue will be include in our upcoming weekly NuGet published under nuget.org and it is expected to be available on 11th April 2023.
Feedback Link: https://www.syncfusion.com/feedback/42388/typing-text-is-very-slow-in-richtexteditor-control-android-platform
Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.”
As usual. You guys rock!
We have included the fix for the reported issue “Typing text is slow in RichTextEditor android platform” in our weekly NuGet release v21.1.39. Please find the download link from below,
https://www.nuget.org/packages/Syncfusion.Xamarin.SfRichTextEditor/21.1.39
Note: This fix will be included in the upcoming Volume 1 Service Pack release.
We have included the fix for the reported issue “Typing text is slow in RichTextEditor android platform” in our weekly NuGet release v21.1.39. Please find the download link below,
https://www.nuget.org/packages/Syncfusion.Xamarin.SfRichTextEditor/21.1.39
Note: This fix will be included in the upcoming 2023 Volume 1 Service Pack release.