posit-dev / posit-dev/positron

Console can't be focused using View: Focus Next/Previous Part commands

Open
#1,697 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Positron Version:

Positron Version: 2023.10.0 (Universal) build 1394
Code - OSS Version: 1.83.0
Commit: 8458ae9c4352caef753b5840abff122ea54fbcd1
Date: 2023-10-26T03:00:51.340Z
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:

  1. Open a source file (any type) in the editor, make sure the Console is visible, and click in the editor to ensure it has focus
  2. Try to move to the Console using F6 or "View: Focus Next Part" from the command-palette

Focus doesn't move. Same problem if you focus the status bar (View: Focus Status Bar) then try to move to the Console with Shift+F6 or "View: Focus Previous Part".

If you select a different panel (e.g. Terminal) this feature works correctly.

What did you expect to happen?

Be able to move to the Console using these built-in VSCode commands.

Note that there's an issue in VSCode where you can't use this technique to move to the Secondary Side Bar (on the right, where much of Positron's stuff lives). Hopefully, it will get fixed so all our features can be reached this way: https://github.com/microsoft/vscode/issues/171229

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

N/A

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

Start by tracing the View: Focus Next Part and View: Focus Previous Part commands from the command palette, comparing their behavior for the Console and Terminal. Reproduce the editor-to-Console and status-bar-to-Console focus transitions, then verify that F6 and Shift+F6 move focus to the Console as they do for other panels.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
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.