Comment 8 for bug 1256597

Revision history for this message
Diederik van Lierop (mail-diedenrezi) wrote :

Krzysztof,

you're right about DrawingItem::update() not being called in time. I've found that I can work around this by fixing some stuff in the selector tool, by avoiding unneccesary applications of identity affines, and by avoiding NOOP undo logging. I still believe that I should call DrawingItem::update() explicitly, and not wait for the SPCanvasImpl::idle_handler to do this for me at some point. This would make everything more robust, because the next time someone changes the code of the selector tool things might break again.

What's the best way to call DrawingItem::update() explicitly, and where should I do this?

BTW, I've only studied my own bug report so far;. I haven't looked into Cojnel's report yet