bulia byak wrote:
I think we can use an API similar to what you already added:
sp_canvas_force_full_redraw_after_interruptions (canvas, 5)
where the numeric parameter is the number of _consequential_ _interrupted_ (not just interruptible) redraws after which a complete redraw is forced. Can you please code this?
Then, I'd propose that we start using this call in node tool, trying to find the best value of the numeric parameter. If this works out, we may look into adding it in other places too, where needed. However I'm against adding it indiscriminately in each place where we process motion events.
I just committed the code changes for these. The new forced redraw code is written as you asked, and it's only enabled and disabled in the node and node handle dragging/release code in nodepath.cpp. The other tools have been set back to how they were. My initial testing shows that node manipulation is more responsive on some of my more complicated documents after these changes. What is your experience?
John