Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: All the checked sources will be unchecked after pressing Up/Down button in Options dialog #11577

Closed
v-luzh opened this issue Feb 9, 2022 · 4 comments
Assignees
Labels
Found:ManualTests Functionality:VisualStudioUI Priority:1 High priority issues that must be resolved in the current sprint. Product:VS.Client RegressionDuringThisVersion A regression which broke since last RTM, and was fixed before the next RTM. Type:Bug

Comments

@v-luzh
Copy link

v-luzh commented Feb 9, 2022

NuGet Product Used

Visual Studio Package Management UI

Product Version

Release-5.11.x\5.11.1.15

Worked before?

No response

Impact

It bothers me. A fix would be nice

Repro Steps & Context

Details about Problem

VS Version: D16.11\32208.345
NuGet Version: Release-5.11.x\5.11.1.15
OS Version: Windows-11-Enterprise-21H2

Repro steps

  1. Launch VS and create a C# Console Application (.NET Core 6.0) project.
  2. Open PM UI, click the Settings button and go to Options->NuGet Package Manager->Package Sources.
  3. Make sure some sources has already been checked.
  4. Select any package source in the list and press Up/Down button.

Expected

The checked status will not be changed.

Actual

All the checked sources will be unchecked as below screenshot.
image

Notes

1.It doesn’t happen on + and X button.
2.It doesn’t repro on 17.1 Preview6 and 17.2 Preview1.

Verbose Logs

No response

@v-luzh v-luzh added Priority:1 High priority issues that must be resolved in the current sprint. Type:Bug Found:ManualTests Triage:Untriaged labels Feb 9, 2022
@zivkan
Copy link
Member

zivkan commented Feb 10, 2022

@v-luzh I cherry-picked this fix onto the release-5.11.x branch: NuGet/NuGet.Client#4376

Can you please test again? From my own testing the add and remove buttons don't clear the checkboxes, and with the arrows gone, this issue should no longer be a problem.

@donnie-msft donnie-msft added Functionality:VisualStudioUI Product:VS.Client RegressionFromPreviousRTM A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3 labels Feb 10, 2022
@donnie-msft donnie-msft added this to the Sprint 2022-02 milestone Feb 10, 2022
@zivkan zivkan added RegressionDuringThisVersion A regression which broke since last RTM, and was fixed before the next RTM. and removed RegressionFromPreviousRTM A regression from the last RTM. Example: worked in 6.2, doesn't work in 6.3 labels Feb 10, 2022
@v-luzh
Copy link
Author

v-luzh commented Feb 14, 2022

Hi @zivkan This bug reproes on arrows buttons on D16.11\32208.345 + NuGet Client Release-5.11.x\5.11.1.15 as below, doesn't repro on add and remove buttons.
ItemsUnchecked
The arrows buttons are gone on 17.2 Preview1, but they are still existing on 16.11 servicing. So we think it should be fix on 16.11.

@zivkan
Copy link
Member

zivkan commented Feb 14, 2022

@v-luzh The up and down arrows should have been removed in 5.11.1.16. Can you please validate with the latest build from
release-5.11.x?

Commits: https://github.com/NuGet/NuGet.Client/commits/release-5.11.x
The one that removed up/down arrow: NuGet/NuGet.Client@48ae5a5

@v-luzh
Copy link
Author

v-luzh commented Feb 15, 2022

@zivkan Yes, this bug is fixed on D16.11\32208.345 + NuGet Client Release-5.11.x\5.11.1.17 after verifying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Found:ManualTests Functionality:VisualStudioUI Priority:1 High priority issues that must be resolved in the current sprint. Product:VS.Client RegressionDuringThisVersion A regression which broke since last RTM, and was fixed before the next RTM. Type:Bug
Projects
None yet
Development

No branches or pull requests

5 participants