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

Right-clicking almost anywhere in the editor makes "Lean Infoview" focused #438

Open
ge9 opened this issue Apr 30, 2024 · 1 comment
Open
Labels
bug Something isn't working

Comments

@ge9
Copy link

ge9 commented Apr 30, 2024

Description

When I right-click somewhere unrelated to "Lean InfoView", the "Lean InfoView" tab is focused. Especially, when I right-click a lean source file and choose "go to definition", the file including the definition opens at the same pane as "Lean InfoView", which is undesirable.
This also occurs when I right-click some other places like side bar or title bar or file explorer.

Context

This bug happen in VS Code 1.88 (March 2024) and 1.89 (Insider) but not in previous versions. I also tried vscode-lean4 released several months before, and this still happens. Therefore, this may be a bug with VS Code itself. But I don't see behavior like this in other situations (extensions).

Steps to Reproduce

  1. Open some lean file and turn on Lean InfoView in a separate pane, as usual
  2. Bring focus on the lean file, not InfoView
  3. Right click somewhere (in lean file window or other place)
  4. The focus moves to InfoView

Expected behavior:

The focus doesn't move

Versions

[Version of vscode-lean4 (Hover over 'lean4' in the 'Extensions' menu)]
109, 140, 143
[OS version]
I reproduced this in Windows and Linux

@ge9 ge9 added the bug Something isn't working label Apr 30, 2024
@mhuisi
Copy link
Collaborator

mhuisi commented May 14, 2024

I can reproduce this as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants