NuGet / Home

Repo for NuGet Client issues
Other
1.5k stars 252 forks source link

Package source dropdown Tooltip is not always in sync with sources #9461

Open donnie-msft opened 4 years ago

donnie-msft commented 4 years ago

Details about Problem

The tooltip over Package source dropdown in PM UI does not update when modifying package sources.

NuGet product used VS NuGet version (x.x.x.xxx): 16.6.0 Worked before? Probably never

Actual:

  1. Open PMUI

  2. Enable a disabled package source (also may work by simply adding/removing package sources) using the Tools -> Options method of adding package sources.

  3. Hover over the Package source dropdown and observe that the state did not change to reflect the change in package sources. However, clicking the dropdown, you'll see the change reflected.

image image

  1. Reopen the PMUI window and you'll first see the name of the project rather than the package sources. image

  2. Switch tabs (possibly other actions will work) then the correct tooltip will be shown.

Expected:

Regardless if PMUI is already open, or it's opened for the first time, the tooltip should show the options currently in the packages source list:

image

donnie-msft commented 4 years ago

Consider splitting up this dropdown since it often causes confusion.

My preferred suggestion so far: (rough prototype) image

Another option...

donnie-msft commented 4 years ago

@anangaur suggests we not make UI control changes to these controls, unless they are minor tooltip changes, as bigger UI changes are in the works