Dragging objects in compex document very slow in 0.48+devel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Triaged
|
High
|
Unassigned |
Bug Description
I am using 0.48+devel+
The problem I have is when dragging an object inside a complex scene, inkscape becomes very unresponsive (and the CPU is pegged during this time). I can tell that some effort has been made to improve this, because for about the first half-second after I start dragging, it is very responsive (so apparently it is not trying to re-draw the entire object or the background with every frame). After this time, though, the frame rate drops to about 0.5Hz and it becomes more or less impossible to move / scale / rotate the object with the mouse. Furthermore, inkscape (or possibly gtk / X) seems to drop mouse events when it is overloaded, so I can't simply move the mouse to its final destination and wait for inkscape to catch up--I have to keep wiggling the mouse to generate new events until the object is in position. The performance is the same when moving objects with the keyboard. In contrast, changing the order of objects (pgup/pgdn) is very responsive.
Is there anything I can do to profile this? Anything I can try to fix it?
I have attached an example svg that demonstrates the problem on my system.
Changed in inkscape: | |
milestone: | 0.91 → 0.91.1 |
Changed in inkscape: | |
milestone: | 0.91.1 → 0.92 |
Changed in inkscape: | |
milestone: | 0.92 → 0.93 |
Confirmed on Windows XP, Inkscape trunk revision 12703.
With 0.48.4, moving the rectangle is slow when on the complex path, but performance is not affected when moving outside the complex path.
With r12703, it is significantly slower, and performance is affected everywhere (even on the blank parts of the workspace).