quarto-dev / quarto-dev/quarto

Windows VS Code Visual Editor: switching between apps loses coursor

Open
#131 1 comment 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

In visual editor when switching from VS Code to another app and back the coursor is lost (it almost looks like Vim's edit mode since arrow keys just scroll the text). This happens if the swith is performed via Alt-Tab or via mouse click. On Alt-Tab switch, the menu gets the focus (as if Alt alone was pressed). The issue is specific to visual mode, in source mode everything works as expected.

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

Reproduce the issue in Windows VS Code's visual mode by switching away with Alt-Tab and with a mouse click, then compare the behavior with source mode. Done means returning to visual mode preserves the text cursor and focus, with arrow keys editing or navigating rather than scrolling and the menu not receiving focus.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
desktop
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.