alefragnani / vscode-bookmarks

Bookmarks Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=alefragnani.Bookmarks
GNU General Public License v3.0
1.7k stars 163 forks source link

[BUG] - Bookmark is wrongly deleted while using Backspace one line below #482

Open shp7724 opened 2 years ago

shp7724 commented 2 years ago

Similar to #424.

Environment/version

Steps to reproduce

  1. Create a bookmark at the end of the line.
  2. Type Enter.
  3. Type Backspace.

Hello.

First of all, please note that I'm not using native vscode, which might be the cause of the issue. All other features of Bookmarks work just as expected, however.

I recorded what's happening when I type backspace to move to the line where bookmark was created.

https://user-images.githubusercontent.com/33917774/140454757-1e5906b7-367f-45c5-af0a-1f8fbee1388f.MOV

Please let me know if this is expected behavior, or reproducible in the native vscode.

Update

Seems like it has to do with the experimental sticky engine, which was enabled by default. After disabling it, the bug is gone.

Thank you.

alefragnani commented 2 years ago

Hi @shp7724 ,

I could reproduce the error. Thanks for reporting.

elliotching commented 2 years ago

I found another similar bug but similarly, the bug gone after disable the experimental sticky engine.

shp7724 commented 2 years ago

Is this issue planned to be fixed? This issue is critical for my use case, and I wonder if it isn't for other people. 😢

SergeyBeloglazovRL commented 2 years ago

I've got a similar problem. Steps to reproduce:

  1. Create a bookmark
  2. Go to the end of the line
  3. Press 'Delete' key
  4. Bookmark will disappear. E.g. for PHP: изображение изображение

I had disabled all extensions except Bookmarks before an experiment.

Disabling sticky engine really helped. изображение