Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus not restored properly after hovering over a symbol #4930

Closed
GoaLitiuM opened this issue Feb 6, 2020 · 3 comments
Closed

Focus not restored properly after hovering over a symbol #4930

GoaLitiuM opened this issue Feb 6, 2020 · 3 comments

Comments

@GoaLitiuM
Copy link

Type: LanguageService

When debugging and having the debugger on break, hovering over any symbol changes the cursor focus to text editor instead of back to the UI element which was previously focused on. This issue manifests when I use the document search while the debugger is paused and the focus suddenly changes back to editor without touching any keys other than enter in order to jump to the next search result.

To Reproduce

  1. Start debugging the application.
  2. Hit Pause in debugger.
  3. Open up the document search box (CTRL-F) and type something in the field.
  4. Move the mouse cursor over any symbol (function, variable etc.) in the editor which prompts the inspector/info box.
  5. Move the cursor away to dismiss the info box.
  6. Observe the focus changing back to the previous cursor location in text editor instead of back to the search box.

Expected behavior
The focus should be restored back to the previously active element instead of the text editor.

  • OS and Version: Windows 10
  • VS Code Version: 1.41.1
  • C/C++ Extension Version: 0.26.3
@Colengms
Copy link
Collaborator

Colengms commented Feb 6, 2020

@pieandcakes Would this be a debugger issue, or a VS Code issue? I assume this is a VS Code issue.

@pieandcakes
Copy link
Contributor

UI issues should go to VS Code. The debugger gets the underlying call, but doesn't control how the info box/text editor behave.

@GoaLitiuM
Copy link
Author

Ah, my mistake. Refiled it here: microsoft/vscode#90167

@github-actions github-actions bot locked and limited conversation to collaborators Oct 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants