quarto-dev / quarto-dev/quarto

Extra non-functional preview process are launched

Open
#372 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  • I open a pdf preview.
  • Then I open an html preview for the same file.
  • It replaces the first pane but two preview terminals are active now.
  • Even if I change the port number in the URL of the preview pane or press the back arrow, I'm unable to return to the pdf view.

This also goes the other way around, if I first had the html preview open and wanted to preview the pdf rendering.

As in https://github.com/quarto-dev/quarto/issues/371 there is a disconnection between terminals and preview panes, here made worse because there are two active terminals.

But in this case there is also a bug since I'm able to see running pdflatex in both preview terminals, as if i Quarto launched the latex engine twice, one in the preexistent terminal and the other in a new one. Often the preview pane gets empty and one of the underlying processes abort with an error:

https://github.com/quarto-dev/quarto/assets/2845433/dbe646c0-e4bb-4ac2-9162-12ed6a84e6c0

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

No source file or test is named. Reproduce the PDF-to-HTML and HTML-to-PDF preview switches while watching both preview terminals, then trace the preview-pane and process lifecycle; done means switching previews leaves only the intended process active and restores the selected rendering reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
latex, typescript
Domain
cli, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.