Selection decorator disappears after mouse move

I can reproduce it with d2vVersion=0.9.0-RC1, chartsKtVersion=1.0.8-RC2.
With the combination 0.8.15/1.0.7-RC4 I didn’t have the issue

Steps to reproduce the issue:

  1. create two charts. In my case the charts have discrete X dimension and quantitative Y dimension, SelectionMode.Multiple, HighlightMode.Single, TriggerMode.Nearest, ZoomMode.XY, PanMode.XY
  2. synchronize the charts, in my case using: sizeManager().vSynchro().addAllCharts()
  3. synchronize also the highlighting, the selection, the zoom and the pan
  4. configure UserAction.SelectionAdd for Ctrl+mousemove and UserAction.SelectionRemove for Ctrl+Shif+mousemove
  5. select two points with the mouse in the first chart. After releasing the left mouse button, do not move the mouse!
    image
    The orange decorator is visible for both points in the first chart
  6. move the mouse a bit → the orange decorators disappear in the first chart
    image
  7. move the mouse over the second chart → the decorators disappear also from the second chart:
    image
  8. select a third point in the first chart (do not move the mouse after releasing the mouse button!) → all three points are selected in the first chart
    image

Thanks a lot for this very detailed report.

I think that the recent modification to the selection modes may have introduced this issue.
Through your precise scenario I think I can spot the problem, I’ll work on it on Friday.

Follow progress in CHRT-229

This should be fixed, we’ll release it in next RC.