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 marker interferes with setting C/C++ breakpoints #589

Closed Lotharyx closed 1 year ago

Lotharyx commented 1 year ago

Environment/version

VSCode version info: Version: 1.75.1 (user setup) Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf Date: 2023-02-08T21:32:34.589Z Electron: 19.1.9 Chromium: 102.0.5005.194 Node.js: 16.14.2 V8: 10.2.154.23-electron.0 OS: Windows_NT x64 10.0.19044 Sandboxed: Yes

Steps to reproduce

  1. Bookmark a line in a C/C++ file
  2. Attempt to set a breakpoint by clicking in the gutter

When the bookmark marker is present, the usual "pointer" cursor does not appear, and setting / clearing breakpoints on that line becomes impossible.

Video: https://user-images.githubusercontent.com/5629932/219705310-c2b825c3-e530-4e81-b747-3520c801de94.mp4

alefragnani commented 1 year ago

Hi @Lotharyx ,

This issue has already been reported, and is caused by VS Code (first reported in https://github.com/alefragnani/vscode-bookmarks/issues/56), but unfortunately, there is nothing I can do on my side. The extension doesn't have any control about the click event. In fact, I wish I had, because I could add a add bookmark with mouse click option 😃

It is being tracked in https://github.com/microsoft/vscode/issues/5923, and besides the original visual issue has been partially solved by VS Code, the click still doesn't.

Hope this helps