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

Fix preview changes not working for new inline rename #64264

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

ryzngard
Copy link
Contributor

@ryzngard ryzngard commented Sep 24, 2022

Since focus changes a lot while preview changes are happening, and the UI thread isn't blocked by previewing changes, we would cancel the rename session when the preview window popped up due to lost focus on the textview and/or the flyout.

This changes so we don't cancel if preview changes is going. We still need to reset the flag if focus is restored. Otherwise a user would always preview the changes whether they intended to or not.

Fixes AB#1619520 and AB#1631159

@ryzngard ryzngard requested review from a team as code owners September 24, 2022 00:50
@ryzngard ryzngard enabled auto-merge (squash) September 26, 2022 18:37
@ryzngard ryzngard merged commit abb9948 into dotnet:main Sep 26, 2022
@ghost ghost added this to the Next milestone Sep 26, 2022
@ryzngard ryzngard deleted the rename/preview_changes branch September 26, 2022 19:25
@Cosifne Cosifne modified the milestones: Next, 17.4 P3 Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants