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

After opening a .qmd document, the outline displays no content. #6076

Open
dbcoffee opened this issue Jan 22, 2025 · 5 comments
Open

After opening a .qmd document, the outline displays no content. #6076

dbcoffee opened this issue Jan 22, 2025 · 5 comments
Labels
area: quarto Issues related to Quarto category. bug Something isn't working support
Milestone

Comments

@dbcoffee
Copy link

System details:

Positron and OS details:

Positron Version: 2025.01.0 (system setup) build 159
Code - OSS Version: 1.95.0
Commit: bc8820b
Date: 2025-01-09T23:34:24.616Z
32.2.1
128.0.6613.186
Electron: 20.18.0
ElectronBuildId: 12.8.374.38-electron.0
Chromium: Windows_NT x64 10.0.26100
Node.js: undefined
V8: undefined
OS: undefined

Interpreter details:

R 4.4.1

Describe the issue:

When opening a .qmd file in Positron, the sidebar outline does not display any content initially. However, after editing the contents of the .qmd file, the outline updates and displays correctly.

Steps to reproduce the issue:

  1. Create a new .qmd document and input Markdown text.
  2. Close Positron directly.
  3. Upon reopening Positron, the previously opened .qmd file automatically opens, but the outline does not display any content. After editing the .qmd file, the outline then displays correctly.

Expected or desired behavior:

When Positron opens, the outline of the automatically opened .qmd file displays correctly.

Were there any error messages in the UI, Output panel, or Developer Tools console?

NO.

@lionel-
Copy link
Contributor

lionel- commented Jan 22, 2025

Thanks for the report! Unfortunately I cannot reproduce: https://github.com/user-attachments/assets/ccc23f2e-4a30-4928-ad3f-a3fcab08c76e

Could you post a screencast please? And the contents of the qmd file? Does it happen with any qmd files?

@lionel- lionel- added area: quarto Issues related to Quarto category. info needed Waiting on information labels Jan 22, 2025
@juliasilge
Copy link
Contributor

If you are able to test out whether this happens in VS Code as well, that would be super helpful. There have been some intermittent problems with the outline such as in #3824 but:

  • so far folks are also able to observe the behavior in VS Code, which means it is not a Positron problem, but a problem for the Quarto extension
  • we have not been able to reproduce the problem on the Positron team, making it tough to think about how to fix

@dbcoffee
Copy link
Author

Whether opening or modifying the content of the .qmd file, there is no display in the Outline panel in VSCode (The Quarto extension has already been installed). In Positron, the outline does not display only when Positron is first started, but after modifying the .qmd file, it displays normally. On my other computer, where Positron is installed, there are no issues when opening Positron.

There is the screencast https://github.com/user-attachments/assets/a6fdcb4f-cdb2-4dca-9a73-d6567237b38a

@lionel-
Copy link
Contributor

lionel- commented Jan 23, 2025

Actually I can now reproduce:

  • Create a new qmd file containing a couple of headers
  • Close the tab
  • Quit Positron and relaunch it
  • Open the file again

You should see:

Image

@lionel- lionel- removed the info needed Waiting on information label Jan 23, 2025
@juliasilge juliasilge added bug Something isn't working support labels Jan 24, 2025
@juliasilge
Copy link
Contributor

juliasilge commented Jan 29, 2025

We see this in Positron but not VS Code using the same version of the Quarto extension.

If you close and re-open the file, the outline appears correctly.

@juliasilge juliasilge added this to the Future milestone Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: quarto Issues related to Quarto category. bug Something isn't working support
Projects
None yet
Development

No branches or pull requests

3 participants