Comment thread widget is clipped by the minimap in the diff editor
- Dominant language
- TypeScript
- Stars
- 193k
- Forks
- 42.4k
- PR merge metrics
- PR metrics pending
Description
Type: Bug
The comment thread zone widget (from the `vscode.comments` API) spans the full editor width, including the area under the minimap. The right edge of the widget, its header actions and the reply input box are drawn under the minimap and are partly hidden.
Observed in the modified side of a diff editor opened through `vscode.diff` and in the multi-file diff editor. With `editor.minimap.enabled` set to `false` the widget shows its full border and header actions.
Steps:
1. Enable the minimap (default).
2. Open a diff editor for any file.
3. Have any extension that uses `vscode.comments` create a comment thread on a line in the modified side (the `comment-sample` extension from vscode-extension-samples works).
4. Expand the thread.
Expected: the widget stops at the minimap, like other zone widgets (find widget, peek view).
Actual: the widget's right border, collapse button and resolve button sit under the minimap. The reply textarea and the "Comment" button are also clipped.
VS Code version: 1.137.0 (645f29cc3176500b4b5762ba887cf2a7f0ffdf2c, x64)
OS: Windows 11 Home 10.0.26200
Contributor guide
Assessment
This issue has not been assessed yet.