ClickSelectingTool inconsistent behavior with key modifiers

This is more of a general comment that I’d like clarity on.

When selecting nodes on a diagram with the standard ClickSelectingTool, if I want to multiselect using the ctrl key modifier, I’m also able to unselect nodes. However, when using the shift key modifier, I am not.

Why are these behaviors different by default? Is there is a straightforward way to make them consistent?


We’re just following the standard Microsoft UI guidelines: Windows 7 Mouse and Pointers - Win32 apps | Microsoft Learn

Okay, thanks.

Is there a straightforward way to make these behaviors consistent for the ClickSelectingTool?

You could override ToolManager.standardMouseSelect. The definition is given in How to trigger selection event.

Got it, thanks!