Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Console language drop-down doesn't open a stopped interpreter console #1592

Closed
dfalty opened this issue Oct 16, 2023 · 1 comment
Closed
Labels
area: console Issues related to Console category. bug Something isn't working

Comments

@dfalty
Copy link

dfalty commented Oct 16, 2023

Positron Version:

Positron Version: 2023.10.0 (Universal) build 1269
Code - OSS Version: 1.83.0
Commit: f071249
Date: 2023-10-16T17:31:41.064Z
Electron: 25.8.4
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Darwin arm64 22.6.0

Steps to reproduce the issue:

image

Screen.Recording.2023-10-16.at.4.17.58.PM.mov
  1. Have both a Python and R installed.
  2. Go to Python in the Console
  3. From the Interpreter drop down menu, select Stop the interpreter button for R
  4. In the Console dropdown menu, select R
  5. Notice nothing happens and you don't switch to the R console

What did you expect to happen?

Even though the R interpreter has stopped, I would expect the Console to be changed to R (in this case) and at least be able to see the history of the console with the Restart R button visible.

Found while testing functionality of #647

@dfalty dfalty added the bug Something isn't working label Oct 16, 2023
@petetronic petetronic added this to the Release Candidate milestone Feb 26, 2024
@wesm wesm added area: console Issues related to Console category. bug Something isn't working and removed bug Something isn't working labels Feb 29, 2024
@juliasilge
Copy link
Contributor

This behavior has been fixed. Now what we see is:

  • Have both Python and R consoles running, with one in focus and active
  • From the interpreter dropdown in the top right, select "Stop the interpreter" for the other interpreter
  • Your current active interpreter stays active
  • If you switch to the other interpreter, you see the history and the bit restart button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: console Issues related to Console category. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants