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

Delay before codefix can be invoked #60857

Open
drewnoakes opened this issue Apr 20, 2022 · 3 comments
Open

Delay before codefix can be invoked #60857

drewnoakes opened this issue Apr 20, 2022 · 3 comments

Comments

@drewnoakes
Copy link
Member

Version Used:

Version 17.3.0 Preview 1.0 [32418.431.main]

Steps to Reproduce:

  1. Position caret in a multi-line verbatim string
  2. Ctrl+.
  3. Click on "Convert to raw string" immediately
  4. Notice that you cannot click on it for a while

It seems as though you cannot click the item until the preview submenu has been prepared, but that might be unrelated.

raw-string-codefix-delay

In the GIF I click repeatedly. If you only click once, then nothing happens. You are left waiting and have to click again.

In case it's hard to repro, the code in the GIF starts here.

Expected Behavior:

Able to select Ctrl+. item immediately.

Actual Behavior:

Cannot select item until the submenu that shows a preview has been displayed. This

@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Apr 20, 2022
@drewnoakes
Copy link
Member Author

It seems this delay is only limited to the mouse. When pressing enter, the action applies instantly.

@CyrusNajmabadi
Copy link
Member

@olegtk @gundermanc @AmadeusW ?

@olegtk
Copy link
Contributor

olegtk commented Apr 21, 2022

CC @kayle

Doesn't look like a known issue, please route to the editor, @jinujoseph. Thanks!

@jinujoseph jinujoseph added Area-External and removed Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Apr 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants