Issue metadata
Sign in to add a comment
|
Android System WebView crashes in HTC Mail
Reported by
piotr.bu...@gmail.com,
Mar 19 2018
|
||||||||||||||||||||||||
Issue descriptionTHIS TEMPLATE IS FOR FILING BUGS ON THE ANDROID SYSTEM WEBVIEW. GENERAL WEB BUGS SHOULD BE FILED USING A DIFFERENT TEMPLATE! Device name: HTC 10, HTC U11+ Android version: Android 8.00 WebView version (from system settings -> Apps -> Android System WebView): 66.0.3359.30 Application: HTC Mail Application version: 10.70.1008405 URLs (if applicable): Steps to reproduce: (1) Update Android WebView to the latest version (doesn't matter if it's beta or not) (2) Open HTC Mail (3) Tap the edit mail window Expected result: One should be able to type in email body. Actual result: Crash. Callstack's below: java.lang.AssertionError at org.chromium.content.browser.input.ImeUtils.checkCondition(ImeUtils.java:1) at org.chromium.content.browser.input.ThreadedInputConnection.assertOnImeThread(ThreadedInputConnection.java:62) at org.chromium.content.browser.input.ThreadedInputConnection.getExtractedText(ThreadedInputConnection.java:103) at com.htc.android.mail.compose.j.getExtractedText(EditableWebViewInputConnection.java:246) at com.android.internal.view.IInputConnectionWrapper.executeMessage(IInputConnectionWrapper.java:343) at com.android.internal.view.IInputConnectionWrapper$MyHandler.handleMessage(IInputConnectionWrapper.java:85) at android.os.Handler.dispatchMessage(Handler.java:105) at android.os.Looper.loop(Looper.java:180) at android.app.ActivityThread.main(ActivityThread.java:6944) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:835)
,
Mar 19 2018
piotr.budzinski@, thanks for reporting this issue. This is a known crash which had been fixed from WebView side. HTC is also working on a fix for this. Twitter one might be a different, could you please post the crash log for that in a separate bug if possible, thanks! I am duplicating this to HTC mail crash bug since the log is clearly from HTC mail.
,
Mar 19 2018
Great to hear that! When do you think the new version of the WebView will be available in Play Store? Also, can I stick with beta version or rather should install WebView from the main branch?
,
Mar 19 2018
piotr.budzinski@, by taking a closer look, this might not be a dup of issue 820756 , I'll investigate more on this.
,
Mar 19 2018
If I can help you anyhow, just let me know - I'm a programmer myself. If I were you I'd look at TouchPal keyboard. It's just a wild guess.
,
Mar 20 2018
piotr.budzinski@, thank you for the information! I see with the combination of TouchPal Keyboard, HTC mail and WebView 66.0.3359.30, it will crash. So the guess is correct :) The fix for issue 820756 will also fix this crash. You need to wait until 66.0.3359.33 and above or canary build 67.0.3371.0 and above to see the fix. Could you please verify this, thanks!
,
Mar 20 2018
unable to reproduce on : HTC ONE A9 / NRD90M vs 67.0.3376.0
,
Mar 20 2018
Alek and I took a look today, new version of WebView as replied in #c6 fixed this issue, I am going to close this bug.
,
Mar 21 2018
Hi guys, I can only download 65.0.3325.109, buggy version from the Play Store. Where can I download fixed version? Is it anything I can do to make the Play Store refresh it's content?
,
Mar 21 2018
piotr.budzinski@, We decide to not fix this in M65, since M66 is coming soon. However, this is mainly a bug in HTC Mail, the fix in WebView side is just a workaround, so you need to wait until next release of HTC Mail to truly fix it.
,
Mar 21 2018
Knowing HTC's reluctance to fix anything, I can start looking for another mail app if you guys won't fix it, even if it is more workaround than a real fix :( Too bad this HTC mail app is really good (when it doesn't crash of course) :/ When do you plan to release M66? Just approximately - in a week, a month?
,
Mar 21 2018
So there are three ways you could choose if you want to have the fix from WebView, Option 1: Install Chrome Canary, get the fix immediately. Option 2: Install Chrome Beta, you'll get the fix at the end of this week very likely. (You are probably on Beta already since you are reporting this issue for M66) Option 3: Wait until M66 goes to stable, which will happen in the middle of next month (Chrome releases approximately every 6 weeks) For option 1 & 2, thanks for being a canary/beta user, and you need to go to developer options and choose them as your WebView implementation. On the other hand, from issue 820756 , looks like HTC is actively fixing this, although we don't know when the fix will be available for downloading.
,
Mar 21 2018
Okay, Jantay's comment from https://bugs.chromium.org/p/chromium/issues/detail?id=820756 made my day :) To recap, I've disabled pre-installed Chrome, installed Chrome Canary from Play Store: https://play.google.com/store/apps/details?id=com.chrome.canary and in Developer Options, in "WebView implementation" option selected "Chrome Canary" as an active system's web rendering library. I'm waiting for the M66 release of Android System WebView since normally I don't use Chrome and have it uninstalled/disabled. So, what's the release date of M66? If you can't tell me that could you tell me at least if you have some kind of alpha release of Android System WebView available? Beta version seems to be a copy of the main branch version. TIA!
,
Mar 21 2018
Oh, sorry guys - you've already replied - thank you 😊 Looks like we've been writing comments simultaneously. Thank you for constructive reply! 👍
,
Mar 21 2018
Regarding the standalone WebView: the beta release should just always be the same version as Chrome Beta. It should only be the same version as stable in the week or two immediately after a stable release where we haven't yet released a new beta version. WebView doesn't have a dev/alpha version because the Play Store does not support open-signup alpha channels. Chrome Beta/Dev/Canary are just separate apps which are all released to the stable channel in the Play Store so don't have this issue, but we can't release WebView that way currently.
,
Mar 21 2018
Now I get it, torne@. Thanks again for your reply 👍
,
Mar 21 2018
alekyoo@, is there any chance that the same issue could occur on other apps using TouchPal?
,
Mar 21 2018
I have Touchpal disabled and use GBoard, same issue. I have not yet installed Canary to confirm the same fix works
,
Mar 21 2018
Ok confirmed the Canary release fixes for me as well with GBoard.
,
Mar 22 2018
Also confirmed Chrome Beta 66.0.3359.46 does not have the issue either. |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by piotr.bu...@gmail.com
, Mar 19 2018