microsoft / microsoft/winget-cli
Progress doesnt get reset even if I cancel (ctrl+c) while using winget to install any package
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 26.4k
- Forks
- 1.8k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 15
Description
Brief description of your issue
The progress bar didnt get removed/cleared even if I cancel a winget installation.
Same for the taskbar.
Steps to reproduce
- try to install any package.
e.g;winget install Neovim.Neovim - press ctrl+c to stop the installation (halfway of installing)
- Notice the windoes terminal progress bar (and in top left of the tab in windows teminal)
Expected behavior
It should reset those green progress bars too.
Actual behavior
This is stopped halfway even after cancellation where it should just ge reset. (as it was befoee installing anything)
Environment
[winget --info]
Windows Package Manager v1.5.1572
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.19045.3086
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.20.1572.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with winget install Neovim.Neovim, then cancel the installation with Ctrl+C while it is in progress. Inspect the CLI's cancellation and progress-reporting paths; done means the Windows Terminal and taskbar progress indicators return to their pre-installation state after cancellation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100