<div dir="ltr">Forgot to ask: When do you think that will make it into the codebase?<div><br></div><div>Thanks,</div><div><br></div><div> -Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 21, 2018 at 12:04 PM, Sgouros, Thomas <span dir="ltr"><<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Got it. I had misunderstood that message to only refer to the PVW changes. I found the protocol.py file and made the change and it seems to work fine now.<div><br></div><div>Thank you,</div><div><br></div><div> -Tom</div><div><br></div><div><br></div><div>For those who are interested, it involves changing the</div><div><br></div><div>/Applications/ParaView-5.5.2.<wbr>app/Contents/Python/paraview/<wbr>web/protocols.py file like this, around line 605:<br><div><br></div><div><br></div><div><div> if not realViewId in self.trackingViews:</div><div> observerCallback = lambda *args, **kwargs: self.pushRender(realViewId)</div><div>- startCallback = lambda *args, **kwargs: self.startViewAnimation()</div><div>- stopCallback = lambda *args, **kwargs: self.stopViewAnimation()</div><div>+ startCallback = lambda *args, **kwargs: self.startViewAnimation(<wbr>realViewId)</div><div>+ stopCallback = lambda *args, **kwargs: self.stopViewAnimation(<wbr>realViewId)</div><div> tag = self.getApplication().<wbr>AddObserver('UpdateEvent', observerCallback)</div><div> tagStart = self.getApplication().<wbr>AddObserver('<wbr>StartInteractionEvent', startCallback)</div><div> tagStop = self.getApplication().<wbr>AddObserver('<wbr>EndInteractionEvent', stopCallback)</div></div><div><br></div></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 21, 2018 at 11:35 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.<wbr>com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">So ParaView 5.5.2 still don't have the correct code base, but ParaView/master works exactly as expected...<div><br></div><div>If you look back at our previous email thread, I must have highlighted to you what was the change I had to do on the server side, which you can easily pick since it is just Python code with your current ParaView version.</div></div><div class="m_1747521062135120715HOEnZb"><div class="m_1747521062135120715h5"><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 20, 2018 at 9:11 PM Sgouros, Thomas <<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Sebastien:<div><br></div><div>Actually no, that doesn't change this behavior. One view moves with the cursor when I click on it, while the other only moves when the mouse button is lifted. This is true on your example, as well as my code, and I seem unable to control which one is which. Are you saying your example works differently for you?</div><div><br></div><div>Thanks,</div><div><br></div><div> -Tom</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 20, 2018 at 8:53 PM, Sgouros, Thomas <span dir="ltr"><<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Ok, thanks. I'll give that a try.<div><br></div><div> -Tom</div></div><div class="m_1747521062135120715m_-1511297592639514934m_1744704729345269703HOEnZb"><div class="m_1747521062135120715m_-1511297592639514934m_1744704729345269703h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 20, 2018 at 5:44 PM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You need ParaView 5.5.2 or master as I said last time, I fixed some stuff on the python side to properly register animation on a given view.<div>Or you may have patched your ParaView. But for sure, you need Python code along with the pvw change I made. </div></div><div class="m_1747521062135120715m_-1511297592639514934m_1744704729345269703m_8771007676451524670HOEnZb"><div class="m_1747521062135120715m_-1511297592639514934m_1744704729345269703m_8771007676451524670h5"><br><div class="gmail_quote"><div dir="ltr">On Wed, Jun 20, 2018 at 1:12 PM Sgouros, Thomas <<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 20, 2018 at 10:43 AM, Sebastien Jourdain <span dir="ltr"><<a href="mailto:sebastien.jourdain@kitware.com" target="_blank">sebastien.jourdain@kitware.co<wbr>m</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Tom,<div><br></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- The mouse handler seems to listen only to one view...</span><br></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">I though the example in <a href="https://github.com/Kitware/paraviewweb-examples" target="_blank">https://github.com/Kitware/<wbr>paraviewweb-examples</a> was taking care of that. Or maybe I don't understand what you mean here.</span></div></div></blockquote><div><br></div><div>I'm not really sure if it is or it isn't. It may be an illusion created by the other problem, but I don't know how to tell for sure which view is listening.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- The behavior I observe is that one of the views moves...</span><br></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">That could be possible but are you using the latest ParaView/master? Normally any registered view should receive a stream of images. With the fix I've done last time for the multi-view.</span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></div></div></blockquote><div><br></div><div>The example you wrote behaves this way for me, too, even when I link the views (see patch attached). One moves with the cursor and the other only moves when you lift up the mouse button. Change the sphere to something you can see move better and you'll see. I'm using the ParaViewWeb 3.2.2 that you made. Or are you talking about Paraview itself? That's at 5.5.0rc3. Were there relevant changes since then?</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"></span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">- When I make one of the views invisible...</span><br></span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Do you still have a css / size issue when you make it available again? You need to inspect the DOM to see where that component is present (area of active). </span></span></span></div><div><span style="background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">Then does interacting on that area is not enough to get the images, o</span></span></span><span style="font-size:small">r interacting does not work because the "active" area has a size 0x0?</span></div><div><span style="font-size:small"><br></span></div></div></blockquote><div><br></div><div>I did fix the css / size issue that was pestering me last week. Your explanation has the air of plausibility, but I don't completely understand how this would work. Can you suggest how I would find the size of the active area?</div><div><br></div><div>Thanks,</div><div><br></div><div> -Tom</div><div><br></div><div><br></div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_quote"><div><div class="m_1747521062135120715m_-1511297592639514934m_1744704729345269703m_8771007676451524670m_-7021613011740490721m_-6876363756719224539h5"><div dir="ltr">On Wed, Jun 20, 2018 at 6:38 AM Sgouros, Thomas <<a href="mailto:thomas_sgouros@brown.edu" target="_blank">thomas_sgouros@brown.edu</a>> wrote:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_1747521062135120715m_-1511297592639514934m_1744704729345269703m_8771007676451524670m_-7021613011740490721m_-6876363756719224539h5"><div dir="ltr">Hi All:<div><br></div><div>I'm working on a ParaViewWeb client talking to a pvpython server that shows two linked renderviews. The link works, and it all looks great, but there remain a couple of oddities I can't seem to squeeze out:</div><div><br></div><div> - The mouse handler seems to listen only to one view, and I can't seem to control which one it pays attention to. How can I demand it listen to one or the other?</div><div><br></div><div> - The behavior I observe is that one of the views moves with the mouse on a click and the other catches up when I release it. They do not move together, although this is close enough. Is this the expected behavior?<br></div><div><br></div><div>A possibly relevant data point: On the machine where the pvpython server is running, there is a little undecorated window that appears, and the view that I see in there is the one that moves with the mouse. But I can't seem to control which view is visible there. Most of the time it seems to be the one I draw second, but not all the time. What is this window and what can it tell me?</div><div><br></div><div>One other issue:</div><div><br></div><div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"> - When I make one of the views invisible (by simply not rendering it in the parent React object) I can't get it to render when it reappears. The render function is being invoked, but nothing appears. If I refresh the whole page, it appears again.</div><div style="font-size:small;text-decoration-style:initial;text-decoration-color:initial"><br></div></div><div><br></div><div>Thank you,</div><div><br></div><div> -Tom</div></div></div></div>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
ParaView discussion is moving! Please visit <a href="https://discourse.paraview.org/" rel="noreferrer" target="_blank">https://discourse.paraview.org<wbr>/</a> for future posts.<br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" rel="noreferrer" target="_blank">http://paraview.org/Wiki/ParaV<wbr>iew</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=ParaView" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="https://public.kitware.com/mailman/listinfo/paraview" rel="noreferrer" target="_blank">https://public.kitware.com/mai<wbr>lman/listinfo/paraview</a><br>
</blockquote></div>
</blockquote></div><br></div></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>