Comment 8 for bug 1219794

Revision history for this message
philippe joyez (uone-5-pjoyez) wrote : Re: cpu spikes when editing text in complex SVG files

I attach a patch for text-tool.cpp that dramatically improves the reactivity and hence the usability of the text tool in linux. The idea is to flush the motion events that arrive while the tool is trying to figure what piece of text might be under the cursor, which takes a long time in a large drawing. BTW unless I'm mistaken it seems that this search does not take into account the visibility (or editability) of elements in the drawing.

The attached patch is obviously only a partial solution. It makes working with large files still slow, but bearable, at least.