5 second delay when rendering Quarto in VSCode with conda environment
Maintainer thường phản hồi trong vòng 1 ngày
@cscheid đang làm issue này rồi.
Từ ngày 30/4/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Bug description
When opening a .qmd file and rendering in VSCode with a conda environment, the terminal opens up, idles for 5 seconds, and then finally renders the page. If I press a key in the terminal it loads faster, but otherwise it waits 5 seconds. The problem is in this code:
The problem here is reflected in the comment
"note that we can do this without risk of undue delay b/c the state.isInteractedWith bit will flip as soon as the environment has been activated"
This is wrong - it is not how it really works. Instead, in VSCode, the terminal opens up immediately, but it waits for me to press a key before doing anything. I would imagine that state.isInteractedWith is not actually set until a user gesture such as a keypress happens after the terminal is opened.
In fact, if I do press anything and interact with the terminal, this breaks a different way. For instance, if I press the letter "x", it prepends it to the beginning of the command:
(core) [b] mike:~$ xquarto preview "/Users/mike/test.qmd" --no-browser --no-watch-inputs
bash: xquarto: command not found
I have the same problem regardless of if python-envs.terminal.autoActivationType is set to shellStartup or command in the settings.json.
I'm not sure what the answer is, but FWIW just changing this to 100ms instead of 5s has been alright on my end. There may be a better answer.
Steps to reproduce
Open a .qmd file and render it, such as by clicking the "Preview" button.
Actual behavior
It waits five seconds before doing anything. If I press any key in the meanwhile, it then runs right away, but with my key prepended to the quarto command.
Expected behavior
It should just run the quarto render command immediately, without waiting for a keypress or 5 seconds to elapse.
Your environment
VSCode
Version: 1.116.0 (Universal)
Commit: 560a9dba96f961efea7b1612916f89e5d5d4d679
Date: 2026-04-15T00:28:13Z
Electron: 39.8.7
ElectronBuildId: 13797146
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 23.5.0
Quarto Extension
Installation Identifier: quarto.quarto
Version: 1.131.0
Last Updated: 1 day ago
Size: 30.55MB
- Ngôn ngữ chính
- TypeScript
- Star
- 652
- Fork
- 64
- Merge trung bình
- 8 giờ 45 phút
- Pull request đã merge (30 ngày)
- 36
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của quarto-dev/quarto
-
VS Code extension: `quarto preview` fails when the file path contains parentheses (path not shell-quoted)Có thể đã có người làm @Bondrewd-K đã nhận 5 ngày trước. Đang mởbug vscode
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
quarto-dev/quarto#1194 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
quarto-dev/quarto#1139 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
quarto-dev/quarto#1138 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
quarto-dev/quarto#1137 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add dependabot?Có thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
quarto-dev/quarto#1135 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của quarto-dev/quarto
Issue tương tự
-
[测试] 等待仓库加载后再记录多仓库排序基线Có thể đã có người làm @myot233 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area:arcade p3-medium ready-for-agent testing type:docs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
fderuiter/deruiter.dev#2369 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:devenv origin:agent type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
overengineeringstudio/effect-utils#1949 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ccch1mneyyy/dsh-TUI#1631 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MiniMax-AI/minimax-code#507 ·
Maintainer thường phản hồi trong vòng 1 ngày