Bug 74230

Summary: Plugin dialog should reload the interface if the plugin is reloaded
Product: [Applications] kst Reporter: George Staikos <staikos>
Component: pluginsAssignee: kst
Status: RESOLVED FIXED    
Severity: normal CC: arwalker, claude.mercier, claude.mercier
Priority: HI    
Version: 1.x   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description George Staikos 2004-02-05 14:03:08 UTC
If a plugin is removed and reloaded while the plugin dialog is open, the 
dialog needs to trigger a UI reconstruction because the interface for the 
plugin (the inputs and outputs) may have changed.
Comment 1 George Staikos 2004-02-18 22:01:00 UTC
*** Bug 75539 has been marked as a duplicate of this bug. ***
Comment 2 George Staikos 2004-02-23 04:26:37 UTC
More complicated than originally thought.  The KstPlugin retains its pointer to the old plugin on rescan or install/remove.  This needs to be updated also, to close the old library, reparse and pass in the new XML data, etc.
Comment 3 Andrew Walker 2004-08-26 00:52:57 UTC
*** Bug 88085 has been marked as a duplicate of this bug. ***
Comment 4 George Staikos 2005-03-22 06:17:11 UTC
CVS commit by staikos: 

- parent the dialogs so they don't fall behind
- finally fix the very nasty-to-fix bug where reloading plugins didn't reload
the UI
BUG: 74230


  M +0 -2      kst.cpp   1.297
  M +2 -3      kstcurvedialog_i.cpp   1.84
  M +1 -1      kstcurvedialog_i.h   1.19
  M +2 -3      ksteqdialog_i.cpp   1.79
  M +1 -1      ksteqdialog_i.h   1.19
  M +2 -3      ksteventmonitor_i.cpp   1.32
  M +1 -1      ksteventmonitor_i.h   1.17
  M +2 -3      kstfilterdialog_i.cpp   1.32
  M +1 -1      kstfilterdialog_i.h   1.7
  M +2 -3      kstfitdialog_i.cpp   1.56
  M +1 -1      kstfitdialog_i.h   1.13
  M +2 -3      ksthsdialog_i.cpp   1.83
  M +1 -1      ksthsdialog_i.h   1.21
  M +3 -4      kstimagedialog_i.cpp   1.30
  M +1 -1      kstimagedialog_i.h   1.8
  M +2 -3      kstmatrixdialog_i.cpp   1.21
  M +1 -1      kstmatrixdialog_i.h   1.7
  M +105 -13   kstplugindialog_i.cpp   1.101
  M +4 -1      kstplugindialog_i.h   1.22
  M +2 -3      kstpsddialog_i.cpp   1.79
  M +1 -1      kstpsddialog_i.h   1.17
  M +3 -5      kstvectordialog_i.cpp   1.64
  M +1 -1      kstvectordialog_i.h   1.21
  M +4 -2      plugincollection.cpp   1.25
  M +3 -0      pluginmanager.ui   1.16
  M +1 -0      pluginmanager.ui.h   1.24