Weird interaction between visual mode and preview
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript, vscode
Research direction
Start by reproducing the numbered sequence in VSCode with the Quarto extension while the preview pane and process remain open. Trace the visual/source mode switch and preview interaction; done means switching modes reuses the current tab, preserves tab positions, and does not require killing the preview process.
Written by the indexing model from the issue text.
Description
I can toggle between visual/source modes with C-S-F4, the same tab switches between modes as expected.
But consider the following sequence.
- The editor is in source mode.
- I press the preview button and a preview pane is opened aside.
- I switch to visual mode with C-S-F4.
- Instead of replacing the current tab a new tab for the same file is created in visual mode. 🚨
- I switch to source mode with C-S-F4 from the new tab.
- The tab is closed and I'm sent back to the original one. 🚨
- I switch to visual mode again with C-S-F4.
- A new tab is open, etc.
- Now I go back to the original tab, keeping the new one open.
- From there I switch to visual mode again.
- Tab positions are swapped and I keep staying at the original one. 🚨
Now if I not only close the preview pane but also kill the preview process, everything comes back to normality.
I've attached a screencast showing the problem.
- macOS Sonoma 14.3
- VSCode 1.86.0
- Quarto extension 1.110.1
- Quarto CLI 1.4.549
https://github.com/quarto-dev/quarto/assets/2845433/9956f365-f154-49c5-b43f-478f6e838591
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
quarto-dev/quarto#1099 ·
-
vscode
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
quarto-dev/quarto#934 · 1 comment · 2 reactions ·
-
vscode
Difficulty 5/5 Over a week Newbie friendliness 42/100
quarto-dev/quarto#1130 ·
-
vscode
Difficulty 3/5 1-2 days Newbie friendliness 68/100
quarto-dev/quarto#1122 ·
-
bug vscode zotero
Difficulty 4/5 3-5 days Newbie friendliness 48/100
quarto-dev/quarto#1119 · 1 comment ·
All issues in quarto-dev/quarto
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug 🐞
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
BasedHardware/omi#15320 ·
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
vercel/vercel-plugin#199 ·