-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Android chrome crashes on opening demo page #12283
Comments
Same on pixel 3, android chrome 78.0.3904.62 |
This is actually quit urgent issue, since we have lot of charts on all over the website and they are not accessable and has huge negative impact for UX |
Thanks for reporting this issue! Tested with Android v9.0:
Tested with Android v9.1
|
Any updates? |
The BrowserStack don’t have v78 yet, but our developers (@jon-a-nygaard and @oysteinmoseng ) are now debugging on physical devices. |
From our investigation so far it seems that there has been a performance decrease in the rendering of complex SVG in Android Chrome v78.0.3904.62. In this example it is paths with large strokes. We isolated the issue to a relatively simple svg with a few elements, where one of the elements transform attribute is updated with a fast interval. We have reported the issue to the Google Chrome Support, and hope that they may be able to solve the issue, or give further insights to what is causing the issue. |
@jon-a-nygaard Any feedback from Google chrome? |
Hi @anki247, I have unfortunately not received any feedback from Google Chrome Support, and their issue reports is sadly not available in public. Good news though, is that today I found that the issue could also be reproduced in Chromium as well, and I have reported it to The Chromium Projects. This issue report is available at https://bugs.chromium.org/p/chromium/issues/detail?id=1022314 For those interested in testing on Chromium, the Android app can be downloaded from https://download-chromium.appspot.com/ |
@jon-a-nygaard The only different of this JSFiddle from your example is the CSS part AND this HTML before the chart. But here it works perfectly on android chrome :-S
|
Thanks @anki247, That is an interesting observation! I do not know what this means technically, but I have passed on the information to the The Chromium Projects in hope that this will help their progress. |
@anki247 awesome. I just put this in the same color as the background of my page where the charts live, and it seems to have fixed the problem. Great workaround for now |
@anki247 Do you have a jsfiddle that show's it crashing, and what the exact changes you made to stop it crashing? |
@baerrach "Workaround": (It actually was not intended to be a workaround.. more a demo ^^) As I mentioned above the difference between them is just the
|
Thank you for details and workaround! |
Hi highcharts team! Do you have any updates on this issue? Did you get any response from the Chrome team? We develop an application that is using SVG and we have exactly the same problem in Chrome@Android. I tried to find a solution in Google and only one page that I've found is this thread. We've tried to use the workaround posted above but unfortunately, it didn't work for us. |
The reported issue is still valid. You can check the current status of case here: https://bugs.chromium.org/p/chromium/issues/detail?id=1022314 |
We see this issue with almost all the data sets we are trying to chart. Since this is obviously a longrunner over at Google, is there more known workarounds than @anki247's findings above (which doesn't seem to work in our case)? Different chart-types? Max number of samples? |
Using Highcharts Boost helps, especially on mobile devices. Reducing the data points density also helps. Depending on how many series and charts you have to render on a page, a maximum of 500 data points per series seems to render smoothly on most devices. You can make the amount of data points dependent on the screen width. |
It looks like the Chromium issue was closed: https://bugs.chromium.org/p/chromium/issues/detail?id=1022314 Also, comment 17 on the Chromium issue says "Since Chrome 89 for Android this issue is fixed". I personally will keep using the workaround in case some users are using older versions of Chrome on Android. |
This chromium bug was recently observed again in chrome version 121+ and the chromium bug was updated with Steps to reproduce, basically Chromium wasn't able to handle complex svg's and the Hit test ran into 100% cpu utilisation. Chromium Bug Link : https://issues.chromium.org/issues/40657525 |
Expected behaviour
The chrome works fluently and is reacting to user touch motion. And does not crash at the end
Actual behaviour
By opening the demo https://www.highcharts.com/demo/line-time-series on android chrome version 78.0.3904.62 (latest currently). Chrome freezes and at the end it crashes.
Additional Info: The issue occurs on following devices
Android 9 and 10
Samsung s8, s9 and s10 & OnePlus 7 pro
Live demo with steps to reproduce
Update android chrome to version 78.0.3904.62.
And open https://www.highcharts.com/demo/line-time-series
Product version
live demo page
Affected browser(s)
Only the newest android chrome v78.0.3904.62
The text was updated successfully, but these errors were encountered: