paraviewweb icon indicating copy to clipboard operation
paraviewweb copied to clipboard

MouseHandler limitations

Open finetjul opened this issue 4 years ago • 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...

finetjul avatar Mar 24 '21 07:03 finetjul

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

jourdain avatar Mar 24 '21 14:03 jourdain

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 :-)

finetjul avatar Mar 24 '21 14:03 finetjul