<div dir="ltr">I guess ParaView is missing more code on the server side. ;-)<div>This time, it will be in the C++.<div><br></div><div><br></div><div>${ParaView-src}/VTK/Web/Core/vtkWebApplication.cxx => vtkPVWebApplication::HandleInteractionEvent</div><div><br></div><div>vs</div><div><br></div><div>${ParaView-src}/Web/Core/vtkPVWebApplication.cxx => vtkWebApplication::HandleInteractionEvent<br></div><div><br></div><div>The VTK one has:</div><div><br></div><div><div> // Handle scroll action if any</div><div> if(event->GetScroll()) {</div><div> iren->SetEventInformation(0, 0, ctrlKey, shiftKey, event->GetKeyCode(), 0);</div><div> iren->MouseMoveEvent();</div><div> iren->RightButtonPressEvent();</div><div> iren->SetEventInformation(0, event->GetScroll()*10, ctrlKey, shiftKey, event->GetKeyCode(), 0);</div><div> iren->MouseMoveEvent();</div><div> iren->RightButtonReleaseEvent();</div><div> this->Internals->ImageCache[view].NeedsRender = true;</div><div> return true;</div><div> }</div></div><div><br></div><div>If you got it working, could you submit a pull request on our gitlab and assign it to me so those fix could be part of PV 5.2?</div></div><div><br></div><div>Thanks,</div><div><br></div><div>Seb</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 17, 2016 at 2:08 PM, Daniel Zuidinga <span dir="ltr"><<a href="mailto:info@seoaachen.de" target="_blank">info@seoaachen.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I added the lines but scroll wheel does not work<div class="HOEnZb"><div class="h5"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Look at ${pv_src}/Web/Python/paraview/<wbr>web/protocols.py #ParaViewWebMouseHandler<br>
vs ${pv_src}/VTK/Web/Python/vtk/w<wbr>eb/protocols.py #vtkWebMouseHandler<br>
<br>
it seems the paraview one is missing:<br>
<br>
if event.has_key("scroll"):<br>
pvevent.SetScroll(event["scrol<wbr>l"])<br>
<br>
Just add it to your paraview python file.<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br></div>