There is about a second lag when I type backspace in the wordpress editor on https://blog.mozilla.com/tglek/
Taras, do you have the same lag with this page? http://kazhack.org/contentEditable.xhtml I can’t reproduce this bug on my current Linux build (pulled yesterday).
Sorry for the extreme lag on this, but I finally reproduced it. This lag never happens in your editor demo. It also isn't painfully obvious in wordpress when direct2d is disabled on my machine. I even tried copying my blog post into the editor and everything stays responsive. However(with d2d on), editing a wordpress post is extremely painful. Simply moving the cursor around is laggy with d2d on. I wonder if that is because wordpress editor is hosted in a much more complex page with a big dom and we are invalidating the whole page on cursor movement :( This is related to other bugs I filed, eg 695116. Is there a way to check if we are reflowing/repainting the whole page?
Taras tells me that this also happens when moving the caret using the arrow keys. My hunches are either repainting too much of the page, or a D2D perf bug. Assigning to Bas for investigation. :-)
You can set the pref nglayout.debug.paint_flashing to true to see what gets repainted in your browser (it doesn't need to be a debug build, release builds work fine).
I checked with nglayout.debug.paint_flashing. Moving the caret, typing, scrolling the editor causes the whole page to repaint on my mozilla wordpress.
Where do I go to reproduce this so I can debug why we are painting too much?
(In reply to Timothy Nikkel (:tn) from comment #6) > Where do I go to reproduce this so I can debug why we are painting too much? perhaps Matt can advise
(In reply to Wayne Mery (:wsmwk) from comment #7) > (In reply to Timothy Nikkel (:tn) from comment #6) > > Where do I go to reproduce this so I can debug why we are painting too much? > > perhaps Matt can advise I was asking how to reproduce the issue, I don't think Matt has any special info about that.