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

Cursor gets wrong offset through zoom-in/out #26388

Closed
nocke opened this issue May 10, 2017 · 1 comment
Closed

Cursor gets wrong offset through zoom-in/out #26388

nocke opened this issue May 10, 2017 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Milestone

Comments

@nocke
Copy link

nocke commented May 10, 2017

  • VSCode Version: Code 1.12.1 (f6868fc, 2017-05-04T21:40:39.245Z)
  • OS Version: Linux x64 4.4.0-38-generic
  • Extensions:
Extension Author Version
beautify HookyQR 1.0.2
vscode-eslint dbaeumer 1.2.8
vscode-instant-markdown dbankier 1.1.0
vscode-scss mrmlnc 0.6.2
debugger-for-chrome msjsdiag 3.1.1
java redhat 0.2.0
sass-indented robinbentley 1.3.1
trailing-spaces shardulm94 0.2.11
language-stylus sysoev 1.6.0
vscode-react-native vsmobile 0.3.2
markdown-pdf yzane 0.1.7

Steps to Reproduce:

  1. have a multi-line Text open in Editor. Use wrap mode. Cursor somewhere 1/3rd from left.
  2. Add/remove a few characters.
  3. Zoom In (enlarge / ctrl-+). Type a letter.

RESULT: Actual inserting is 10-15px further left, than the seeming cursor position: Here I typed three 'A' and didn't move the cursor after that... yet, the cursor seems 1¼ chars further right...

EXPECTED: correct Cursor position.

  • Closing and reopening file doesn't heal.
  • Effect ist stronger closer to the right side of the panel.
  • I only noticed this bug in the last 1-3 releases, not before. (And I zoom quite a bit :)

bug-3a

@alexdima
Copy link
Member

I just pushed a fix for this 2hrs ago :). Duplicate of #26151

@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label May 10, 2017
@alexdima alexdima modified the milestone: May 2017 May 31, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants