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

Minor issue, character swapped when typing #42251

Closed
unix-d00d opened this issue Jan 27, 2018 · 4 comments
Closed

Minor issue, character swapped when typing #42251

unix-d00d opened this issue Jan 27, 2018 · 4 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug editor-input Editor text input verified Verification succeeded
Milestone

Comments

@unix-d00d
Copy link

  • VSCode Version: 1.19.2
  • OS Version: macOS High Sierra 10.13.2

Steps to Reproduce:

  1. In editor window, type ab
  2. Click on VS code window title bar and move the window
  3. Resume typing c

Expected result should be 'abc'. Instead the result is 'acb' (i.e. the two characters are swapped).

Does this issue occur when all extensions are disabled?: Yes/No

@unix-d00d
Copy link
Author

Also, tested with extensions disabled (currently have C/C++ 0.14.6, Debugger for Chrome 4.1.0, Python 0.9.1). Problem still occurs.

@mjbvz
Copy link
Contributor

mjbvz commented Jan 27, 2018

Seems to be fixed in the latest insiders builds. Can you please try this on insiders and let me know if you still see the problem

@mjbvz mjbvz added the info-needed Issue requires more information from poster label Jan 27, 2018
@unix-d00d
Copy link
Author

Hi. I just tried 1.20.0-insider build. Problem still exists there.

@mjbvz mjbvz removed the info-needed Issue requires more information from poster label Jan 29, 2018
@rebornix rebornix added the bug Issue identified by VS Code Team member as probable bug label Mar 29, 2018
@rebornix
Copy link
Member

@unix-d00d really nice catch.

It only happens when using custom title bar.

  • Type ab
  • Click the tile bar and move
  • Type c
  • We get an update event from textarea handler, which is replacing the last character b with cb.

It seems with custom title bar, we didn't manage focus/blur correctly.

@alexdima alexdima added the editor-input Editor text input label Apr 4, 2018
@alexdima alexdima added this to the April 2018 milestone Apr 4, 2018
@roblourens roblourens added the verified Verification succeeded label Apr 24, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators May 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug editor-input Editor text input verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

5 participants