Skip to content

Debugger value tooltips disappear when you expand its contents. #153173

@jespertheend

Description

@jespertheend

Does this issue occur when all extensions are disabled?: Yes

Version: 1.68.1 (Universal)
Commit: 30d9c6c
Date: 2022-06-14T12:52:13.188Z
Electron: 17.4.7
Chromium: 98.0.4758.141
Node.js: 16.13.0
V8: 9.8.177.13-electron.0
OS: Darwin x64 21.5.0

Steps to Reproduce

  1. Add the following to your user preferences file:
  "launch": {
    "configurations": [
      {
        "name": "Attach node 9229",
        "port": 9229,
        "type": "node",
        "request": "attach",
        "restart": true,
      }
    ]
  }
  1. Start a node process with --inspect (or any debugger really).
  2. Hover over a variable to inspect its value
  3. Click an item in the tooltip to expand its contents.

Expected result
The contents get expanded and the tooltip remains there.

Actual result
The tooltip disappears. It seems like this is only the case if you click to expand quickly after the tooltip appeared. If you wait for a bit and expand it it seems to work fine.

Screen.Recording.2022-06-25.at.00.08.16.mp4.mp4

The actual behaviour seems to be a bit dependent on the situation. For instance, here is a case where the tooltip disappears only briefly. But this is still an issue, as it causes the tooltip to shift and at that point your cursor might no longer be on top of the tooltip, causing it to disappear anyway, or worse, start inspecting another value without it being clear that this is happening.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)debugDebug viewlet, configurations, breakpoints, adapter issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions