8000 The `minimal` progress view doesn't handle window resizing · Issue #15407 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content
The minimal progress view doesn't handle window resizing #15407
@daxian-dbw

Description

@daxian-dbw

The Minimal progress view doesn't handle console window resizing

Steps to reproduce

1..100 | % { Write-Progress -Activity "123456789012345678901234567890123456789012345678901234567890" -Status "S" -PercentComplete $_ -SecondsRemaining $_ ; Sleep 1}

While running this command, try resizing the console window.

Expected behavior

Progress rendering should be able to handle the resizing in a reasonable way.
The Classic view handles resizing a little better, though not perfect.

Actual behavior

It doesn't handle the resizing properly.

image

Environment data

Name                           Value
----                           -----
PSVersion                      7.2.0-preview.5
PSEdition                      Core
GitCommitId                    7.2.0-preview.5
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Metadata

Metadata

Assignees

Labels

Issue-BugIssue has been identified as a bug in the productResolution-By DesignThe reported behavior is by design.WG-Interactive-Consolethe console experience

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0