Skip to content

If tooltip is falsy after resolveTreeItem is called, then the tooltip gets stuck as 'Loading...' #115337

Closed

Description

Issue Type: Bug

In the past, if the tree item tooltip was falsy, the label would be used instead on hover.

This code makes it so that if the tree item's tooltip is falsy after calling resolveTreeItem, then instead of following the old behavior and using label, it will stick as 'Loading...' forever.

Instead, if resolvedTooltip is falsy, it should fall back to label to most closely resemble prior behavior.

VS Code version: Code - Insiders 1.53.0-insider (7b0cfdd, 2021-01-27T08:59:32.031Z)
OS version: Windows_NT x64 10.0.19042

System Info
Item Value
CPUs Intel(R) Xeon(R) CPU E5-1620 v3 @ 3.50GHz (8 x 3492)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.91GB (16.38GB free)
Process Argv --crash-reporter-id edba2bce-ac1c-499b-b3ff-28d400cc9143
Screen Reader no
VM 0%
Extensions (11)
Extension Author (truncated) Version
vscode-eslint dba 2.1.14
vscode-docker ms- 1.9.1
csharp ms- 1.23.8
python ms- 2021.1.502429796
jupyter ms- 2020.12.414227025
remote-containers ms- 0.156.0
remote-ssh ms- 0.63.0
remote-ssh-edit ms- 0.63.0
remote-wsl ms- 0.53.2
vscode-remote-extensionpack ms- 0.20.0
azure-account ms- 0.9.5
A/B Experiments
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyt600:30247031

Activity

  1. bwateratmsft commented on Jan 28, 2021

    @bwateratmsft
    ContributorAuthor
  2. added
    bug
    tree-views
    candidate
    on Feb 1, 2021
  3. sbatten commented on Feb 1, 2021

    @sbatten
    Member

    Brandon Waterloo (@bwateratmsft) this fix is out in the latest insiders, can you please let us know when you've verified, thanks

  4. bwateratmsft commented on Feb 2, 2021

    @bwateratmsft
    ContributorAuthor

    SteVen Batten (@sbatten) Alex Ross (@alexr00) everything seems to be working nicely, thanks!

  5. locked and limited conversation to collaborators on Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugcandidatetree-viewsverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions