snu-quiqcl / qiwis

QuIqcl Widget Integration Software
MIT License
5 stars 2 forks source link

`appInfo` is not updated at all #184

Closed kangz12345 closed 9 months ago

kangz12345 commented 1 year ago

Describe the bug

Qiwis.appInfos attribute is initialized in the constructor and never updated even when createApp() or destroyApp() is called. In consequence, updateFrames() call fails for newly created apps.

Expected behavior

updateFrames() should work properly for newly created apps, which are not loaded in the constructor.

To Reproduce

Steps to reproduce the behavior:

  1. Setup a Qiwis system.
  2. Call createApp(name, appinfo) to add an app.
  3. Call updateFrames(name).

Expected causes and correction methods

Update appInfos attribute properly in createApp() and destroyApp().

Screenshots

If applicable, add screenshots to help explain your problem. Screen Shot 2023-06-08 at 19 04 58 Screen Shot 2023-06-08 at 19 04 33