Line Chart Interaction: Toggle Selection should be Replace Selection
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
There are a whole lot of things wrong with the interaction in line charts, which is going to be embarrassing when they are brought up in the ParaView tutorial.
The behavior of Toggle Selection is confusing and appears inconstant. I observe all of the following using a Plot Over Line on a Wavelet source.
- If you highlight a region that has no selected points, those points become selected.
- If you highlight a region that has both selected and unselected points, the points that were not selected become selected except the ones that were selected become unselected, along with those outside the highlight.
- If you highlight a region with no points, nothing happens.
- If you highlight a region with only selected points, nothing happens.
(Note that this bug, in conjunction with #14224 (closed) conspire to make it practically impossible to clear out a selection on a line chart.)
The way this selection should work is that the selection gets replaced with any points that get highlighted. If a region with no points gets highlighted, then the selection should be cleared. This is consistent with how selection works in 3D views. In fact, I would probably advocate removing all other selection types and exclusively support a replace selection mechanism.