Issue metadata
Sign in to add a comment
|
Slow typing in contenteditable with spellcheck enabled
Reported by
d...@moqups.com,
Jul 31 2017
|
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36 Steps to reproduce the problem: 1. Have a <div> with contenteditable and spell checking enabled on it. 2. Type furiously into the <div> (making sure to insert spaces) What is the expected behavior? Inputting text into the contenteditable div should not be laggy. What went wrong? There is noticeable lag when inputting text into a spell-checked contenteditable div. Disabling the spell check gets rid of the lag. Did this work before? Yes Chrome 59 Does this work in other browsers? Yes Chrome version: 60.0.3112.78 Channel: stable OS Version: OS X 10.12.6 Flash Version: (Although I cannot reliably test on Chrome 59 as I've upgraded and Browserstack introduces lag of its own, I feel there has been a degradation in performance with the update to Chrome 60.)
,
Aug 1 2017
dan@ Thank you for the issue. unable to reproduce the issue on Windows 10, MacOS 10.12.6 using Stable 60.0.3112.78 and canary 62.0.3172.0 with the below steps 1.Opened the given url 2. Enabled the spellcheck and entered some input. 3.Not observed any lag while entering text. Please find the attached screen cast and confirm if anything missed here. Request you please try the issue on new profile without any extensions/flags and update the thread if the issue still exists. Thanks
,
Aug 1 2017
Hi Susan, Thank you for taking the time to look into it. I have created a new profile and I can still reproduce this issue. Please note that the effect becomes much more apparent after you're several lines into the text. Attached screencast.
,
Aug 1 2017
Thank you for providing more feedback. Adding requester "susanjuniab@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 1 2017
Are you able to provide a chrome trace? See chrome://tracing and https://www.chromium.org/developers/how-tos/trace-event-profiling-tool A javascript & rendering trace may be helpful; or select Edit Categories and Select All.
,
Aug 1 2017
I am attaching the trace file for the laggy behavior.
,
Aug 1 2017
Thank you for providing more feedback. Adding requester "dtapuska@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 1 2017
Looking from the trace the GPU the bulk of the latency in the input events. 150-160ms to swap
,
Aug 1 2017
ccameron@ are you aware of any GPU issues in Chrome 60 on mac?
,
Aug 1 2017
It seems that I cannot reproduce as constantly as initially. What I've observed, and it may be a stupid observation, but it may lead to some clues — if the battery drops under about 10% the lag seems to disappear; is there any low battery optimization in Chrome that may be impacting the spell checking? Or is it something at the OS level?
,
Aug 2 2017
,
Aug 10 2017
-> ccameron@ for thoughts, answer to c#9
,
Aug 11 2017
Re #10, I would generally think this to be the opposite. If the battery is low, CoreAnimation starts throttling to a lower framerate. What happens if you kill the GPU process or restart Chrome? Does the issue come back? Could you attach the output of going to about:gpu as a PDF to this bug. We can try to reproduce this bug on the same GPU as you have, but this is likely to be system specific.
,
Aug 12 2017
As of now, I can only reproduce the problem very infrequently. However, when it happens, the effect seems to linger until I restart Chrome (refreshing the page does not help). I am attaching nonetheless the about:gpu summary.
,
Aug 12 2017
Thank you for providing more feedback. Adding requester "ccameron@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Aug 15 2017
The NextAction date has arrived: 2017-08-15
,
Sep 15 2017
[mac bug triage] ccameron@ - ping.
,
Sep 21 2017
This doesn't seem like an old GPU, so I'm out of ideas on this one.
,
Sep 21 2017
Could this be like some type of leak of handles or something? (as restarting helps, would it be useful to get the user to dump the proc info when it is happening?)
,
Sep 26 2017
[Mac triage] Marking available to take it out of our queue.
,
Dec 21 2017
I can confirm that this behavior is occurring consistently on a 2016 MacBook Pro 13" with a Intel Iris Graphics 540 1536 MB graphics card. It happens in Chrome 63.0.3239.108 as well as in Canary 65.0.3299.0. I've attached an example HTML document which demonstrates this behavior. Clicking on any of the paragraphs with misspelled (latin) words causes major slowdown. Note that in practice, where there are event handlers attached to the elements in the contenteditable area, this slowdown is even more apparent and makes writing near impossible. Disabling Chrome's hardware acceleration stops the issue from happening and the behavior is as expected. I've also attached about:gpu as well as a profile run when the behavior occurs.
,
Aug 1
|
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by d...@moqups.com
, Jul 31 2017