posit-dev / posit-dev/positron

Restart Console button doesn't escape out of menu choices

Open
#3,050 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area: console bug lang: r
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 9h
Merged PRs (30d)
195

Description

Positron Version:

Positron Version: 2024.05.0 (Universal) build 1157
Code - OSS Version: 1.89.0
Commit: ed7ad00efad489a0d5de1b4551e70f3cfa78f681
Date: 2024-05-07T08:14:42.800Z
Electron: 28.2.8
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

Steps to reproduce the issue:

  1. start menu in R console (menu(1:4))
  2. press "Restart console" buttom

https://github.com/posit-dev/positron/assets/14034784/ed37298a-4a11-4271-8ce3-ffec974a2a4a

If you notice, no matter how many times i press "Restart console", it doesn't work, i have to give a choice THEN press "Restart console" again.

What did you expect to happen?

For "Restart console" to escape out of the menu choice

Were there any error messages in the output or Developer Tools console?

Nope

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the R console with menu(1:4), then press the Restart console button while the menu choice is pending. Done means restarting the console also exits the pending menu without requiring a choice first.

Written by the indexing model from the issue text.

Assessment

Tech stack
r, typescript
Domain
desktop, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.