Kitware/paraviewweb

MouseHandler limitations

Opened this issue · 2 comments

MouseHandler does not support middle button.

MouseHandler right button support is broken:
You first need to do a full right click (mouse down and up), then hover the mouse (move the mouse with buttons up) to trigger interaction events and finally finish with a full click (mouse down and up).

The pre-interpretation of the mouse behavior client-side (zoom, pan, rotate) should probably fully handled server side via:

  interactionProxy = pxm.GetProxy('settings', 'RenderViewInteractionSettings')
  interactionProxy.Camera3DManipulators = ['Rotate', 'Pan', 'Zoom', 'Pan', 'Roll', 'Pan', 'Zoom', 'Rotate', 'Zoom']

With maybe an exception with gesture events...

What are you talking about? Which class in this repo is affected?

I am talking about class MouseHandler and/or VtkWebMouseListener
I'm not sure which one is responsible for what. I have them both in my callstack :-)