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

Keyboard shortcuts stop working after opening toolwindow from infobar #34

Open
sboulema opened this issue Feb 28, 2024 · 5 comments
Open
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@sboulema
Copy link
Owner

sboulema commented Feb 28, 2024

Steps to reproduce:

  1. Open Nuget Monitor tool window
  2. Dock it as tabbed document
  3. Get the info bar for outdated packages to appear
  4. Click Manage
  5. Tool window will be focused as document tab

Bug:
Keyboard shortcuts do not work anymore. Ctrl + Space, Ctrl + B, etc...
Like something is taking focus and catching keyboard events.

Workaround:
For some reason not automatically closing the infobar prevents the bug from happening.

Tried a lot of messing with UI threads and KeyDown event handlers but unable to fix it, so quick and dirty fix is to add an option to not close the infobar.

Interesting to note, keyboard shortcuts keep working if the tool window is floating or docked.

996a8ab

@sboulema sboulema added bug Something isn't working help wanted Extra attention is needed labels Feb 28, 2024
@tom-englert
Copy link
Contributor

tom-englert commented Mar 1, 2024

I have experienced this behavior in various contexts, this is not a specific issue of this extension, it's a general VS problem (or even maybe Windows?), however I never could associate it with a specific action, so I never knew how to report this.

Now that you found a reproducible way, it's a chance to report this as a Visual Studio issue to Microsoft.

P.S. There is a simple fix: hit the alt key some times, then it's working again.

@tom-englert
Copy link
Contributor

@sboulema did you report this to Microsoft?
If you share the issue here, we can vote for it.

@sboulema
Copy link
Owner Author

Nope haven't reported it yet, will do it later today. Thanks for reminding me!

@sboulema
Copy link
Owner Author

Recording made to show that the problem is reproducible

Recording.1.mp4

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

No branches or pull requests

2 participants