microsoft / microsoft/winget-cli

Resizing window while installing duplicates loading bar

Open
#4,102 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug
Dominant language
C++
Stars
26.4k
Forks
1.8k
Avg merge
1d 11h
Merged PRs (30d)
15

Description

Brief description of your issue

I was installing paraview using winget and resized the command line window, resulted in having 2 loading bars, see screenshot:
image
Winget version: v1.7.3481-preview
Windows version: Windows 10 pro 22H2 19045.3930

Steps to reproduce
  1. Open command line
  2. Use winget to install any software
  3. While winget is installing the software, resize the command line window
Expected behavior

Window resizes and winget looks the same

Actual behavior

Window resized like normally but winget duplicated the loading bar

Environment
winget --info
Windows Package Manager (Preview) v1.7.3481-preview
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19045.3930
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.22.3481.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a winget installation on Windows 10, then resize the command-line window while the loading bar is active. Done means the window resizes without displaying duplicate loading bars; the issue does not mention a specific source file or test.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.