Skip to content

Caret render position not always updated #26135

Closed

Description

  • VSCode Version: Code 1.12.1 (f6868fc, 2017-05-04T21:18:32.269Z)
  • OS Version: Darwin x64 16.5.0
  • Extensions: none

Steps to Reproduce:
Move caret around (clicking to new position seems to increase how often this will happen, though it'll occur when using the arrow keys too).

When caret does not move to the clicked position, use an arrow key and observe that the caret position is rendered relative to where last clicked (even though it did not visually move there).

E.g. occasionally the caret will (after some delay) jump one character left or right of where I click (after manually hitting an arrow key).
out

Activity

  1. soncodi commented on May 8, 2017

    @soncodi
    Contributor

    This is especially pronounced when switching between editor tabs (with some sections of code folded) - the cursor jumps down to the bottom of the page once you switch back to the first tab and press left/right arrow keys.

  2. added
    macos
    on May 8, 2017
  3. alexdima commented on May 8, 2017

    @alexdima
    Member

    Alex Soncodi (@soncodi)
    Please open a separate issue, you might be hitting a different issue around switching editors. Also, please include the vs code version you are on and your OS.

    This might be caused by my removal of the dodgy code we had in place in case Chrome drops our animation frame request in a11c6da. Johannes Rieken (@jrieken) since we noticed this on your machine when we first introduced the setTimeout workaround, can you reproduce?

  4. added
    info-needed
    on May 8, 2017
  5. aidantwoods commented on May 8, 2017

    @aidantwoods
    Author

    Just for completeness, here's the settings.json file I'm using (just incase user applied colour scheme overrides/cursor blink setting have any bearing on this): https://gist.github.com/aidantwoods/3c70ec7a6ff5047da09696809c5732fb

  6. soncodi commented on May 9, 2017

    @soncodi
    Contributor

    New issue created in #26251 alexandrudima

  7. alexdima commented on Sep 28, 2017

    @alexdima
    Member

    Aidan Woods (@aidantwoods) Can you still reliably reproduce this ? Does this reproduce when running code --disable-gpu ?

  8. aidantwoods commented on Sep 28, 2017

    @aidantwoods
    Author

    I can no longer reproduce.

    • VSCode Version: Code 1.16.1 (27492b6, 2017-09-14T16:24:39.530Z)
    • OS Version: Darwin x64 16.7.0
    • Extensions: none
  9. locked and limited conversation to collaborators on Nov 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-neededmacos

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions