quarto-dev / quarto-dev/quarto

Unable to use source view in Positron on Connect Workbench

Open
#800 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug vscode
Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Bug description

When I have a .qmd open and I swap to the Source tab from the Visual tab the editor occasionally crashes.

Originally when I went to open this issue it was occurring every time, but when I went to record for this issue I only had it occur sometimes.

Steps to reproduce

Open a .qmd document on Workbench in Positron and swap between the Source and Visual views.

Actual behavior

Below you can see the second time I hit the Source tab the editor crashes(?) and re-opens the Visual tab.

https://github.com/user-attachments/assets/f79d0a0e-0416-44d5-a216-4a79391f79bf

Expected behavior

I would expect the swap to happen smoothly everytime.

Your environment
  • Posit Workbench: 2025.05.1+513.pro3, “Mariposa Orchid” (05818f78)
    • Using the Workbench Image: 263245908434.dkr.ecr.us-east-1.amazonaws.com/internal-r-session:ubuntu2204-202506092017
  • Positron Version: 2025.06.0 build 167
  • Quarto extension version: 1.124.0

Contributor guide

No contributing guide indexed for this repository

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 reproducing the issue in Positron with a .qmd document on Workbench, switching repeatedly between the Source and Visual tabs. Inspect the Quarto extension's handling of that view transition; done means the editor switches smoothly every time without crashing or reopening the Visual tab.

Written by the indexing model from the issue text.

Assessment

Domain
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.