positron icon indicating copy to clipboard operation
positron copied to clipboard

Restarting Python Session, State Incorrect

Open samclark2015 opened this issue 9 months ago • 0 comments

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:

  1. Restarting
  2. Busy
  3. Idle
  4. Exited
  5. 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

samclark2015 avatar Mar 25 '25 20:03 samclark2015