Closed tomvdbussche closed 4 years ago
When receiving a SelectAction from the client, the list of selected elements is cleared every time. This can result in an inconsistent state when selecting more items without deselecting them. The part in question: https://github.com/eclipse/sprotty-server/blob/db286b003a938ad862bc2da4441233e88434ed9b/org.eclipse.sprotty/src/main/java/org/eclipse/sprotty/DefaultDiagramServer.java#L479-L480
Additionally when dispatching a SelectAction or SelectAllAction from the server, the selected items in the state remain unchanged.
SelectAction
SelectAllAction
When receiving a SelectAction from the client, the list of selected elements is cleared every time. This can result in an inconsistent state when selecting more items without deselecting them. The part in question: https://github.com/eclipse/sprotty-server/blob/db286b003a938ad862bc2da4441233e88434ed9b/org.eclipse.sprotty/src/main/java/org/eclipse/sprotty/DefaultDiagramServer.java#L479-L480
Additionally when dispatching a
SelectAction
orSelectAllAction
from the server, the selected items in the state remain unchanged.