MantisBT - ParaView
View Issue Details
0012085ParaViewBugpublic2011-04-14 09:452011-05-02 21:45
Sebastien Jourdain 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
 
4.03.12 
0012085: Auto load plugin does not work properly
When used in an install context auto-load plugin do not work properly

This start happening after the merge of Collaboration branch
The issue of missing objects in customized panels of plugins has raised its head
again, but fortunately this time I think I do have a better recipe to reproduce.
At least it worked for me again and again and again; I hope you can reproduce, too.

Consider the ConePanel plugin I send you (and to the mailing list) (30/Mar/2011
01:17am):
* compile it against a post-Collaboration-merge build of ParaView
* move plugin library (libGUIConePanel.so) to the
 - either the "bin" directory of your ParaView build directory
 - or the lib directory created by 'cpack':
_CPack_Packages/Linux-x86_64/TGZ/ParaView-3.11.1-Linux-x86_64/lib/paraview-3.11
* add the following line to the file ".plugins" in the very same directory:

    <Plugin name="GUIConePanel" auto_load="1"/>

* and finally start ParaView from that build directory - disabling the registry (!):

    paraview -dr

Under Tools - Manage Plugins you'll notice that the GUIConePanel plugin did get
loaded, no surprise there.
* Create a cone source. VoilĂ : the text the plugin should add to the Cone panel
is *not* there.

Now, disable autoloading the plugin again by editing ".plugins". Start ParaView
anew - again disabling the registry

    paraview -dr

* Manually load the GUIConePanel from Tools - Manage Plugins.
* Create a cone source. VoilĂ : this time the text got added.

Once again, I hope you can reproduce this time.
No tags attached.
zip conepanel.zip (1,340) 2011-04-14 09:45
https://www.vtk.org/Bug/file/8817/conepanel.zip
Issue History
2011-04-14 09:45Sebastien JourdainNew Issue
2011-04-14 09:45Sebastien JourdainStatusbacklog => tabled
2011-04-14 09:45Sebastien JourdainAssigned To => Utkarsh Ayachit
2011-04-14 09:45Sebastien JourdainFile Added: conepanel.zip
2011-04-14 14:00Utkarsh AyachitNote Added: 0026179
2011-04-14 14:00Utkarsh AyachitStatustabled => @80@
2011-04-14 14:00Utkarsh AyachitFixed in Version => 3.12
2011-04-14 14:00Utkarsh AyachitResolutionopen => fixed
2011-05-02 21:45Alan ScottNote Added: 0026417
2011-05-02 21:45Alan ScottStatus@80@ => closed

Notes
(0026179)
Utkarsh Ayachit   
2011-04-14 14:00   
commit ce0b50bc71f1bfc5942964f28574680f96586844
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Thu Apr 14 13:58:33 2011 -0400

    Fixed BUG 0012085. Ensure autoloaded plugins are processed by Qt code.
(0026417)
Alan Scott   
2011-05-02 21:45   
Taking Utkarsh's word on it.