Skip to content

Conversation

@1grzyb1
Copy link
Collaborator

@1grzyb1 1grzyb1 commented Jan 28, 2026

When pressing Escape during an active template (e.g., inline rename), a race condition with VimVisualTimer could override the user's intent by switching back to INSERT mode, because the delayed selection change handler assumed being in NORMAL mode with an active template meant the user wanted INSERT.

Solution: Cancel any pending VimVisualTimer callbacks when explicitly exiting INSERT or SELECT mode, ensuring the user's Escape action is respected.

@AlexPl292
Copy link
Member

According to the status, the flakiness is not fixed :D

@1grzyb1
Copy link
Collaborator Author

1grzyb1 commented Jan 29, 2026

According to the status, the flakiness is not fixed :D

image

@1grzyb1 1grzyb1 force-pushed the grzybek/inline-flaky-test branch from ea68dfa to 3d0c8b8 Compare January 29, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants