Comment 3 for bug 1688074

Revision history for this message
Seth Hillbrand (sethh) wrote :

Hmm... What was the expected behavior here?

Currently, d0ffff3b88 just prevents delete from happening while actively routing. I tested and it looks like we can use both delete and alt-delete from within the routing tool as long as you are not actively routing.

I have a patch to allow deleting tracks while routing but it deactivates the full route. I feel like this is not really beneficial as the user would lose their track unexpectedly.

I've looked at ways to allow deletion while keeping the current track but I don't understand the tool framework sufficiently to implement this at the moment. Currently if you allow the delete event to proceed, the PointEditor gets activated, an activation event that stops the routing. I assume that the tool manager is just iterating through tools that tie with interactiveSelection event.

Just skipping the activation events is not a good idea either because then we end up with a partially routed track even when a hotkey has triggered another action (e.g. placing a component).

There's probably a clever solution to this but it escapes me for now.