5 second delay when rendering Quarto in VSCode with conda environment
Maintainer antworten meist innerhalb von 1 Tag
@cscheid arbeitet bereits daran.
Seit 30.4.2026.
Bewertung
Dieses Issue wurde noch nicht bewertet.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 660
- Forks
- 64
- Ø Merge
- 1 T. 14 Std.
- Gemergte PRs (30 T.)
- 15
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus quarto-dev/quarto
-
bug vscode
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
quarto-dev/quarto#1211 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 84/100
quarto-dev/quarto#1139 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 1/5 1-3 Stunden Anfängerfreundlichkeit 90/100
quarto-dev/quarto#1138 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
quarto-dev/quarto#1137 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Add dependabot?Evtl. wieder frei Ein Pull Request dazu wurde ohne Merge geschlossen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
quarto-dev/quarto#1135 ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in quarto-dev/quarto
Ähnliche Issues
-
Navbar avatar and name stay stale after saving profile changesEvtl. vergeben @alexechoi hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
marmelab/atomic-crm#416 ·
Maintainer antworten meist innerhalb von 1 Tag
-
feature-request
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
bluesky-social/social-app#12343 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
lucide-icons/lucide#5165 ·
Maintainer antworten meist innerhalb von 1 Tag
-
[Feature] Preferences - Keep the theme selection popover open after selection for quick previewOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 64/100
marktext/marktext#6033 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:desktop bug has repro platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
anthropics/claude-code#107903 ·