quarto-dev / quarto-dev/quarto

Zoom "Auto" is not working as expected

Open
#389 2 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 really enjoy using the Preview functionality of the Quarto VS Code extension. However, I think the zoom "Auto" setting is currently not working as intended (I'm pretty sure that it used to work previously).

Setting the zoom to "Auto" should always render the entire page (i.e. full width), and if it doesn't fit into the preview pane, the entire document should be scaled down. However, when I change the size of the panel, line breaks change depending on the width of the pane:

https://github.com/quarto-dev/quarto/assets/4377312/0156adc1-904d-436a-b292-0897d3e145c1

This happens in multiple locations, but it is best visible in the first paragraph and in the third bullet point.

I'm using VS Code 1.87.0 and Quarto Extension 1.110.1.

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 with the Quarto VS Code extension's Preview functionality and its zoom "Auto" setting. Reproduce the issue by resizing the preview pane and observe the first paragraph and third bullet point. Done means the entire page remains visible by scaling to fit, without line breaks changing with pane width.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.