snu-quiqcl / iquip

Ion trap Quantum computing User Interface Project
GNU General Public License v3.0
7 stars 0 forks source link

Allow reopening the builder app for the same experiment file #137

Closed kangz12345 closed 11 months ago

kangz12345 commented 1 year ago

Feature you want to implement

Currently, the builders' are named after the experiment files and they are not destroyed when the "X" button is clicked. In consequence, if I open a file "A.py" and close the app, and then try to reopen the file "A.py", the app does not show up. I'm not sure if this is a bug or new feature issue.

How the feature is implemented

We have two choices:

  1. Destroy the builder app when the "X" button is clicked.
  2. Handle the case where the closed files are reopened.

This is actually a more general issue, since this problem applies to any other apps which are located at "center". There is no way to reopen the closed apps. We need to support such feature.

kangz12345 commented 11 months ago

I will go with the first option: destroying the apps.

kangz12345 commented 11 months ago

This is resolved by snu-quiqcl/qiwis#232.