Comment 3 for bug 83632

Revision history for this message
Laszlo Pandy (laszlok) wrote :

No it is not fixed. It happens if you try and cut really close to either edge of an event. The piece that it cuts off will have a duration of 0, and that causes the traceback. To fix this, we need an if statement checking if the duration is zero. If it is, we don't chop anything off that side. However when undoing trim, Jokosher expects to replace one clip on either side. If one of those clips was not created because if this if statement, Jokosher will crash when not finding the second clip to put back. The proper way to solve all these issues to is make trim use the atomic undo action system, which means it can specify how many actions it wishes to perform, and only those will get undone. This bug is assigned to me and I will fix it as soon as I get a chance.