Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Performance issue when deleting objects #1972
This is because it only happens when the objects that are being removed are selected.
The problem is that each object is removed individually, which causes a change to the set of selected objects, and in response to each such change a lot of code is executed in the Objects view (synchronizing the selection) and the main map view (like recomputing resize handle positions).
So a possible fix is to explicitly deselect all objects that are going to be removed first, such that there is only one change to the selection. But that does not work when the change is later redone after the objects are selected again. The real fix probably requires the use of a single undo command that can remove / restore multiple objects.