positron
positron copied to clipboard
Restarting Python Session, State Incorrect
The Console UI does not accurately reflect a restarting Python session. The status label and restart button do not update accordingly; the session state icon seems to behave properly.
It looks like the UI expects the RuntimeState to remain as Restarting until complete, but the state transitions as:
- Restarting
- Busy
- Idle
- Exited
- Ready
https://github.com/user-attachments/assets/fce80714-f06a-43eb-932e-19c7ca2c9f76
Expected Behavior:
- The restart button in the Console action bar is disabled from when the restart begins until it is complete
- The "Restarting..." label appears from start to finish
cc: @midleman