======================================================================
The switch virtual space toolbar button operated just to switch from one virtual space to the other (without any element selected), so switching the "mode".
Now if there is a selection, all the constraints are moved to the alternative virtual space.
It works similar to the toggle buttons for geometry elements and constraints